loseta 0.1.0 → 0.4.0

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.
Files changed (256) hide show
  1. package/README.md +19 -6
  2. package/dist/cli.js +2 -0
  3. package/dist/cli.js.map +1 -1
  4. package/dist/commands/add.d.ts +2 -2
  5. package/dist/commands/add.js +47 -62
  6. package/dist/commands/add.js.map +1 -1
  7. package/dist/commands/init.d.ts +2 -3
  8. package/dist/commands/init.js +57 -40
  9. package/dist/commands/init.js.map +1 -1
  10. package/dist/commands/style.d.ts +1 -0
  11. package/dist/commands/style.js +65 -0
  12. package/dist/commands/style.js.map +1 -0
  13. package/dist/config.d.ts +4 -1
  14. package/dist/config.js +9 -2
  15. package/dist/config.js.map +1 -1
  16. package/dist/imports.d.ts +2 -2
  17. package/dist/imports.js +8 -7
  18. package/dist/imports.js.map +1 -1
  19. package/dist/install.d.ts +24 -0
  20. package/dist/install.js +61 -0
  21. package/dist/install.js.map +1 -0
  22. package/dist/registry.d.ts +10 -0
  23. package/dist/registry.js +22 -0
  24. package/dist/registry.js.map +1 -1
  25. package/dist/style-selection.d.ts +32 -0
  26. package/dist/style-selection.js +52 -0
  27. package/dist/style-selection.js.map +1 -0
  28. package/dist/style-switch.d.ts +37 -0
  29. package/dist/style-switch.js +70 -0
  30. package/dist/style-switch.js.map +1 -0
  31. package/dist/types.d.ts +10 -4
  32. package/package.json +3 -2
  33. package/registry/base.css +1 -1
  34. package/registry/components/code-block.css +173 -0
  35. package/registry/examples/code-block.html +73 -0
  36. package/registry/examples/skeleton.html +1 -1
  37. package/registry/registry.json +1313 -105
  38. package/registry/reset.css +332 -80
  39. package/registry/schema.json +19 -4
  40. package/registry/styles/luma/alert-dialog.css +74 -0
  41. package/registry/styles/luma/alert.css +114 -0
  42. package/registry/styles/luma/badge.css +84 -0
  43. package/registry/styles/luma/button-group.css +75 -0
  44. package/registry/styles/luma/button.css +222 -0
  45. package/registry/styles/luma/card.css +100 -0
  46. package/registry/styles/luma/checkbox.css +52 -0
  47. package/registry/styles/luma/code-block.css +186 -0
  48. package/registry/styles/luma/dialog.css +64 -0
  49. package/registry/styles/luma/dropdown-menu.css +104 -0
  50. package/registry/styles/luma/empty.css +54 -0
  51. package/registry/styles/luma/field.css +120 -0
  52. package/registry/styles/luma/input.css +56 -0
  53. package/registry/styles/luma/item.css +133 -0
  54. package/registry/styles/luma/kbd.css +22 -0
  55. package/registry/styles/luma/label.css +70 -0
  56. package/registry/styles/luma/native-select.css +73 -0
  57. package/registry/styles/luma/popover.css +25 -0
  58. package/registry/styles/luma/primitives/dialog-shell.css +19 -0
  59. package/registry/styles/luma/primitives/popover.css +16 -0
  60. package/registry/{themes/nova → styles/luma}/radio.css +13 -20
  61. package/registry/{themes/nova → styles/luma}/skeleton.css +1 -1
  62. package/registry/styles/luma/switch.css +81 -0
  63. package/registry/styles/luma/table.css +87 -0
  64. package/registry/styles/luma/tabs.css +133 -0
  65. package/registry/styles/luma/textarea.css +48 -0
  66. package/registry/styles/luma/tooltip.css +22 -0
  67. package/registry/styles/lyra/alert-dialog.css +74 -0
  68. package/registry/styles/lyra/alert.css +114 -0
  69. package/registry/styles/lyra/badge.css +84 -0
  70. package/registry/styles/lyra/button-group.css +74 -0
  71. package/registry/styles/lyra/button.css +221 -0
  72. package/registry/styles/lyra/card.css +99 -0
  73. package/registry/styles/lyra/checkbox.css +52 -0
  74. package/registry/styles/lyra/code-block.css +186 -0
  75. package/registry/styles/lyra/dialog.css +64 -0
  76. package/registry/styles/lyra/dropdown-menu.css +104 -0
  77. package/registry/styles/lyra/empty.css +54 -0
  78. package/registry/styles/lyra/field.css +120 -0
  79. package/registry/styles/lyra/input.css +57 -0
  80. package/registry/styles/lyra/item.css +133 -0
  81. package/registry/styles/lyra/kbd.css +22 -0
  82. package/registry/styles/lyra/label.css +70 -0
  83. package/registry/styles/lyra/native-select.css +74 -0
  84. package/registry/styles/lyra/popover.css +25 -0
  85. package/registry/styles/lyra/primitives/dialog-shell.css +19 -0
  86. package/registry/styles/lyra/primitives/popover.css +16 -0
  87. package/registry/styles/lyra/radio.css +46 -0
  88. package/registry/styles/lyra/skeleton.css +7 -0
  89. package/registry/{themes/nova → styles/lyra}/switch.css +16 -22
  90. package/registry/styles/lyra/table.css +87 -0
  91. package/registry/styles/lyra/tabs.css +133 -0
  92. package/registry/styles/lyra/textarea.css +49 -0
  93. package/registry/styles/lyra/tooltip.css +22 -0
  94. package/registry/styles/maia/alert-dialog.css +74 -0
  95. package/registry/styles/maia/alert.css +114 -0
  96. package/registry/{themes/nova → styles/maia}/badge.css +9 -11
  97. package/registry/styles/maia/button-group.css +75 -0
  98. package/registry/styles/maia/button.css +222 -0
  99. package/registry/styles/maia/card.css +99 -0
  100. package/registry/styles/maia/checkbox.css +52 -0
  101. package/registry/styles/maia/code-block.css +186 -0
  102. package/registry/styles/maia/dialog.css +64 -0
  103. package/registry/styles/maia/dropdown-menu.css +104 -0
  104. package/registry/styles/maia/empty.css +54 -0
  105. package/registry/styles/maia/field.css +120 -0
  106. package/registry/styles/maia/input.css +56 -0
  107. package/registry/styles/maia/item.css +133 -0
  108. package/registry/{themes/nova → styles/maia}/kbd.css +1 -1
  109. package/registry/styles/maia/label.css +70 -0
  110. package/registry/styles/maia/native-select.css +73 -0
  111. package/registry/styles/maia/popover.css +25 -0
  112. package/registry/styles/maia/primitives/dialog-shell.css +19 -0
  113. package/registry/styles/maia/primitives/popover.css +16 -0
  114. package/registry/styles/maia/radio.css +46 -0
  115. package/registry/styles/maia/skeleton.css +7 -0
  116. package/registry/styles/maia/switch.css +81 -0
  117. package/registry/styles/maia/table.css +87 -0
  118. package/registry/styles/maia/tabs.css +133 -0
  119. package/registry/styles/maia/textarea.css +48 -0
  120. package/registry/styles/maia/tooltip.css +22 -0
  121. package/registry/styles/mira/alert-dialog.css +74 -0
  122. package/registry/styles/mira/alert.css +114 -0
  123. package/registry/styles/mira/badge.css +84 -0
  124. package/registry/styles/mira/button-group.css +75 -0
  125. package/registry/styles/mira/button.css +222 -0
  126. package/registry/styles/mira/card.css +99 -0
  127. package/registry/{themes/nova → styles/mira}/checkbox.css +13 -20
  128. package/registry/styles/mira/code-block.css +186 -0
  129. package/registry/styles/mira/dialog.css +64 -0
  130. package/registry/styles/mira/dropdown-menu.css +105 -0
  131. package/registry/styles/mira/empty.css +54 -0
  132. package/registry/styles/mira/field.css +120 -0
  133. package/registry/styles/mira/input.css +57 -0
  134. package/registry/styles/mira/item.css +133 -0
  135. package/registry/styles/mira/kbd.css +22 -0
  136. package/registry/styles/mira/label.css +70 -0
  137. package/registry/styles/mira/native-select.css +75 -0
  138. package/registry/styles/mira/popover.css +25 -0
  139. package/registry/styles/mira/primitives/dialog-shell.css +19 -0
  140. package/registry/styles/mira/primitives/popover.css +16 -0
  141. package/registry/styles/mira/radio.css +46 -0
  142. package/registry/styles/mira/skeleton.css +7 -0
  143. package/registry/styles/mira/switch.css +81 -0
  144. package/registry/styles/mira/table.css +87 -0
  145. package/registry/styles/mira/tabs.css +133 -0
  146. package/registry/styles/mira/textarea.css +49 -0
  147. package/registry/{themes/nova → styles/mira}/tooltip.css +1 -1
  148. package/registry/{themes → styles}/nova/alert-dialog.css +1 -1
  149. package/registry/{themes → styles}/nova/alert.css +1 -1
  150. package/registry/styles/nova/badge.css +84 -0
  151. package/registry/{themes → styles}/nova/button-group.css +1 -1
  152. package/registry/{themes → styles}/nova/button.css +38 -44
  153. package/registry/{themes → styles}/nova/card.css +1 -1
  154. package/registry/styles/nova/checkbox.css +52 -0
  155. package/registry/styles/nova/code-block.css +186 -0
  156. package/registry/{themes → styles}/nova/dialog.css +1 -1
  157. package/registry/{themes → styles}/nova/dropdown-menu.css +5 -6
  158. package/registry/{themes → styles}/nova/empty.css +1 -1
  159. package/registry/{themes → styles}/nova/field.css +1 -1
  160. package/registry/{themes → styles}/nova/input.css +17 -18
  161. package/registry/{themes → styles}/nova/item.css +1 -1
  162. package/registry/styles/nova/kbd.css +22 -0
  163. package/registry/{themes → styles}/nova/label.css +9 -10
  164. package/registry/{themes → styles}/nova/native-select.css +20 -16
  165. package/registry/{themes → styles}/nova/popover.css +1 -1
  166. package/registry/{themes → styles}/nova/primitives/dialog-shell.css +1 -1
  167. package/registry/{themes → styles}/nova/primitives/popover.css +1 -1
  168. package/registry/styles/nova/radio.css +46 -0
  169. package/registry/styles/nova/skeleton.css +7 -0
  170. package/registry/styles/nova/switch.css +81 -0
  171. package/registry/{themes → styles}/nova/table.css +1 -1
  172. package/registry/{themes → styles}/nova/tabs.css +10 -23
  173. package/registry/{themes → styles}/nova/textarea.css +17 -18
  174. package/registry/styles/nova/tooltip.css +22 -0
  175. package/registry/styles/rhea/alert-dialog.css +74 -0
  176. package/registry/styles/rhea/alert.css +114 -0
  177. package/registry/styles/rhea/badge.css +84 -0
  178. package/registry/styles/rhea/button-group.css +75 -0
  179. package/registry/styles/rhea/button.css +222 -0
  180. package/registry/styles/rhea/card.css +100 -0
  181. package/registry/styles/rhea/checkbox.css +52 -0
  182. package/registry/styles/rhea/code-block.css +186 -0
  183. package/registry/styles/rhea/dialog.css +64 -0
  184. package/registry/styles/rhea/dropdown-menu.css +105 -0
  185. package/registry/styles/rhea/empty.css +54 -0
  186. package/registry/styles/rhea/field.css +120 -0
  187. package/registry/styles/rhea/input.css +56 -0
  188. package/registry/styles/rhea/item.css +133 -0
  189. package/registry/styles/rhea/kbd.css +22 -0
  190. package/registry/styles/rhea/label.css +70 -0
  191. package/registry/styles/rhea/native-select.css +73 -0
  192. package/registry/styles/rhea/popover.css +25 -0
  193. package/registry/styles/rhea/primitives/dialog-shell.css +19 -0
  194. package/registry/styles/rhea/primitives/popover.css +16 -0
  195. package/registry/styles/rhea/radio.css +46 -0
  196. package/registry/styles/rhea/skeleton.css +7 -0
  197. package/registry/styles/rhea/switch.css +81 -0
  198. package/registry/styles/rhea/table.css +87 -0
  199. package/registry/styles/rhea/tabs.css +133 -0
  200. package/registry/styles/rhea/textarea.css +48 -0
  201. package/registry/styles/rhea/tooltip.css +22 -0
  202. package/registry/styles/sera/alert-dialog.css +76 -0
  203. package/registry/styles/sera/alert.css +114 -0
  204. package/registry/styles/sera/badge.css +115 -0
  205. package/registry/styles/sera/button-group.css +75 -0
  206. package/registry/styles/sera/button.css +222 -0
  207. package/registry/styles/sera/card.css +102 -0
  208. package/registry/styles/sera/checkbox.css +52 -0
  209. package/registry/styles/sera/code-block.css +186 -0
  210. package/registry/styles/sera/dialog.css +67 -0
  211. package/registry/styles/sera/dropdown-menu.css +104 -0
  212. package/registry/styles/sera/empty.css +54 -0
  213. package/registry/styles/sera/field.css +120 -0
  214. package/registry/styles/sera/input.css +57 -0
  215. package/registry/styles/sera/item.css +133 -0
  216. package/registry/styles/sera/kbd.css +22 -0
  217. package/registry/styles/sera/label.css +70 -0
  218. package/registry/styles/sera/native-select.css +74 -0
  219. package/registry/styles/sera/popover.css +25 -0
  220. package/registry/styles/sera/primitives/dialog-shell.css +19 -0
  221. package/registry/styles/sera/primitives/popover.css +16 -0
  222. package/registry/styles/sera/radio.css +46 -0
  223. package/registry/styles/sera/skeleton.css +7 -0
  224. package/registry/styles/sera/switch.css +82 -0
  225. package/registry/styles/sera/table.css +88 -0
  226. package/registry/styles/sera/tabs.css +133 -0
  227. package/registry/styles/sera/textarea.css +49 -0
  228. package/registry/styles/sera/tooltip.css +22 -0
  229. package/registry/styles/vega/alert-dialog.css +74 -0
  230. package/registry/styles/vega/alert.css +114 -0
  231. package/registry/styles/vega/badge.css +84 -0
  232. package/registry/styles/vega/button-group.css +75 -0
  233. package/registry/styles/vega/button.css +222 -0
  234. package/registry/styles/vega/card.css +100 -0
  235. package/registry/styles/vega/checkbox.css +53 -0
  236. package/registry/styles/vega/code-block.css +186 -0
  237. package/registry/styles/vega/dialog.css +64 -0
  238. package/registry/styles/vega/dropdown-menu.css +104 -0
  239. package/registry/styles/vega/empty.css +54 -0
  240. package/registry/styles/vega/field.css +120 -0
  241. package/registry/styles/vega/input.css +57 -0
  242. package/registry/styles/vega/item.css +133 -0
  243. package/registry/styles/vega/kbd.css +22 -0
  244. package/registry/styles/vega/label.css +70 -0
  245. package/registry/styles/vega/native-select.css +74 -0
  246. package/registry/styles/vega/popover.css +25 -0
  247. package/registry/styles/vega/primitives/dialog-shell.css +19 -0
  248. package/registry/styles/vega/primitives/popover.css +16 -0
  249. package/registry/styles/vega/radio.css +46 -0
  250. package/registry/styles/vega/skeleton.css +7 -0
  251. package/registry/styles/vega/switch.css +82 -0
  252. package/registry/styles/vega/table.css +87 -0
  253. package/registry/styles/vega/tabs.css +133 -0
  254. package/registry/styles/vega/textarea.css +49 -0
  255. package/registry/styles/vega/tooltip.css +22 -0
  256. package/registry/tokens.css +116 -130
