@@ -48,169 +48,169 @@ public static class Tokens
4848 public static class Colors
4949 {
5050 // ===== BACKGROUND LAYERS =====
51- // Dark theme: Near-black to dark greys (inverted from light)
51+ // Dark theme: Pure neutral greys (inverted from light)
5252 // Light theme: Pure white to light greys
5353
5454 /// <summary>Base layer - Deepest background</summary>
5555 public static Color BgBase => IsDarkTheme
56- ? FromHex ( "#0F1419 " ) // Near-black (darker than gray-900 )
56+ ? FromHex ( "#0A0A0A " ) // Near-black (neutral grey )
5757 : FromHex ( "#FFFFFF" ) ; // Pure white
5858
5959 /// <summary>Subtle layer - Secondary containers</summary>
6060 public static Color BgSubtle => IsDarkTheme
61- ? FromHex ( "#1F2937 " ) // Dark grey (gray-800 )
61+ ? FromHex ( "#1A1A1A " ) // Very dark grey (neutral )
6262 : FromHex ( "#F9FAFB" ) ; // Very light grey (gray-50)
6363
6464 /// <summary>Surface layer - Cards, panels, dropdowns (most common)</summary>
6565 public static Color BgSurface => IsDarkTheme
66- ? FromHex ( "#374151 " ) // Medium-dark grey (gray-700)
66+ ? FromHex ( "#2A2A2A " ) // Dark grey (neutral) - inverted from gray-200
6767 : FromHex ( "#E5E7EB" ) ; // Medium light grey (gray-200)
6868
6969 /// <summary>Elevated layer - Hover states, important elements</summary>
7070 public static Color BgElevated => IsDarkTheme
71- ? FromHex ( "#4B5563 " ) // Lighter dark grey (gray-600 )
71+ ? FromHex ( "#3A3A3A " ) // Medium- dark grey (neutral )
7272 : FromHex ( "#E5E7EB" ) ; // Medium light grey (gray-200)
7373
7474 /// <summary>Overlay layer - Modals, dropdowns, tooltips</summary>
7575 public static Color BgOverlay => IsDarkTheme
76- ? FromHex ( "#6B7280 " ) // Medium grey (gray-500)
76+ ? FromHex ( "#4A4A4A " ) // Medium grey (neutral) - inverted from gray-300
7777 : FromHex ( "#D1D5DB" ) ; // Medium grey (gray-300)
7878
7979 /// <summary>Hover state</summary>
8080 public static Color BgHover => IsDarkTheme
81- ? FromHex ( "#4B5563 " ) // gray-600
81+ ? FromHex ( "#3A3A3A " ) // Medium-dark grey (neutral)
8282 : FromHex ( "#E5E7EB" ) ; // gray-200
8383
8484 // ===== SEMANTIC COLORS =====
85- // All use grayscale values, no vibrant colors
85+ // All use neutral grayscale values, no vibrant colors
8686
8787 /// <summary>Primary button color</summary>
8888 public static Color Primary => IsDarkTheme
89- ? FromHex ( "#D1D5DB " ) // Light grey (gray-300 ) - inverted from light's gray-700
90- : FromHex ( "#374151" ) ; // Medium-dark grey (gray-700 )
89+ ? FromHex ( "#C8C8C8 " ) // Light grey (neutral ) - inverted from light's #373737
90+ : FromHex ( "#374151" ) ; // Medium-dark grey (original light theme color )
9191
9292 public static Color PrimaryHover => IsDarkTheme
93- ? FromHex ( "#E5E7EB " ) // Lighter grey (gray-200) - inverted from light's gray-600
94- : FromHex ( "#4B5563" ) ; // gray-600
93+ ? FromHex ( "#E0E0E0 " ) // Lighter grey (neutral)
94+ : FromHex ( "#4B5563" ) ; // Slightly lighter (original)
9595
9696 public static Color PrimaryActive => IsDarkTheme
97- ? FromHex ( "#F3F4F6 " ) // Very light grey (gray-100) - inverted from light's gray-800
98- : FromHex ( "#1F2937" ) ; // gray-800
97+ ? FromHex ( "#F0F0F0 " ) // Very light grey (neutral)
98+ : FromHex ( "#1F2937" ) ; // Very dark grey (original)
9999
100100 /// <summary>Secondary button color</summary>
101101 public static Color Secondary => IsDarkTheme
102- ? FromHex ( "#4B5563 " ) // Medium-dark grey (gray-600 ) - inverted from light's gray-300
103- : FromHex ( "#D1D5DB " ) ; // Medium grey (gray-300 )
102+ ? FromHex ( "#4A4A4A " ) // Medium-dark grey (neutral ) - inverted from light's #D0D0D0
103+ : FromHex ( "#D0D0D0 " ) ; // Medium grey (neutral )
104104
105105 public static Color SecondaryHover => IsDarkTheme
106- ? FromHex ( "#6B7280 " ) // Medium grey (gray-500) - inverted from light's gray-400
107- : FromHex ( "#9CA3AF " ) ; // gray-400
106+ ? FromHex ( "#6A6A6A " ) // Medium grey (neutral)
107+ : FromHex ( "#9A9A9A " ) ; // Darker on hover
108108
109109 public static Color SecondaryActive => IsDarkTheme
110- ? FromHex ( "#9CA3AF " ) // Light-medium grey (gray-400) - inverted from light's gray-500
111- : FromHex ( "#6B7280 " ) ; // gray-500
110+ ? FromHex ( "#9A9A9A " ) // Light-medium grey (neutral)
111+ : FromHex ( "#6A6A6A " ) ; // Much darker
112112
113113 /// <summary>Success state - neutral grey</summary>
114114 public static Color Success => IsDarkTheme
115- ? FromHex ( "#F9FAFB " ) // Very light grey (gray-50 ) - inverted from light's gray-900
116- : FromHex ( "#111827 " ) ; // Near-black (gray-900 )
115+ ? FromHex ( "#F9F9F9 " ) // Very light grey (neutral ) - inverted from #111111
116+ : FromHex ( "#111111 " ) ; // Near-black (neutral )
117117
118118 public static Color SuccessHover => IsDarkTheme
119- ? FromHex ( "#E5E7EB " ) // gray-200 - inverted from light's gray-800
120- : FromHex ( "#1F2937 " ) ; // gray-800
119+ ? FromHex ( "#E5E5E5 " ) // Light grey - inverted
120+ : FromHex ( "#1F1F1F " ) ; // Dark grey
121121
122122 public static Color SuccessActive => IsDarkTheme
123- ? FromHex ( "#D1D5DB " ) // gray-300 - inverted from light's gray-950
124- : FromHex ( "#030712 " ) ; // gray-950
123+ ? FromHex ( "#D0D0D0 " ) // Medium-light grey - inverted
124+ : FromHex ( "#030303 " ) ; // Almost black
125125
126126 /// <summary>Danger state - neutral grey</summary>
127127 public static Color Danger => IsDarkTheme
128- ? FromHex ( "#F9FAFB " ) // Very light grey (gray-50 ) - inverted
129- : FromHex ( "#111827 " ) ; // Near-black (gray-900 )
128+ ? FromHex ( "#F9F9F9 " ) // Very light grey (neutral ) - inverted
129+ : FromHex ( "#111111 " ) ; // Near-black (neutral )
130130
131131 public static Color DangerHover => IsDarkTheme
132- ? FromHex ( "#E5E7EB " ) // gray-200 - inverted
133- : FromHex ( "#1F2937 " ) ; // gray-800
132+ ? FromHex ( "#E5E5E5 " ) // Light grey - inverted
133+ : FromHex ( "#1F1F1F " ) ; // Dark grey
134134
135135 public static Color DangerActive => IsDarkTheme
136- ? FromHex ( "#D1D5DB " ) // gray-300 - inverted
137- : FromHex ( "#030712 " ) ; // gray-950
136+ ? FromHex ( "#D0D0D0 " ) // Medium-light grey - inverted
137+ : FromHex ( "#030303 " ) ; // Almost black
138138
139139 /// <summary>Warning state - neutral grey</summary>
140140 public static Color Warning => IsDarkTheme
141- ? FromHex ( "#F9FAFB " ) // Very light grey (gray-50 ) - inverted
142- : FromHex ( "#111827 " ) ; // Near-black (gray-900 )
141+ ? FromHex ( "#F9F9F9 " ) // Very light grey (neutral ) - inverted
142+ : FromHex ( "#111111 " ) ; // Near-black (neutral )
143143
144144 public static Color WarningHover => IsDarkTheme
145- ? FromHex ( "#E5E7EB " ) // gray-200 - inverted
146- : FromHex ( "#1F2937 " ) ; // gray-800
145+ ? FromHex ( "#E5E5E5 " ) // Light grey - inverted
146+ : FromHex ( "#1F1F1F " ) ; // Dark grey
147147
148148 public static Color WarningActive => IsDarkTheme
149- ? FromHex ( "#D1D5DB " ) // gray-300 - inverted
150- : FromHex ( "#030712 " ) ; // gray-950
149+ ? FromHex ( "#D0D0D0 " ) // Medium-light grey - inverted
150+ : FromHex ( "#030303 " ) ; // Almost black
151151
152152 // ===== TEXT HIERARCHY =====
153- // Dark theme: White to light greys (inverted)
153+ // Dark theme: White to light greys (inverted, neutral )
154154 // Light theme: Black to dark greys
155155
156156 /// <summary>Primary text - Highest contrast</summary>
157157 public static Color TextPrimary => IsDarkTheme
158- ? FromHex ( "#FFFFFF" ) // Pure white - inverted from light's gray-900
159- : FromHex ( "#111827 " ) ; // Near-black (gray-900 )
158+ ? FromHex ( "#FFFFFF" ) // Pure white - inverted from light's #111111
159+ : FromHex ( "#111111 " ) ; // Near-black (neutral )
160160
161161 /// <summary>Secondary text - Body text</summary>
162162 public static Color TextSecondary => IsDarkTheme
163- ? FromHex ( "#D1D5DB " ) // Light grey (gray-300 ) - inverted from light's gray-700
164- : FromHex ( "#374151 " ) ; // Dark grey (gray-700 )
163+ ? FromHex ( "#D0D0D0 " ) // Light grey (neutral ) - inverted from light's #373737
164+ : FromHex ( "#373737 " ) ; // Dark grey (neutral )
165165
166166 /// <summary>Muted text - Helper text</summary>
167167 public static Color TextMuted => IsDarkTheme
168- ? FromHex ( "#9CA3AF " ) // Medium-light grey (gray-400 ) - inverted from light's gray-500
169- : FromHex ( "#6B7280 " ) ; // Medium grey (gray-500 )
168+ ? FromHex ( "#9A9A9A " ) // Medium-light grey (neutral ) - inverted from light's #6A6A6A
169+ : FromHex ( "#6A6A6A " ) ; // Medium grey (neutral )
170170
171171 /// <summary>Main panel/page headers - Maximum impact</summary>
172172 public static Color TextHeader => IsDarkTheme
173173 ? FromHex ( "#FFFFFF" ) // Pure white
174- : FromHex ( "#111827 " ) ; // Near-black (gray-900 )
174+ : FromHex ( "#111111 " ) ; // Near-black (neutral )
175175
176176 /// <summary>Section headers - Visual hierarchy</summary>
177177 public static Color TextSectionHeader => IsDarkTheme
178- ? FromHex ( "#E5E7EB " ) // Light grey (gray-200 ) - inverted, no color
179- : FromHex ( "#111827 " ) ; // Near-black (gray-900 )
178+ ? FromHex ( "#E5E5E5 " ) // Light grey (neutral ) - inverted, no color
179+ : FromHex ( "#111111 " ) ; // Near-black (neutral )
180180
181181 // ===== BORDERS =====
182- // Dark theme: Medium-dark greys (inverted)
182+ // Dark theme: Medium-dark greys (inverted, neutral )
183183 // Light theme: Medium greys
184184
185185 /// <summary>Light edge border</summary>
186186 public static Color BorderLight => IsDarkTheme
187- ? FromHex ( "#4B5563 " ) // gray-600 - inverted from light's gray-300
188- : FromHex ( "#D1D5DB " ) ; // gray-300
187+ ? FromHex ( "#4A4A4A " ) // Medium-dark grey (neutral) - inverted from light's #D0D0D0
188+ : FromHex ( "#D0D0D0 " ) ; // Medium grey (neutral)
189189
190190 /// <summary>Dark edge border</summary>
191191 public static Color BorderDark => IsDarkTheme
192- ? FromHex ( "#4B5563 " ) // gray-600 - inverted
193- : FromHex ( "#D1D5DB " ) ; // gray-300
192+ ? FromHex ( "#4A4A4A " ) // Medium-dark grey (neutral) - inverted
193+ : FromHex ( "#D0D0D0 " ) ; // Medium grey (neutral)
194194
195195 /// <summary>Default border</summary>
196196 public static Color Border => IsDarkTheme
197- ? FromHex ( "#4B5563 " ) // gray-600 - inverted
198- : FromHex ( "#D1D5DB " ) ; // gray-300
197+ ? FromHex ( "#4A4A4A " ) // Medium-dark grey (neutral) - inverted
198+ : FromHex ( "#D0D0D0 " ) ; // Medium grey (neutral)
199199
200200 /// <summary>Focus border</summary>
201201 public static Color BorderFocus => IsDarkTheme
202- ? FromHex ( "#6B7280 " ) // gray-500 - inverted from light's gray-400
203- : FromHex ( "#9CA3AF " ) ; // gray-400
202+ ? FromHex ( "#6A6A6A " ) // Medium grey (neutral) - inverted from light's #9A9A9A
203+ : FromHex ( "#9A9A9A " ) ; // Medium-light grey (neutral)
204204
205205 /// <summary>Hover border</summary>
206206 public static Color BorderHover => IsDarkTheme
207- ? FromHex ( "#6B7280 " ) // gray-500 - inverted
208- : FromHex ( "#D1D5DB " ) ; // gray-300
207+ ? FromHex ( "#6A6A6A " ) // Medium grey (neutral) - inverted
208+ : FromHex ( "#D0D0D0 " ) ; // Medium grey (neutral)
209209
210210 /// <summary>Subtle border for separators</summary>
211211 public static Color BorderSubtle => IsDarkTheme
212- ? FromHex ( "#374151 " ) // gray-700 - inverted
213- : FromHex ( "#D1D5DB " ) ; // gray-300
212+ ? FromHex ( "#2A2A2A " ) // Dark grey (neutral) - inverted
213+ : FromHex ( "#D0D0D0 " ) ; // Medium grey (neutral)
214214
215215 // ===== STATUS COLORS =====
216216 // All use the same neutral grey values
0 commit comments