@@ -232,6 +232,10 @@ module.exports = {
232
232
DEFAULT: "rgb(var(--color-foreground) / <alpha-value>)",
233
233
muted: "rgb(var(--color-foreground-muted) / <alpha-value>)",
234
234
},
235
+ muted: {
236
+ DEFAULT: "rgb(var(--color-muted) / <alpha-value>)",
237
+ foreground: "rgb(var(--color-muted-foreground) / <alpha-value>)",
238
+ },
235
239
destructive: {
236
240
DEFAULT: "rgb(var(--color-destructive) / <alpha-value>)",
237
241
foreground: "rgb(var(--color-destructive-foreground) / <alpha-value>)",
@@ -249,27 +253,31 @@ module.exports = {
249
253
foreground: "rgb(var(--color-info-foreground) / <alpha-value>)",
250
254
},
251
255
card: {
252
- DEFAULT: "rgb(var(--card-rgb ) / <alpha-value>)",
253
- foreground: "rgb(var(--card-foreground-rgb ) / <alpha-value>)",
256
+ DEFAULT: "rgb(var(--color-card ) / <alpha-value>)",
257
+ foreground: "rgb(var(--color- card-foreground) / <alpha-value>)",
254
258
},
255
259
popover: {
256
- DEFAULT: "rgb(var(--popover-rgb ) / <alpha-value>)",
257
- foreground: "rgb(var(--popover-foreground-rgb ) / <alpha-value>)",
260
+ DEFAULT: "rgb(var(--color-popover ) / <alpha-value>)",
261
+ foreground: "rgb(var(--color- popover-foreground) / <alpha-value>)",
258
262
},
259
263
accent: {
260
- DEFAULT: "rgb(var(--accent-rgb ) / <alpha-value>)",
261
- foreground: "rgb(var(--accent-foreground-rgb ) / <alpha-value>)",
264
+ DEFAULT: "rgb(var(--color-accent ) / <alpha-value>)",
265
+ foreground: "rgb(var(--color- accent-foreground) / <alpha-value>)",
262
266
},
263
267
border: {
264
- DEFAULT: "rgb(var(--border-rgb ) / <alpha-value>)",
265
- foreground: "rgb(var(--border-foreground-rgb ) / <alpha-value>)",
268
+ DEFAULT: "rgb(var(--border) / <alpha-value>)",
269
+ foreground: "rgb(var(--border-foreground) / <alpha-value>)",
266
270
},
267
271
input: {
268
- DEFAULT: "rgb(var(--input-rgb) / <alpha-value>)",
269
- foreground: "rgb(var(--input-foreground-rgb) / <alpha-value>)",
272
+ DEFAULT: "rgb(var(--input) / <alpha-value>)",
273
+ foreground: "rgb(var(--input-foreground) / <alpha-value>)",
274
+ },
275
+
276
+ toggle: {
277
+ active: "rgb(var(--toggle-active) / <alpha-value>)",
278
+ "active-foreground": "rgb(var(--toggle-active-foreground) / <alpha-value>)",
279
+ border: "rgb(var(--toggle-border) / <alpha-value>)",
270
280
},
271
- ring: "rgb(var(--ring-rgb) / <alpha-value>)",
272
- radius: "var(--radius)",
273
281
},
274
282
},
275
283
},
@@ -287,6 +295,8 @@ module.exports = {
287
295
"--color-warning": "234 179 8",
288
296
"--color-info": "59 130 246",
289
297
"--color-muted": "115 115 115",
298
+ "--toggle-active": "45 45 45",
299
+ "--toggle-border": "229 231 235",
290
300
},
291
301
});
292
302
},
@@ -326,9 +336,11 @@ export const themes = {
326
336
"--color-secondary": "45 45 45",
327
337
"--color-secondary-foreground": "255 255 255",
328
338
"--color-foreground-muted": "115 115 115",
339
+ "--color-muted-foreground": "115 115 115",
340
+ "--color-muted": "240 240 240",
329
341
330
342
// Accent colors
331
- "--color-accent": "45 45 45 ",
343
+ "--color-accent": "145 145 145 ",
332
344
"--color-accent-foreground": "255 255 255",
333
345
334
346
// Status colors
@@ -350,6 +362,11 @@ export const themes = {
350
362
"--input": "229 231 235",
351
363
"--input-foreground": "13 13 13",
352
364
"--ring": "13 13 13",
365
+
366
+ // Toggle specific colors
367
+ "--toggle-active": "45 45 45",
368
+ "--toggle-active-foreground": "255 255 255",
369
+ "--toggle-border": "229 231 235",
353
370
}),
354
371
355
372
dark: vars({
@@ -368,7 +385,9 @@ export const themes = {
368
385
369
386
// Secondary colors
370
387
"--color-secondary": "58 58 58",
371
- "--color-muted": "163 163 163",
388
+ "--color-muted": "75 85 99",
389
+ "--color-foreground-muted": "209 213 219",
390
+ "--color-muted-foreground": "209 213 219",
372
391
373
392
// Accent colors
374
393
"--color-accent": "58 58 58",
@@ -388,11 +407,14 @@ export const themes = {
388
407
"--color-info-foreground": "250 250 250",
389
408
390
409
// Borders, inputs and "rings"
391
- "--border": " 38 38 38",
392
- "--border-foreground": "250 250 250",
410
+ "--border": "75 85 99",
393
411
"--input": " 38 38 38",
394
- "--input-foreground": "250 250 250",
395
412
"--ring": "212 212 212",
413
+
414
+ // Toggle specific colors
415
+ "--toggle-active": "120 120 120",
416
+ "--toggle-active-foreground": "250 250 250",
417
+ "--toggle-border": "100 100 100",
396
418
}),
397
419
} as const;
398
420
` }
0 commit comments