@@ -1,139 +1,125 @@
1
1
  @layer loseta.tokens {
2
- :root {
3
- color-scheme: light;
2
+ :root {
3
+ color-scheme: light dark;
4
4
 
5
- /* Radius */
6
- --radius: 0.625rem;
7
- --radius-sm: calc(var(--radius) * 0.6);
8
- --radius-md: calc(var(--radius) * 0.8);
9
- --radius-lg: var(--radius);
10
- --radius-xl: calc(var(--radius) * 1.4);
11
- --radius-2xl: calc(var(--radius) * 1.8);
12
- --radius-3xl: calc(var(--radius) * 2.2);
13
- --radius-4xl: calc(var(--radius) * 2.6);
14
- --radius-full: calc(infinity * 1px);
5
+ /* Radius */
6
+ --radius: 0.625rem;
7
+ --radius-sm: calc(var(--radius) * 0.6);
8
+ --radius-md: calc(var(--radius) * 0.8);
9
+ --radius-lg: var(--radius);
10
+ --radius-xl: calc(var(--radius) * 1.4);
11
+ --radius-2xl: calc(var(--radius) * 1.8);
12
+ --radius-3xl: calc(var(--radius) * 2.2);
13
+ --radius-4xl: calc(var(--radius) * 2.6);
14
+ --radius-full: calc(infinity * 1px);
15
15
 
16
- /* Shadow */
17
- --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
18
- --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
19
- --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
20
- --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
21
- --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
22
- --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
23
- --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
16
+ /* Shadow */
17
+ --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
18
+ --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
19
+ --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
20
+ --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
21
+ --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
22
+ --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
23
+ --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
24
24
 
25
- /* Text size */
26
- --text-xs: 0.75rem;
27
- --text-xs--line-height: calc(1 / 0.75);
28
- --text-sm: 0.875rem;
29
- --text-sm--line-height: calc(1.25 / 0.875);
30
- --text-base: 1rem;
31
- --text-base--line-height: calc(1.5 / 1);
32
- --text-lg: 1.125rem;
33
- --text-lg--line-height: calc(1.75 / 1.125);
34
- --text-xl: 1.25rem;
35
- --text-xl--line-height: calc(1.75 / 1.25);
36
- --text-2xl: 1.5rem;
37
- --text-2xl--line-height: calc(2 / 1.5);
38
- --text-3xl: 1.875rem;
39
- --text-3xl--line-height: calc(2.25 / 1.875);
40
- --text-4xl: 2.25rem;
41
- --text-4xl--line-height: calc(2.5 / 2.25);
42
- --text-5xl: 3rem;
43
- --text-5xl--line-height: 1;
44
- --text-6xl: 3.75rem;
45
- --text-6xl--line-height: 1;
46
- --text-7xl: 4.5rem;
47
- --text-7xl--line-height: 1;
48
- --text-8xl: 6rem;
49
- --text-8xl--line-height: 1;
50
- --text-9xl: 8rem;
51
- --text-9xl--line-height: 1;
25
+ /* Text size */
26
+ --text-xs: 0.75rem;
27
+ --text-xs--line-height: calc(1 / 0.75);
28
+ --text-sm: 0.875rem;
29
+ --text-sm--line-height: calc(1.25 / 0.875);
30
+ --text-base: 1rem;
31
+ --text-base--line-height: calc(1.5 / 1);
32
+ --text-lg: 1.125rem;
33
+ --text-lg--line-height: calc(1.75 / 1.125);
34
+ --text-xl: 1.25rem;
35
+ --text-xl--line-height: calc(1.75 / 1.25);
36
+ --text-2xl: 1.5rem;
37
+ --text-2xl--line-height: calc(2 / 1.5);
38
+ --text-3xl: 1.875rem;
39
+ --text-3xl--line-height: calc(2.25 / 1.875);
40
+ --text-4xl: 2.25rem;
41
+ --text-4xl--line-height: calc(2.5 / 2.25);
42
+ --text-5xl: 3rem;
43
+ --text-5xl--line-height: 1;
44
+ --text-6xl: 3.75rem;
45
+ --text-6xl--line-height: 1;
46
+ --text-7xl: 4.5rem;
47
+ --text-7xl--line-height: 1;
48
+ --text-8xl: 6rem;
49
+ --text-8xl--line-height: 1;
50
+ --text-9xl: 8rem;
51
+ --text-9xl--line-height: 1;
52
52
 
53
- /* Colors */
54
- --background: oklch(1 0 0);
55
- --foreground: oklch(0.145 0 0);
56
- --card: oklch(1 0 0);
57
- --card-foreground: oklch(0.145 0 0);
58
- --popover: oklch(1 0 0);
59
- --popover-foreground: oklch(0.145 0 0);
60
- --primary: oklch(0.205 0 0);
61
- --primary-foreground: oklch(0.985 0 0);
62
- --secondary: oklch(0.97 0 0);
63
- --secondary-foreground: oklch(0.205 0 0);
64
- --muted: oklch(0.97 0 0);
65
- --muted-foreground: oklch(0.556 0 0);
66
- --accent: oklch(0.97 0 0);
67
- --accent-foreground: oklch(0.205 0 0);
68
- --destructive: oklch(0.53 0.23 27.325);
69
- --border: oklch(0.922 0 0);
70
- --input: oklch(0.922 0 0);
71
- --ring: oklch(0.708 0 0);
72
- --chart-1: #93c5fd;
73
- --chart-2: #3b82f6;
74
- --chart-3: #2563eb;
75
- --chart-4: #1d4ed8;
76
- --chart-5: #1e40af;
77
- --sidebar: oklch(0.985 0 0);
78
- --sidebar-foreground: oklch(0.145 0 0);
79
- --sidebar-primary: oklch(0.205 0 0);
80
- --sidebar-primary-foreground: oklch(0.985 0 0);
81
- --sidebar-accent: oklch(0.97 0 0);
82
- --sidebar-accent-foreground: oklch(0.205 0 0);
83
- --sidebar-border: oklch(0.922 0 0);
84
- --sidebar-ring: oklch(0.708 0 0);
85
- --sidebar-width: 16rem;
86
- --sidebar-mobile-width: 18rem;
87
- --scrollbar-track: transparent;
88
- --scrollbar-thumb: var(--border);
89
- --scrollbar-width: 0.625rem;
90
- --scrollbar-sm-width: 0.375rem;
91
- --scrollbar-radius: 9999px;
53
+ /* Colors */
54
+ --background: light-dark(oklch(1 0 0), oklch(0.145 0 0));
55
+ --foreground: light-dark(oklch(0.145 0 0), oklch(0.985 0 0));
56
+ --card: light-dark(oklch(1 0 0), oklch(0.205 0 0));
57
+ --card-foreground: light-dark(oklch(0.145 0 0), oklch(0.985 0 0));
58
+ --popover: light-dark(oklch(1 0 0), oklch(0.205 0 0));
59
+ --popover-foreground: light-dark(oklch(0.145 0 0), oklch(0.985 0 0));
60
+ --primary: light-dark(oklch(0.205 0 0), oklch(0.922 0 0));
61
+ --primary-foreground: light-dark(oklch(0.985 0 0), oklch(0.205 0 0));
62
+ --secondary: light-dark(oklch(0.97 0 0), oklch(0.269 0 0));
63
+ --secondary-foreground: light-dark(oklch(0.205 0 0), oklch(0.985 0 0));
64
+ --muted: light-dark(oklch(0.97 0 0), oklch(0.269 0 0));
65
+ --muted-foreground: light-dark(oklch(0.556 0 0), oklch(0.78 0 0));
66
+ --accent: light-dark(oklch(0.97 0 0), oklch(0.371 0 0));
67
+ --accent-foreground: light-dark(oklch(0.205 0 0), oklch(0.985 0 0));
68
+ --destructive: light-dark(oklch(0.53 0.23 27.325), oklch(0.704 0.191 22.216));
69
+ --border: light-dark(oklch(0.922 0 0), oklch(1 0 0 / 10%));
70
+ --input: light-dark(oklch(0.922 0 0), oklch(1 0 0 / 15%));
71
+ --ring: light-dark(oklch(0.708 0 0), oklch(0.556 0 0));
72
+ --chart-1: #93c5fd;
73
+ --chart-2: #3b82f6;
74
+ --chart-3: #2563eb;
75
+ --chart-4: #1d4ed8;
76
+ --chart-5: #1e40af;
77
+ --sidebar: light-dark(oklch(0.985 0 0), oklch(0.205 0 0));
78
+ --sidebar-foreground: light-dark(oklch(0.145 0 0), oklch(0.985 0 0));
79
+ --sidebar-primary: light-dark(oklch(0.205 0 0), oklch(0.488 0.243 264.376));
80
+ --sidebar-primary-foreground: oklch(0.985 0 0);
81
+ --sidebar-accent: light-dark(oklch(0.97 0 0), oklch(0.269 0 0));
82
+ --sidebar-accent-foreground: light-dark(oklch(0.205 0 0), oklch(0.985 0 0));
83
+ --sidebar-border: light-dark(oklch(0.922 0 0), oklch(1 0 0 / 10%));
84
+ --sidebar-ring: light-dark(oklch(0.708 0 0), oklch(0.439 0 0));
85
+ --sidebar-width: 16rem;
86
+ --sidebar-mobile-width: 18rem;
87
+ --scrollbar-track: transparent;
88
+ --scrollbar-thumb: var(--border);
89
+ --scrollbar-width: 0.625rem;
90
+ --scrollbar-sm-width: 0.375rem;
91
+ --scrollbar-radius: 9999px;
92
92
 
93
- /* Icons */
94
- --chevron-down-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground */
95
- --chevron-down-icon-50: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0 / 0.5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground + 50% opacity */
96
- --check-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>'); /* --muted-foreground */
97
- }
93
+ /* Icons */
94
+ --chevron-down-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground */
95
+ --chevron-down-icon-50: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0 / 0.5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground + 50% opacity */
96
+ --check-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>'); /* --muted-foreground */
97
+ }
98
98
 
99
- .dark {
100
- /* Colors */
101
- --background: oklch(0.145 0 0);
102
- --foreground: oklch(0.985 0 0);
103
- --card: oklch(0.205 0 0);
104
- --card-foreground: oklch(0.985 0 0);
105
- --popover: oklch(0.205 0 0);
106
- --popover-foreground: oklch(0.985 0 0);
107
- --primary: oklch(0.922 0 0);
108
- --primary-foreground: oklch(0.205 0 0);
109
- --secondary: oklch(0.269 0 0);
110
- --secondary-foreground: oklch(0.985 0 0);
111
- --muted: oklch(0.269 0 0);
112
- --muted-foreground: oklch(0.78 0 0);
113
- --accent: oklch(0.371 0 0);
114
- --accent-foreground: oklch(0.985 0 0);
115
- --destructive: oklch(0.704 0.191 22.216);
116
- --border: oklch(1 0 0 / 10%);
117
- --input: oklch(1 0 0 / 15%);
118
- --ring: oklch(0.556 0 0);
119
- --chart-1: #93c5fd;
120
- --chart-2: #3b82f6;
121
- --chart-3: #2563eb;
122
- --chart-4: #1d4ed8;
123
- --chart-5: #1e40af;
124
- --sidebar: oklch(0.205 0 0);
125
- --sidebar-foreground: oklch(0.985 0 0);
126
- --sidebar-primary: oklch(0.488 0.243 264.376);
127
- --sidebar-primary-foreground: oklch(0.985 0 0);
128
- --sidebar-accent: oklch(0.269 0 0);
129
- --sidebar-accent-foreground: oklch(0.985 0 0);
130
- --sidebar-border: oklch(1 0 0 / 10%);
131
- --sidebar-ring: oklch(0.439 0 0);
99
+ .light {
100
+ color-scheme: only light;
132
101
 
133
- /* Icons */
134
- --chevron-down-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground */
135
- --chevron-down-icon-50: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0 / 0.5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground + 50% opacity */
136
- --check-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>');/* --muted-foreground */
137
- color-scheme: dark;
138
- }
102
+ /* Icons */
103
+ --chevron-down-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground */
104
+ --chevron-down-icon-50: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0 / 0.5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground + 50% opacity */
105
+ --check-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.556 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>'); /* --muted-foreground */
106
+ }
107
+
108
+ .dark {
109
+ color-scheme: only dark;
110
+
111
+ /* Icons */
112
+ --chevron-down-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground */
113
+ --chevron-down-icon-50: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0 / 0.5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground + 50% opacity */
114
+ --check-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>'); /* --muted-foreground */
115
+ }
116
+
117
+ @media (prefers-color-scheme: dark) {
118
+ :root:not(.light) {
119
+ /* Icons */
120
+ --chevron-down-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground */
121
+ --chevron-down-icon-50: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0 / 0.5)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down-icon lucide-chevron-down"><path d="m6 9 6 6 6-6"/></svg>'); /* --muted-foreground + 50% opacity */
122
+ --check-icon: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="oklch(0.708 0 0)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-check-icon lucide-check"><path d="M20 6 9 17l-5-5"/></svg>'); /* --muted-foreground */
123
+ }
124
+ }
139
125
  }