Skip to content

Commit e71d23d

Browse files
committed
UPDATE utilities plugin styles
1 parent 6ba12c9 commit e71d23d

4 files changed

Lines changed: 638 additions & 115 deletions

File tree

frontend/src/components/Navbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function Navbar() {
2020
head.setAttribute('data-theme', theme);
2121

2222
// Handle Tailwind dark mode
23-
if (theme === 'dark') {
23+
if (theme === 'quantumdark') {
2424
html.classList.add('dark');
2525
} else {
2626
html.classList.remove('dark');
@@ -97,7 +97,7 @@ function Navbar() {
9797
<motion.button
9898
whileHover={{ scale: 1.1 }}
9999
whileTap={{ scale: 0.9 }}
100-
onClick={() => setTheme(theme === 'quantumlight' ? 'dark' : 'quantumlight')}
100+
onClick={() => setTheme(theme === 'quantumlight' ? 'quantumdark' : 'quantumlight')}
101101
className="p-2 rounded-lg hover:bg-base-200 transition-all"
102102
>
103103
<AnimatePresence mode="wait">

frontend/tailwind.config.js

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,59 @@ module.exports = {
5252
{
5353
quantumlight: {
5454
primary: '#6366f1',
55+
'primary-focus': '#4f46e5',
56+
'primary-content': '#ffffff',
5557
secondary: '#22d3ee',
58+
'secondary-focus': '#0891b2',
59+
'secondary-content': '#ffffff',
5660
accent: '#f472b6',
57-
neutral: '#1f2937',
61+
'accent-focus': '#ec4899',
62+
'accent-content': '#ffffff',
63+
neutral: '#374151',
64+
'neutral-focus': '#1f2937',
65+
'neutral-content': '#ffffff',
5866
'base-100': '#ffffff',
67+
'base-200': '#f9fafb',
68+
'base-300': '#f3f4f6',
69+
'base-content': '#1f2937',
70+
info: '#3b82f6',
71+
'info-content': '#ffffff',
72+
success: '#10b981',
73+
'success-content': '#ffffff',
74+
warning: '#f59e0b',
75+
'warning-content': '#ffffff',
76+
error: '#ef4444',
77+
'error-content': '#ffffff',
78+
},
79+
},
80+
{
81+
quantumdark: {
82+
primary: '#818cf8',
83+
'primary-focus': '#6366f1',
84+
'primary-content': '#000000',
85+
secondary: '#34d399',
86+
'secondary-focus': '#10b981',
87+
'secondary-content': '#000000',
88+
accent: '#fbbf24',
89+
'accent-focus': '#f59e0b',
90+
'accent-content': '#000000',
91+
neutral: '#374151',
92+
'neutral-focus': '#1f2937',
93+
'neutral-content': '#d1d5db',
94+
'base-100': '#1f2937',
95+
'base-200': '#374151',
96+
'base-300': '#4b5563',
97+
'base-content': '#f9fafb',
98+
info: '#60a5fa',
99+
'info-content': '#000000',
100+
success: '#34d399',
101+
'success-content': '#000000',
102+
warning: '#fbbf24',
103+
'warning-content': '#000000',
104+
error: '#f87171',
105+
'error-content': '#000000',
59106
},
60107
},
61-
'dark',
62-
'forest',
63-
'synthwave',
64108
],
65109
},
66110
};

0 commit comments

Comments
 (0)