daisyui 4.0.0-alpha.13 → 4.0.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/themes.css CHANGED
@@ -66,7 +66,7 @@
66
66
  --bc: 0.7465 0.0216 264.436
67
67
  }
68
68
  }
69
- [data-theme=light] {
69
+ [data-theme=light], :root:has(input.theme-controller[value=light]:checked) {
70
70
  color-scheme: light;
71
71
  --in: 0.7206 0.191 231.6;
72
72
  --su: 0.7441 0.213 164.75;
@@ -99,7 +99,7 @@
99
99
  --b3: 0.9242 0.0011 197.1376;
100
100
  --bc: 0.2781 0.0296 256.848
101
101
  }
102
- [data-theme=dark] {
102
+ [data-theme=dark], :root:has(input.theme-controller[value=dark]:checked) {
103
103
  color-scheme: dark;
104
104
  --in: 0.7206 0.191 231.6;
105
105
  --su: 0.7441 0.213 164.75;
@@ -132,7 +132,7 @@
132
132
  --b3: 0.2115 0.0117 254.0879;
133
133
  --bc: 0.7465 0.0216 264.436
134
134
  }
135
- [data-theme=cupcake] {
135
+ [data-theme=cupcake], :root:has(input.theme-controller[value=cupcake]:checked) {
136
136
  color-scheme: light;
137
137
  --in: 0.7206 0.191 231.6;
138
138
  --su: 0.7441 0.213 164.75;
@@ -165,7 +165,7 @@
165
165
  --tab-border: 2px;
166
166
  --tab-radius: .5rem
167
167
  }
168
- [data-theme=bumblebee] {
168
+ [data-theme=bumblebee], :root:has(input.theme-controller[value=bumblebee]:checked) {
169
169
  color-scheme: light;
170
170
  --b2: 0.93 0 0;
171
171
  --b3: 0.86 0 0;
@@ -198,7 +198,7 @@
198
198
  --n: 0.2227 0.0462 281.9865;
199
199
  --b1: 1 0 0
200
200
  }
201
- [data-theme=emerald] {
201
+ [data-theme=emerald], :root:has(input.theme-controller[value=emerald]:checked) {
202
202
  color-scheme: light;
203
203
  --b2: 0.93 0 0;
204
204
  --b3: 0.86 0 0;
@@ -231,7 +231,7 @@
231
231
  --animation-input: 0;
232
232
  --btn-focus-scale: 1
233
233
  }
234
- [data-theme=corporate] {
234
+ [data-theme=corporate], :root:has(input.theme-controller[value=corporate]:checked) {
235
235
  color-scheme: light;
236
236
  --b2: 0.93 0 0;
237
237
  --b3: 0.86 0 0;
@@ -264,7 +264,7 @@
264
264
  --animation-input: 0;
265
265
  --btn-focus-scale: 1
266
266
  }
267
- [data-theme=synthwave] {
267
+ [data-theme=synthwave], :root:has(input.theme-controller[value=synthwave]:checked) {
268
268
  color-scheme: dark;
269
269
  --b2: 0.2029 0.0762 287.8356;
270
270
  --b3: 0.1877 0.0705 287.8356;
@@ -297,7 +297,7 @@
297
297
  --er: 0.6143 0.1975 17.8079;
298
298
  --erc: 0.9794 0.0082 301.3583
299
299
  }
300
- [data-theme=retro] {
300
+ [data-theme=retro], :root:has(input.theme-controller[value=retro]:checked) {
301
301
  color-scheme: light;
302
302
  --inc: 0.9092 0.043 262.8809;
303
303
  --suc: 0.1254 0.034 149.2138;
@@ -330,7 +330,7 @@
330
330
  --rounded-btn: 0.4rem;
331
331
  --rounded-badge: 0.4rem
332
332
  }
333
- [data-theme=cyberpunk] {
333
+ [data-theme=cyberpunk], :root:has(input.theme-controller[value=cyberpunk]:checked) {
334
334
  color-scheme: light;
335
335
  --b2: 0.8677 0.1835 104.3181;
336
336
  --b3: 0.8024 0.1697 104.3181;
@@ -364,7 +364,7 @@
364
364
  --rounded-badge: 0;
365
365
  --tab-radius: 0
366
366
  }
367
- [data-theme=valentine] {
367
+ [data-theme=valentine], :root:has(input.theme-controller[value=valentine]:checked) {
368
368
  color-scheme: light;
369
369
  --b2: 0.8395 0.0346 336.9552;
370
370
  --b3: 0.7763 0.032 336.9552;
@@ -397,7 +397,7 @@
397
397
  --er: 0.7307 0.207 27.33;
398
398
  --rounded-btn: 1.9rem
399
399
  }
400
- [data-theme=halloween] {
400
+ [data-theme=halloween], :root:has(input.theme-controller[value=halloween]:checked) {
401
401
  color-scheme: dark;
402
402
  --b2: 0.2304 0 0;
403
403
  --b3: 0.2131 0 0;
@@ -430,7 +430,7 @@
430
430
  --wa: 0.6658 0.1574 58.3183;
431
431
  --er: 0.6572 0.199 27.33
432
432
  }
433
- [data-theme=garden] {
433
+ [data-theme=garden], :root:has(input.theme-controller[value=garden]:checked) {
434
434
  color-scheme: light;
435
435
  --b2: 0.8645 0.002 17.1974;
436
436
  --b3: 0.7994 0.0019 17.1974;
@@ -463,7 +463,7 @@
463
463
  --b1: 0.9295 0.0022 17.1974;
464
464
  --bc: 0.1696 0.0017 17.3207
465
465
  }
466
- [data-theme=forest] {
466
+ [data-theme=forest], :root:has(input.theme-controller[value=forest]:checked) {
467
467
  color-scheme: dark;
468
468
  --b2: 0.1752 0.0077 17.9116;
469
469
  --b3: 0.162 0.0071 17.9116;
@@ -496,7 +496,7 @@
496
496
  --b1: 0.1884 0.0083 17.9116;
497
497
  --rounded-btn: 1.9rem
498
498
  }
499
- [data-theme=aqua] {
499
+ [data-theme=aqua], :root:has(input.theme-controller[value=aqua]:checked) {
500
500
  color-scheme: dark;
501
501
  --b2: 0.4535 0.1186 261.1817;
502
502
  --b3: 0.4193 0.1097 261.1817;
@@ -529,7 +529,7 @@
529
529
  --wa: 0.6658 0.1574 58.3183;
530
530
  --er: 0.7395 0.19 27.33
531
531
  }
532
- [data-theme=lofi] {
532
+ [data-theme=lofi], :root:has(input.theme-controller[value=lofi]:checked) {
533
533
  color-scheme: light;
534
534
  --inc: 0.1591 0.0206 205.9;
535
535
  --suc: 0.1803 0.0306 164.14;
@@ -562,7 +562,7 @@
562
562
  --btn-focus-scale: 1;
563
563
  --tab-radius: 0
564
564
  }
565
- [data-theme=pastel] {
565
+ [data-theme=pastel], :root:has(input.theme-controller[value=pastel]:checked) {
566
566
  color-scheme: light;
567
567
  --in: 0.7206 0.191 231.6;
568
568
  --su: 0.7441 0.213 164.75;
@@ -595,7 +595,7 @@
595
595
  --b3: 0.8717 0.0093 258.3382;
596
596
  --rounded-btn: 1.9rem
597
597
  }
598
- [data-theme=fantasy] {
598
+ [data-theme=fantasy], :root:has(input.theme-controller[value=fantasy]:checked) {
599
599
  color-scheme: light;
600
600
  --b2: 0.93 0 0;
601
601
  --b3: 0.86 0 0;
@@ -628,7 +628,7 @@
628
628
  --b1: 1 0 0;
629
629
  --bc: 0.2781 0.0296 256.848
630
630
  }
631
- [data-theme=wireframe] {
631
+ [data-theme=wireframe], :root:has(input.theme-controller[value=wireframe]:checked) {
632
632
  color-scheme: light;
633
633
  --bc: 0.2 0 0;
634
634
  --pc: 0.1565 0 0;
@@ -662,7 +662,7 @@
662
662
  --rounded-badge: 0.2rem;
663
663
  --tab-radius: 0.2rem
664
664
  }
665
- [data-theme=black] {
665
+ [data-theme=black], :root:has(input.theme-controller[value=black]:checked) {
666
666
  color-scheme: dark;
667
667
  --bc: 0.8 0 0;
668
668
  --pc: 0.8638 0.0006 17.3055;
@@ -695,7 +695,7 @@
695
695
  --btn-focus-scale: 1;
696
696
  --tab-radius: 0
697
697
  }
698
- [data-theme=luxury] {
698
+ [data-theme=luxury], :root:has(input.theme-controller[value=luxury]:checked) {
699
699
  color-scheme: dark;
700
700
  --pc: 0.2 0 0;
701
701
  --sc: 0.8552 0.0128 261.0691;
@@ -728,7 +728,7 @@
728
728
  --wa: 0.8613 0.1365 102.8912;
729
729
  --er: 0.7175 0.1764 22.5689
730
730
  }
731
- [data-theme=dracula] {
731
+ [data-theme=dracula], :root:has(input.theme-controller[value=dracula]:checked) {
732
732
  color-scheme: dark;
733
733
  --b2: 0.2681 0.0206 277.5087;
734
734
  --b3: 0.2479 0.019 277.5087;
@@ -761,7 +761,7 @@
761
761
  --wa: 0.9553 0.1342 112.7571;
762
762
  --er: 0.6822 0.2063 24.431
763
763
  }
764
- [data-theme=cmyk] {
764
+ [data-theme=cmyk], :root:has(input.theme-controller[value=cmyk]:checked) {
765
765
  color-scheme: light;
766
766
  --b2: 0.93 0 0;
767
767
  --b3: 0.86 0 0;
@@ -794,7 +794,7 @@
794
794
  --wa: 0.7124 0.1598 52.0234;
795
795
  --er: 0.6201 0.2084 28.7175
796
796
  }
797
- [data-theme=autumn] {
797
+ [data-theme=autumn], :root:has(input.theme-controller[value=autumn]:checked) {
798
798
  color-scheme: light;
799
799
  --b2: 0.8911 0 0;
800
800
  --b3: 0.824 0 0;
@@ -827,7 +827,7 @@
827
827
  --wa: 0.7008 0.1649 56.8443;
828
828
  --er: 0.5307 0.241 24.16
829
829
  }
830
- [data-theme=business] {
830
+ [data-theme=business], :root:has(input.theme-controller[value=business]:checked) {
831
831
  color-scheme: dark;
832
832
  --b2: 0.2265 0 0;
833
833
  --b3: 0.2094 0 0;
@@ -860,7 +860,7 @@
860
860
  --rounded-btn: .125rem;
861
861
  --rounded-badge: .125rem
862
862
  }
863
- [data-theme=acid] {
863
+ [data-theme=acid], :root:has(input.theme-controller[value=acid]:checked) {
864
864
  color-scheme: light;
865
865
  --b2: 0.9161 0 0;
866
866
  --b3: 0.8472 0 0;
@@ -893,7 +893,7 @@
893
893
  --rounded-btn: 1rem;
894
894
  --rounded-badge: 1rem
895
895
  }
896
- [data-theme=lemonade] {
896
+ [data-theme=lemonade], :root:has(input.theme-controller[value=lemonade]:checked) {
897
897
  color-scheme: light;
898
898
  --b2: 0.93 0 0;
899
899
  --b3: 0.86 0 0;
@@ -926,7 +926,7 @@
926
926
  --wa: 0.9169 0.1145 98.5167;
927
927
  --er: 0.8309 0.07 19.7656
928
928
  }
929
- [data-theme=night] {
929
+ [data-theme=night], :root:has(input.theme-controller[value=night]:checked) {
930
930
  color-scheme: dark;
931
931
  --b2: 0.1931 0.037 265.7549;
932
932
  --b3: 0.1786 0.0342 265.7549;
@@ -959,7 +959,7 @@
959
959
  --wa: 0.8324 0.1396 82.95;
960
960
  --er: 0.7179 0.1703 13.1183
961
961
  }
962
- [data-theme=coffee] {
962
+ [data-theme=coffee], :root:has(input.theme-controller[value=coffee]:checked) {
963
963
  color-scheme: dark;
964
964
  --b2: 0.2016 0.0215 329.7086;
965
965
  --b3: 0.1864 0.0198 329.7086;
@@ -992,7 +992,7 @@
992
992
  --wa: 0.8815 0.1408 87.7224;
993
993
  --er: 0.7732 0.1282 31.8719
994
994
  }
995
- [data-theme=winter] {
995
+ [data-theme=winter], :root:has(input.theme-controller[value=winter]:checked) {
996
996
  color-scheme: light;
997
997
  --pc: 0.1206 0.0435 257.5746;
998
998
  --sc: 0.8851 0.0322 282.3394;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "daisyui",
3
- "version": "4.0.0-alpha.13",
3
+ "version": "4.0.0-alpha.14",
4
4
  "description": "daisyUI - Tailwind CSS Components",
5
5
  "author": "Pouya Saadeghi",
6
6
  "license": "MIT",
@@ -169,7 +169,7 @@ module.exports = {
169
169
  config("daisyui.themes").forEach((item) => {
170
170
  if (typeof item === "object" && item !== null) {
171
171
  Object.entries(item).forEach(([customThemeName, customThemevalue]) => {
172
- includedThemesObj["[data-theme=" + customThemeName + "]"] = this.convertColorFormat(
172
+ includedThemesObj[customThemeName] = this.convertColorFormat(
173
173
  customThemevalue,
174
174
  colorSpace
175
175
  )
@@ -185,7 +185,7 @@ module.exports = {
185
185
  Object.keys(theme).forEach((customThemeName) => {
186
186
  themeOrder.push(customThemeName)
187
187
  })
188
- } else if (Object.hasOwn(includedThemesObj, "[data-theme=" + theme + "]")) {
188
+ } else if (Object.hasOwn(includedThemesObj, theme)) {
189
189
  themeOrder.push(theme)
190
190
  }
191
191
  })
@@ -200,7 +200,7 @@ module.exports = {
200
200
  themeOrder.forEach((themeName, index) => {
201
201
  if (index === 0) {
202
202
  // first theme as root
203
- themesToInject[":root"] = includedThemesObj["[data-theme=" + themeName + "]"]
203
+ themesToInject[":root"] = includedThemesObj[themeName]
204
204
  } else if (index === 1) {
205
205
  // auto dark
206
206
  if (config("daisyui.darkTheme")) {
@@ -209,7 +209,7 @@ module.exports = {
209
209
  themeOrder.includes(config("daisyui.darkTheme"))
210
210
  ) {
211
211
  themesToInject["@media (prefers-color-scheme: dark)"] = {
212
- [":root"]: includedThemesObj[`[data-theme=${config("daisyui.darkTheme")}]`],
212
+ [":root"]: includedThemesObj[`${config("daisyui.darkTheme")}`],
213
213
  }
214
214
  }
215
215
  } else if (config("daisyui.darkTheme") === false) {
@@ -217,19 +217,34 @@ module.exports = {
217
217
  } else {
218
218
  if (themeOrder[0] !== "dark" && themeOrder.includes("dark")) {
219
219
  themesToInject["@media (prefers-color-scheme: dark)"] = {
220
- [":root"]: includedThemesObj["[data-theme=dark]"],
220
+ [":root"]: includedThemesObj["dark"],
221
221
  }
222
222
  }
223
223
  }
224
224
  // theme 0 with name
225
- themesToInject["[data-theme=" + themeOrder[0] + "]"] =
226
- includedThemesObj["[data-theme=" + themeOrder[0] + "]"]
225
+ themesToInject[
226
+ "[data-theme=" +
227
+ themeOrder[0] +
228
+ "], :root:has(input.theme-controller[value=" +
229
+ themeOrder[0] +
230
+ "]:checked)"
231
+ ] = includedThemesObj[themeOrder[0]]
227
232
  // theme 1 with name
228
- themesToInject["[data-theme=" + themeOrder[1] + "]"] =
229
- includedThemesObj["[data-theme=" + themeOrder[1] + "]"]
233
+ themesToInject[
234
+ "[data-theme=" +
235
+ themeOrder[1] +
236
+ "], :root:has(input.theme-controller[value=" +
237
+ themeOrder[1] +
238
+ "]:checked)"
239
+ ] = includedThemesObj[themeOrder[1]]
230
240
  } else {
231
- themesToInject["[data-theme=" + themeName + "]"] =
232
- includedThemesObj["[data-theme=" + themeName + "]"]
241
+ themesToInject[
242
+ "[data-theme=" +
243
+ themeName +
244
+ "], :root:has(input.theme-controller[value=" +
245
+ themeName +
246
+ "]:checked)"
247
+ ] = includedThemesObj[themeName]
233
248
  }
234
249
  })
235
250
 
@@ -1,5 +1,5 @@
1
1
  import { CustomTheme, Theme } from "../index"
2
2
 
3
- declare const themes: Record<`[data-theme=${Theme}]`, CustomTheme[string]>
3
+ declare const themes: Record<`${Theme}`, CustomTheme[string]>
4
4
 
5
5
  export default themes
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- "[data-theme=aqua]": {
2
+ aqua: {
3
3
  "color-scheme": "dark",
4
4
  "primary": "#09ecf3",
5
5
  "primary-content": "#005355",
@@ -12,7 +12,7 @@ module.exports = {
12
12
  "warning": "#d97706",
13
13
  "error": "oklch(73.95% 0.19 27.33)",
14
14
  },
15
- "[data-theme=black]": {
15
+ black: {
16
16
  "color-scheme": "dark",
17
17
  "primary": "#343232",
18
18
  "secondary": "#343232",
@@ -33,7 +33,7 @@ module.exports = {
33
33
  "--btn-focus-scale": "1",
34
34
  "--tab-radius": "0",
35
35
  },
36
- "[data-theme=bumblebee]": {
36
+ bumblebee: {
37
37
  "color-scheme": "light",
38
38
  "primary": "#f9d72f",
39
39
  "primary-content": "#181830",
@@ -43,7 +43,7 @@ module.exports = {
43
43
  "neutral": "#181830",
44
44
  "base-100": "#ffffff",
45
45
  },
46
- "[data-theme=cmyk]": {
46
+ cmyk: {
47
47
  "color-scheme": "light",
48
48
  "primary": "#45AEEE",
49
49
  "secondary": "#E8488A",
@@ -55,7 +55,7 @@ module.exports = {
55
55
  "warning": "#EE8133",
56
56
  "error": "#E93F33",
57
57
  },
58
- "[data-theme=corporate]": {
58
+ corporate: {
59
59
  "color-scheme": "light",
60
60
  "primary": "#4b6bfb",
61
61
  "secondary": "#7b92b2",
@@ -71,7 +71,7 @@ module.exports = {
71
71
  "--animation-input": "0",
72
72
  "--btn-focus-scale": "1",
73
73
  },
74
- "[data-theme=cupcake]": {
74
+ cupcake: {
75
75
  "color-scheme": "light",
76
76
  "primary": "#65c3c8",
77
77
  "secondary": "#ef9fbc",
@@ -85,7 +85,7 @@ module.exports = {
85
85
  "--tab-border": "2px",
86
86
  "--tab-radius": ".5rem",
87
87
  },
88
- "[data-theme=cyberpunk]": {
88
+ cyberpunk: {
89
89
  "color-scheme": "light",
90
90
  "fontFamily":
91
91
  "ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",
@@ -100,7 +100,7 @@ module.exports = {
100
100
  "--rounded-badge": "0",
101
101
  "--tab-radius": "0",
102
102
  },
103
- "[data-theme=dark]": {
103
+ dark: {
104
104
  "color-scheme": "dark",
105
105
  "primary": "oklch(49.12% 0.3096 275.75)",
106
106
  "secondary": "oklch(69.71% 0.329 342.55)",
@@ -112,7 +112,7 @@ module.exports = {
112
112
  "base-300": "#15191e",
113
113
  "base-content": "#A6ADBB",
114
114
  },
115
- "[data-theme=dracula]": {
115
+ dracula: {
116
116
  "color-scheme": "dark",
117
117
  "primary": "#ff79c6",
118
118
  "secondary": "#bd93f9",
@@ -125,7 +125,7 @@ module.exports = {
125
125
  "warning": "#f1fa8c",
126
126
  "error": "#ff5555",
127
127
  },
128
- "[data-theme=emerald]": {
128
+ emerald: {
129
129
  "color-scheme": "light",
130
130
  "primary": "#66cc8a",
131
131
  "primary-content": "#223D30",
@@ -141,7 +141,7 @@ module.exports = {
141
141
  "--animation-input": "0",
142
142
  "--btn-focus-scale": "1",
143
143
  },
144
- "[data-theme=fantasy]": {
144
+ fantasy: {
145
145
  "color-scheme": "light",
146
146
  "primary": "#6e0b75",
147
147
  "secondary": "#007ebd",
@@ -150,7 +150,7 @@ module.exports = {
150
150
  "base-100": "#ffffff",
151
151
  "base-content": "#1f2937",
152
152
  },
153
- "[data-theme=forest]": {
153
+ forest: {
154
154
  "color-scheme": "dark",
155
155
  "primary": "#1eb854",
156
156
  "primary-content": "#000000",
@@ -160,7 +160,7 @@ module.exports = {
160
160
  "base-100": "#171212",
161
161
  "--rounded-btn": "1.9rem",
162
162
  },
163
- "[data-theme=garden]": {
163
+ garden: {
164
164
  "color-scheme": "light",
165
165
  "primary": "#F40076",
166
166
  "secondary": "#8E4162",
@@ -170,7 +170,7 @@ module.exports = {
170
170
  "base-100": "#e9e7e7",
171
171
  "base-content": "#100f0f",
172
172
  },
173
- "[data-theme=halloween]": {
173
+ halloween: {
174
174
  "color-scheme": "dark",
175
175
  "primary": "oklch(77.48% 0.204 60.62)",
176
176
  "primary-content": "#131616",
@@ -184,7 +184,7 @@ module.exports = {
184
184
  "warning": "#d97706",
185
185
  "error": "oklch(65.72% 0.199 27.33)",
186
186
  },
187
- "[data-theme=light]": {
187
+ light: {
188
188
  "color-scheme": "light",
189
189
  "primary": "oklch(49.12% 0.3096 275.75)",
190
190
  "secondary": "oklch(69.71% 0.329 342.55)",
@@ -196,7 +196,7 @@ module.exports = {
196
196
  "base-300": "#E5E6E6",
197
197
  "base-content": "#1f2937",
198
198
  },
199
- "[data-theme=lofi]": {
199
+ lofi: {
200
200
  "color-scheme": "light",
201
201
  "primary": "#0D0D0D",
202
202
  "primary-content": "#ffffff",
@@ -222,7 +222,7 @@ module.exports = {
222
222
  "--btn-focus-scale": "1",
223
223
  "--tab-radius": "0",
224
224
  },
225
- "[data-theme=luxury]": {
225
+ luxury: {
226
226
  "color-scheme": "dark",
227
227
  "primary": "#ffffff",
228
228
  "secondary": "#152747",
@@ -238,7 +238,7 @@ module.exports = {
238
238
  "warning": "#e2d562",
239
239
  "error": "#ff6f6f",
240
240
  },
241
- "[data-theme=pastel]": {
241
+ pastel: {
242
242
  "color-scheme": "light",
243
243
  "primary": "#d1c1d7",
244
244
  "secondary": "#f6cbd1",
@@ -249,7 +249,7 @@ module.exports = {
249
249
  "base-300": "#d1d5db",
250
250
  "--rounded-btn": "1.9rem",
251
251
  },
252
- "[data-theme=retro]": {
252
+ retro: {
253
253
  "color-scheme": "light",
254
254
  "primary": "#ef9995",
255
255
  "primary-content": "#282425",
@@ -271,7 +271,7 @@ module.exports = {
271
271
  "--rounded-btn": "0.4rem",
272
272
  "--rounded-badge": "0.4rem",
273
273
  },
274
- "[data-theme=synthwave]": {
274
+ synthwave: {
275
275
  "color-scheme": "dark",
276
276
  "primary": "#e779c1",
277
277
  "secondary": "#58c7f3",
@@ -289,7 +289,7 @@ module.exports = {
289
289
  "error": "#e24056",
290
290
  "error-content": "#f9f7fd",
291
291
  },
292
- "[data-theme=valentine]": {
292
+ valentine: {
293
293
  "color-scheme": "light",
294
294
  "primary": "#e96d7b",
295
295
  "secondary": "#a991f7",
@@ -304,7 +304,7 @@ module.exports = {
304
304
  "error": "oklch(73.07% 0.207 27.33)",
305
305
  "--rounded-btn": "1.9rem",
306
306
  },
307
- "[data-theme=wireframe]": {
307
+ wireframe: {
308
308
  "color-scheme": "light",
309
309
  "fontFamily": "Chalkboard,comic sans ms,'sans-serif'",
310
310
  "primary": "#b8b8b8",
@@ -323,7 +323,7 @@ module.exports = {
323
323
  "--rounded-badge": "0.2rem",
324
324
  "--tab-radius": "0.2rem",
325
325
  },
326
- "[data-theme=autumn]": {
326
+ autumn: {
327
327
  "color-scheme": "light",
328
328
  "primary": "#8C0327",
329
329
  "secondary": "#D85251",
@@ -335,7 +335,7 @@ module.exports = {
335
335
  "warning": "#E97F14",
336
336
  "error": "oklch(53.07% 0.241 24.16)",
337
337
  },
338
- "[data-theme=business]": {
338
+ business: {
339
339
  "color-scheme": "dark",
340
340
  "primary": "#1C4E80",
341
341
  "secondary": "#7C909A",
@@ -350,7 +350,7 @@ module.exports = {
350
350
  "--rounded-btn": ".125rem",
351
351
  "--rounded-badge": ".125rem",
352
352
  },
353
- "[data-theme=acid]": {
353
+ acid: {
354
354
  "color-scheme": "light",
355
355
  "primary": "oklch(71.9% 0.357 330.7595734057481)",
356
356
  "secondary": "oklch(73.37% 0.224 48.25087840015526)",
@@ -365,7 +365,7 @@ module.exports = {
365
365
  "--rounded-btn": "1rem",
366
366
  "--rounded-badge": "1rem",
367
367
  },
368
- "[data-theme=lemonade]": {
368
+ lemonade: {
369
369
  "color-scheme": "light",
370
370
  "primary": "#519903",
371
371
  "secondary": "#E9E92E",
@@ -377,7 +377,7 @@ module.exports = {
377
377
  "warning": "#F7E589",
378
378
  "error": "#F2B6B5",
379
379
  },
380
- "[data-theme=night]": {
380
+ night: {
381
381
  "color-scheme": "dark",
382
382
  "primary": "#38bdf8",
383
383
  "secondary": "#818CF8",
@@ -390,7 +390,7 @@ module.exports = {
390
390
  "warning": "#F4BF50",
391
391
  "error": "#FB7085",
392
392
  },
393
- "[data-theme=coffee]": {
393
+ coffee: {
394
394
  "color-scheme": "dark",
395
395
  "primary": "#DB924B",
396
396
  "secondary": "#263E3F",
@@ -403,7 +403,7 @@ module.exports = {
403
403
  "warning": "#FFD25F",
404
404
  "error": "#FC9581",
405
405
  },
406
- "[data-theme=winter]": {
406
+ winter: {
407
407
  "color-scheme": "light",
408
408
  "primary": "#047AFF",
409
409
  "secondary": "#463AA2",