@melt-js/libs-vben 0.0.0-stage → 2026.11.8-2

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 (174) hide show
  1. package/LICENSE +10 -0
  2. package/README.md +86 -2
  3. package/package.json +98 -3
  4. package/src/access/access-control.vue +47 -0
  5. package/src/access/accessible.ts +236 -0
  6. package/src/access/directive.ts +42 -0
  7. package/src/access/index.ts +4 -0
  8. package/src/access/use-access.ts +53 -0
  9. package/src/composables/index.ts +14 -0
  10. package/src/composables/use-is-mobile.ts +7 -0
  11. package/src/composables/use-layout-style.ts +51 -0
  12. package/src/composables/use-layout-viewport-height.ts +71 -0
  13. package/src/composables/use-namespace.ts +106 -0
  14. package/src/composables/use-priority-value.ts +96 -0
  15. package/src/composables/use-scroll-lock.ts +151 -0
  16. package/src/composables/use-simple-locale/README.md +3 -0
  17. package/src/composables/use-simple-locale/index.ts +27 -0
  18. package/src/composables/use-simple-locale/messages.ts +31 -0
  19. package/src/composables/use-sortable.ts +32 -0
  20. package/src/constants/core.ts +76 -0
  21. package/src/constants/index.ts +2 -0
  22. package/src/core-icons/create-icon.ts +14 -0
  23. package/src/core-icons/index.ts +11 -0
  24. package/src/core-icons/lucide.ts +95 -0
  25. package/src/core-preferences/config.ts +172 -0
  26. package/src/core-preferences/constants.ts +116 -0
  27. package/src/core-preferences/index.ts +24 -0
  28. package/src/core-preferences/preferences.ts +503 -0
  29. package/src/core-preferences/types.ts +471 -0
  30. package/src/core-preferences/update-css-variables.ts +129 -0
  31. package/src/core-preferences/use-preferences.ts +282 -0
  32. package/src/design/css/global.css +1 -0
  33. package/src/design/css/nprogress.css +61 -0
  34. package/src/design/css/transition.css +238 -0
  35. package/src/design/css/ui.css +101 -0
  36. package/src/design/design-tokens/dark.css +446 -0
  37. package/src/design/design-tokens/default.css +491 -0
  38. package/src/design/design-tokens/index.ts +2 -0
  39. package/src/design/index.ts +6 -0
  40. package/src/design/scss-bem/bem.scss +34 -0
  41. package/src/design/scss-bem/constants.scss +5 -0
  42. package/src/hooks/index.ts +9 -0
  43. package/src/hooks/use-app-config.ts +39 -0
  44. package/src/hooks/use-content-maximize.ts +24 -0
  45. package/src/hooks/use-design-tokens.ts +421 -0
  46. package/src/hooks/use-hover-toggle.ts +163 -0
  47. package/src/hooks/use-pagination.ts +72 -0
  48. package/src/hooks/use-refresh.ts +16 -0
  49. package/src/hooks/use-tabs.ts +143 -0
  50. package/src/hooks/use-watermark.ts +84 -0
  51. package/src/icons/iconify/index.ts +5 -0
  52. package/src/icons/icons/empty-icon.vue +27 -0
  53. package/src/icons/index.ts +3 -0
  54. package/src/icons/svg/icons/antdv-logo.svg +29 -0
  55. package/src/icons/svg/icons/antdv-next-logo.svg +1 -0
  56. package/src/icons/svg/icons/avatar-1.svg +1 -0
  57. package/src/icons/svg/icons/avatar-2.svg +1 -0
  58. package/src/icons/svg/icons/avatar-3.svg +1 -0
  59. package/src/icons/svg/icons/avatar-4.svg +1 -0
  60. package/src/icons/svg/icons/bell.svg +1 -0
  61. package/src/icons/svg/icons/cake.svg +1 -0
  62. package/src/icons/svg/icons/card.svg +1 -0
  63. package/src/icons/svg/icons/dingding.svg +1 -0
  64. package/src/icons/svg/icons/download.svg +1 -0
  65. package/src/icons/svg/icons/github.svg +1 -0
  66. package/src/icons/svg/icons/google.svg +1 -0
  67. package/src/icons/svg/icons/qqchat.svg +1 -0
  68. package/src/icons/svg/icons/tdesign-logo.svg +39 -0
  69. package/src/icons/svg/icons/wechat.svg +1 -0
  70. package/src/icons/svg/index.ts +39 -0
  71. package/src/icons/svg/load.ts +81 -0
  72. package/src/locales/i18n.ts +147 -0
  73. package/src/locales/index.ts +30 -0
  74. package/src/locales/langs/en-US/authentication.json +65 -0
  75. package/src/locales/langs/en-US/common.json +27 -0
  76. package/src/locales/langs/en-US/preferences.json +245 -0
  77. package/src/locales/langs/en-US/profile.json +4 -0
  78. package/src/locales/langs/en-US/ui.json +165 -0
  79. package/src/locales/langs/zh-CN/authentication.json +65 -0
  80. package/src/locales/langs/zh-CN/common.json +27 -0
  81. package/src/locales/langs/zh-CN/preferences.json +245 -0
  82. package/src/locales/langs/zh-CN/profile.json +4 -0
  83. package/src/locales/langs/zh-CN/ui.json +165 -0
  84. package/src/locales/langs/zh-TW/authentication.json +65 -0
  85. package/src/locales/langs/zh-TW/common.json +27 -0
  86. package/src/locales/langs/zh-TW/preferences.json +245 -0
  87. package/src/locales/langs/zh-TW/profile.json +4 -0
  88. package/src/locales/langs/zh-TW/ui.json +165 -0
  89. package/src/locales/typing.ts +27 -0
  90. package/src/preferences/index.ts +42 -0
  91. package/src/request/index.ts +2 -0
  92. package/src/request/request-client/index.ts +3 -0
  93. package/src/request/request-client/modules/downloader.ts +60 -0
  94. package/src/request/request-client/modules/interceptor.ts +40 -0
  95. package/src/request/request-client/modules/sse.ts +134 -0
  96. package/src/request/request-client/modules/uploader.ts +79 -0
  97. package/src/request/request-client/preset-interceptors.ts +178 -0
  98. package/src/request/request-client/request-client.ts +163 -0
  99. package/src/request/request-client/types.ts +90 -0
  100. package/src/shared/cache/README.md +418 -0
  101. package/src/shared/cache/index.ts +5 -0
  102. package/src/shared/cache/indexeddb-driver.ts +137 -0
  103. package/src/shared/cache/local-storage-driver.ts +70 -0
  104. package/src/shared/cache/memory-storage-driver.ts +32 -0
  105. package/src/shared/cache/storage-manager.ts +146 -0
  106. package/src/shared/cache/types.ts +39 -0
  107. package/src/shared/color/color.ts +9 -0
  108. package/src/shared/color/convert.ts +62 -0
  109. package/src/shared/color/generator.ts +45 -0
  110. package/src/shared/color/index.ts +3 -0
  111. package/src/shared/constants/globals.ts +20 -0
  112. package/src/shared/constants/index.ts +2 -0
  113. package/src/shared/constants/vben.ts +30 -0
  114. package/src/shared/global-state.ts +45 -0
  115. package/src/shared/store.ts +1 -0
  116. package/src/shared/utils/cn.ts +10 -0
  117. package/src/shared/utils/date.ts +80 -0
  118. package/src/shared/utils/diff.ts +114 -0
  119. package/src/shared/utils/dom.ts +126 -0
  120. package/src/shared/utils/download.ts +186 -0
  121. package/src/shared/utils/error.ts +19 -0
  122. package/src/shared/utils/index.ts +22 -0
  123. package/src/shared/utils/inference.ts +164 -0
  124. package/src/shared/utils/letter.ts +47 -0
  125. package/src/shared/utils/merge.ts +11 -0
  126. package/src/shared/utils/nprogress.ts +52 -0
  127. package/src/shared/utils/resources.ts +21 -0
  128. package/src/shared/utils/stack.ts +103 -0
  129. package/src/shared/utils/state-handler.ts +61 -0
  130. package/src/shared/utils/to.ts +21 -0
  131. package/src/shared/utils/tree.ts +159 -0
  132. package/src/shared/utils/unique.ts +15 -0
  133. package/src/shared/utils/update-css-variables.ts +47 -0
  134. package/src/shared/utils/util.ts +50 -0
  135. package/src/shared/utils/window.ts +37 -0
  136. package/src/stores/index.ts +3 -0
  137. package/src/stores/modules/access.ts +130 -0
  138. package/src/stores/modules/dict.ts +244 -0
  139. package/src/stores/modules/index.ts +5 -0
  140. package/src/stores/modules/tabbar.ts +797 -0
  141. package/src/stores/modules/timezone.ts +132 -0
  142. package/src/stores/modules/user.ts +42 -0
  143. package/src/stores/setup.ts +79 -0
  144. package/src/stores/shim-pinia.d.ts +11 -0
  145. package/src/styles/antd/index.css +78 -0
  146. package/src/styles/antdv-next/index.css +90 -0
  147. package/src/styles/ele/index.css +44 -0
  148. package/src/styles/global/index.scss +1 -0
  149. package/src/styles/index.ts +1 -0
  150. package/src/styles/naive/index.css +26 -0
  151. package/src/styles/style-exports.d.ts +3 -0
  152. package/src/theme.css +592 -0
  153. package/src/types/global.d.ts +28 -0
  154. package/src/types/index.ts +2 -0
  155. package/src/types/shims.d.ts +1 -0
  156. package/src/types/user.ts +20 -0
  157. package/src/typings/app.d.ts +128 -0
  158. package/src/typings/basic.d.ts +42 -0
  159. package/src/typings/helper.d.ts +147 -0
  160. package/src/typings/index.ts +16 -0
  161. package/src/typings/languages.ts +28 -0
  162. package/src/typings/menu-record.ts +82 -0
  163. package/src/typings/tabs.ts +8 -0
  164. package/src/typings/vue-router.d.ts +169 -0
  165. package/src/utils/helpers/find-menu-by-path.ts +37 -0
  166. package/src/utils/helpers/generate-menus.ts +89 -0
  167. package/src/utils/helpers/generate-routes-backend.ts +108 -0
  168. package/src/utils/helpers/generate-routes-frontend.ts +58 -0
  169. package/src/utils/helpers/get-popup-container.ts +10 -0
  170. package/src/utils/helpers/index.ts +8 -0
  171. package/src/utils/helpers/merge-route-modules.ts +28 -0
  172. package/src/utils/helpers/reset-routes.ts +30 -0
  173. package/src/utils/helpers/unmount-global-loading.ts +31 -0
  174. package/src/utils/index.ts +4 -0
@@ -0,0 +1,446 @@
1
+ .dark,
2
+ .dark[data-theme='custom'],
3
+ .dark[data-theme='default'] {
4
+ /* Default background color of <body />...etc */
5
+ --background: 222.34deg 10.43% 12.27%;
6
+
7
+ /* 主体区域背景色 */
8
+ --background-deep: 220deg 13.06% 9%;
9
+ --foreground: 0 0% 95%;
10
+
11
+ /* Background color for <Card /> */
12
+ --card: 222.34deg 10.43% 12.27%;
13
+
14
+ /* --card: 222.2 84% 4.9%; */
15
+ --card-foreground: 210 40% 98%;
16
+
17
+ /* Background color for popovers such as <DropdownMenu />, <HoverCard />, <Popover /> */
18
+
19
+ /* --popover: 222.82deg 8.43% 12.27%; */
20
+
21
+ /* 弹出层的背景色与主题区域背景色太过接近 */
22
+ --popover: 0 0% 14.2%;
23
+ --popover-foreground: 210 40% 98%;
24
+
25
+ /* Muted backgrounds such as <TabsList />, <Skeleton /> and <Switch /> */
26
+
27
+ /* --muted: 220deg 6.82% 17.25%; */
28
+
29
+ /* --muted-foreground: 215 20.2% 65.1%; */
30
+
31
+ --muted: 240 3.7% 15.9%;
32
+ --muted-foreground: 240 5% 64.9%;
33
+
34
+ /* 主题颜色 */
35
+
36
+ /* --primary: 245 82% 67%; */
37
+ --primary-foreground: 0 0% 98%;
38
+
39
+ /* Used for destructive actions such as <Button variant="destructive"> */
40
+
41
+ --destructive: 359.21 68.47% 56.47%;
42
+ --destructive-foreground: 0 0% 98%;
43
+
44
+ /* Used for success actions such as <message> */
45
+
46
+ --info: 180, 1.54%, 12.75%;
47
+ --info-foreground: 220, 4%, 58%;
48
+
49
+ /* Used for success actions such as <message> */
50
+
51
+ --success: 144 57% 58%;
52
+ --success-foreground: 0 0% 98%;
53
+
54
+ /* Used for warning actions such as <message> */
55
+
56
+ --warning: 42 84% 61%;
57
+ --warning-foreground: 0 0% 98%;
58
+
59
+ /* 颜色次要 */
60
+ --secondary: 240 5% 17%;
61
+ --secondary-foreground: 0 0% 98%;
62
+
63
+ /* Used for accents such as hover effects on <DropdownMenuItem>, <SelectItem>...etc */
64
+ --accent: 216 5% 19%;
65
+ --accent-dark: 240 0% 22%;
66
+ --accent-darker: 240 0% 26%;
67
+ --accent-lighter: 216 5% 12%;
68
+ --accent-hover: 216 5% 24%;
69
+ --accent-foreground: 0 0% 98%;
70
+
71
+ /* Darker color */
72
+ --heavy: 216 5% 24%;
73
+ --heavy-foreground: var(--accent-foreground);
74
+
75
+ /* Default border color */
76
+ --border: 240 3.7% 22%;
77
+
78
+ /* Border color for inputs such as <Input />, <Select />, <Textarea /> */
79
+ --input: 0deg 0% 100% / 10%;
80
+ --input-placeholder: 218deg 11% 65%;
81
+ --input-background: 0deg 0% 100% / 5%;
82
+
83
+ /* Used for focus ring */
84
+ --ring: 222.2 84% 4.9%;
85
+
86
+ /* 基本圆角大小 */
87
+ --radius: 0.5rem;
88
+
89
+ /* ============= Custom ============= */
90
+
91
+ /* 遮罩颜色 */
92
+ --overlay: 0deg 0% 0% / 40%;
93
+ --overlay-content: 0deg 0% 0% / 40%;
94
+
95
+ /* 基本文字大小 */
96
+ --font-size-base: 16px;
97
+
98
+ /* =============component & UI============= */
99
+
100
+ --sidebar: 222.34deg 10.43% 12.27%;
101
+ --sidebar-deep: 220deg 13.06% 9%;
102
+ --menu: var(--sidebar);
103
+
104
+ /* header */
105
+ --header: 222.34deg 10.43% 12.27%;
106
+
107
+ color-scheme: dark;
108
+ }
109
+
110
+ .dark[data-theme='violet'],
111
+ [data-theme='violet'] .dark {
112
+ --background: 224 71.4% 4.1%;
113
+ --background-deep: var(--background);
114
+ --foreground: 210 20% 98%;
115
+ --card: 224 71.4% 4.1%;
116
+ --card-foreground: 210 20% 98%;
117
+ --popover: 224 71.4% 4.1%;
118
+ --popover-foreground: 210 20% 98%;
119
+ --primary-foreground: 210 20% 98%;
120
+ --secondary: 215 27.9% 16.9%;
121
+ --secondary-foreground: 210 20% 98%;
122
+ --muted: 215 27.9% 16.9%;
123
+ --muted-foreground: 217.9 10.6% 64.9%;
124
+ --accent: 215 27.9% 16.9%;
125
+ --accent-foreground: 210 20% 98%;
126
+ --destructive: 359.21 68.47% 56.47%;
127
+ --destructive-foreground: 210 20% 98%;
128
+ --border: 215 27.9% 16.9%;
129
+ --input: 215 27.9% 16.9%;
130
+ --ring: 263.4 70% 50.4%;
131
+ --sidebar: 224 71.4% 4.1%;
132
+ --sidebar-deep: 224 71.4% 4.1%;
133
+ --header: 224 71.4% 4.1%;
134
+ }
135
+
136
+ .dark[data-theme='pink'],
137
+ [data-theme='pink'] .dark {
138
+ --background: 20 14.3% 4.1%;
139
+ --background-deep: var(--background);
140
+ --foreground: 0 0% 95%;
141
+ --card: 0 0% 9%;
142
+ --card-foreground: 0 0% 95%;
143
+ --popover: 0 0% 9%;
144
+ --popover-foreground: 0 0% 95%;
145
+ --primary-foreground: 355.7 100% 97.3%;
146
+ --secondary: 240 3.7% 15.9%;
147
+ --secondary-foreground: 0 0% 98%;
148
+ --muted: 0 0% 15%;
149
+ --muted-foreground: 240 5% 64.9%;
150
+ --accent: 12 6.5% 15.1%;
151
+ --accent-foreground: 0 0% 98%;
152
+ --destructive: 359.21 68.47% 56.47%;
153
+ --destructive-foreground: 0 85.7% 97.3%;
154
+ --border: 240 3.7% 15.9%;
155
+ --input: 240 3.7% 15.9%;
156
+ --ring: 346.8 77.2% 49.8%;
157
+ --sidebar: 20 14.3% 4.1%;
158
+ --sidebar-deep: 20 14.3% 4.1%;
159
+ --header: 20 14.3% 4.1%;
160
+ }
161
+
162
+ .dark[data-theme='rose'],
163
+ [data-theme='rose'] .dark {
164
+ --background: 0 0% 3.9%;
165
+ --background-deep: var(--background);
166
+ --foreground: 0 0% 98%;
167
+ --card: 0 0% 3.9%;
168
+ --card-foreground: 0 0% 98%;
169
+ --popover: 0 0% 3.9%;
170
+ --popover-foreground: 0 0% 98%;
171
+ --primary-foreground: 0 85.7% 97.3%;
172
+ --secondary: 0 0% 14.9%;
173
+ --secondary-foreground: 0 0% 98%;
174
+ --muted: 0 0% 14.9%;
175
+ --muted-foreground: 0 0% 63.9%;
176
+ --accent: 0 0% 14.9%;
177
+ --accent-foreground: 0 0% 98%;
178
+ --destructive: 359.21 68.47% 56.47%;
179
+ --destructive-foreground: 0 0% 98%;
180
+ --border: 0 0% 14.9%;
181
+ --input: 0 0% 14.9%;
182
+ --ring: 0 72.2% 50.6%;
183
+ --sidebar: 0 0% 3.9%;
184
+ --sidebar-deep: 0 0% 3.9%;
185
+ --header: 0 0% 3.9%;
186
+ }
187
+
188
+ .dark[data-theme='sky-blue'],
189
+ [data-theme='sky-blue'] .dark {
190
+ --background: 222.2 84% 4.9%;
191
+ --background-deep: var(--background);
192
+ --foreground: 210 40% 98%;
193
+ --card: 222.2 84% 4.9%;
194
+ --card-foreground: 210 40% 98%;
195
+ --popover: 222.2 84% 4.9%;
196
+ --popover-foreground: 210 40% 98%;
197
+ --primary-foreground: 210 20% 98%;
198
+ --secondary: 217.2 32.6% 17.5%;
199
+ --secondary-foreground: 210 40% 98%;
200
+ --muted: 217.2 32.6% 17.5%;
201
+ --muted-foreground: 215 20.2% 65.1%;
202
+ --accent: 217.2 32.6% 17.5%;
203
+ --accent-foreground: 210 40% 98%;
204
+ --destructive: 359.21 68.47% 56.47%;
205
+ --destructive-foreground: 210 40% 98%;
206
+ --border: 217.2 32.6% 17.5%;
207
+ --input: 217.2 32.6% 17.5%;
208
+ --ring: 224.3 76.3% 48%;
209
+ --sidebar: 222.2 84% 4.9%;
210
+ --sidebar-deep: 222.2 84% 4.9%;
211
+ --header: 222.2 84% 4.9%;
212
+ }
213
+
214
+ .dark[data-theme='deep-blue'],
215
+ [data-theme='deep-blue'] .dark {
216
+ --background: 222.2 84% 4.9%;
217
+ --background-deep: var(--background);
218
+ --foreground: 210 40% 98%;
219
+ --card: 222.2 84% 4.9%;
220
+ --card-foreground: 210 40% 98%;
221
+ --popover: 222.2 84% 4.9%;
222
+ --popover-foreground: 210 40% 98%;
223
+ --primary-foreground: 210 20% 98%;
224
+ --secondary: 217.2 32.6% 17.5%;
225
+ --secondary-foreground: 210 40% 98%;
226
+ --muted: 217.2 32.6% 17.5%;
227
+ --muted-foreground: 215 20.2% 65.1%;
228
+ --accent: 217.2 32.6% 17.5%;
229
+ --accent-foreground: 210 40% 98%;
230
+ --destructive: 359.21 68.47% 56.47%;
231
+ --destructive-foreground: 210 40% 98%;
232
+ --border: 217.2 32.6% 17.5%;
233
+ --input: 217.2 32.6% 17.5%;
234
+ --ring: 224.3 76.3% 48%;
235
+ --sidebar: 222.2 84% 4.9%;
236
+ --sidebar-deep: 222.2 84% 4.9%;
237
+ --header: 222.2 84% 4.9%;
238
+ }
239
+
240
+ .dark[data-theme='green'],
241
+ [data-theme='green'] .dark {
242
+ --background: 20 14.3% 4.1%;
243
+ --background-deep: var(--background);
244
+ --foreground: 0 0% 95%;
245
+ --card: 24 9.8% 6%;
246
+ --card-foreground: 0 0% 95%;
247
+ --popover: 0 0% 9%;
248
+ --popover-foreground: 0 0% 95%;
249
+ --primary-foreground: 210 20% 98%;
250
+ --secondary: 240 3.7% 15.9%;
251
+ --secondary-foreground: 0 0% 98%;
252
+ --muted: 0 0% 15%;
253
+ --muted-foreground: 240 5% 64.9%;
254
+ --accent: 12 6.5% 15.1%;
255
+ --accent-foreground: 0 0% 98%;
256
+ --destructive: 359.21 68.47% 56.47%;
257
+ --destructive-foreground: 0 85.7% 97.3%;
258
+ --border: 240 3.7% 15.9%;
259
+ --input: 240 3.7% 15.9%;
260
+ --ring: 142.4 71.8% 29.2%;
261
+ --sidebar: 20 14.3% 4.1%;
262
+ --sidebar-deep: 20 14.3% 4.1%;
263
+ --header: 20 14.3% 4.1%;
264
+ }
265
+
266
+ .dark[data-theme='deep-green'],
267
+ [data-theme='deep-green'] .dark {
268
+ --background: 20 14.3% 4.1%;
269
+ --background-deep: var(--background);
270
+ --foreground: 0 0% 95%;
271
+ --card: 24 9.8% 6%;
272
+ --card-foreground: 0 0% 95%;
273
+ --popover: 0 0% 9%;
274
+ --popover-foreground: 0 0% 95%;
275
+ --primary-foreground: 210 20% 98%;
276
+ --secondary: 240 3.7% 15.9%;
277
+ --secondary-foreground: 0 0% 98%;
278
+ --muted: 0 0% 15%;
279
+ --muted-foreground: 240 5% 64.9%;
280
+ --accent: 12 6.5% 15.1%;
281
+ --accent-foreground: 0 0% 98%;
282
+ --destructive: 359.21 68.47% 56.47%;
283
+ --destructive-foreground: 0 85.7% 97.3%;
284
+ --border: 240 3.7% 15.9%;
285
+ --input: 240 3.7% 15.9%;
286
+ --ring: 142.4 71.8% 29.2%;
287
+ --sidebar: 20 14.3% 4.1%;
288
+ --sidebar-deep: 20 14.3% 4.1%;
289
+ --header: 20 14.3% 4.1%;
290
+ }
291
+
292
+ .dark[data-theme='orange'],
293
+ [data-theme='orange'] .dark {
294
+ --background: 20 14.3% 4.1%;
295
+ --background-deep: var(--background);
296
+ --foreground: 60 9.1% 97.8%;
297
+ --card: 20 14.3% 4.1%;
298
+ --card-foreground: 60 9.1% 97.8%;
299
+ --popover: 20 14.3% 4.1%;
300
+ --popover-foreground: 60 9.1% 97.8%;
301
+ --primary-foreground: 60 9.1% 97.8%;
302
+ --secondary: 12 6.5% 15.1%;
303
+ --secondary-foreground: 60 9.1% 97.8%;
304
+ --muted: 12 6.5% 15.1%;
305
+ --muted-foreground: 24 5.4% 63.9%;
306
+ --accent: 12 6.5% 15.1%;
307
+ --accent-foreground: 60 9.1% 97.8%;
308
+ --destructive: 0 72.2% 50.6%;
309
+ --destructive-foreground: 60 9.1% 97.8%;
310
+ --border: 12 6.5% 15.1%;
311
+ --input: 12 6.5% 15.1%;
312
+ --ring: 20.5 90.2% 48.2%;
313
+ --sidebar: 20 14.3% 4.1%;
314
+ --sidebar-deep: 20 14.3% 4.1%;
315
+ --header: 20 14.3% 4.1%;
316
+ }
317
+
318
+ .dark[data-theme='yellow'],
319
+ [data-theme='yellow'] .dark {
320
+ --background: 20 14.3% 4.1%;
321
+ --background-deep: var(--background);
322
+ --foreground: 60 9.1% 97.8%;
323
+ --card: 20 14.3% 4.1%;
324
+ --card-foreground: 60 9.1% 97.8%;
325
+ --popover: 20 14.3% 4.1%;
326
+ --popover-foreground: 60 9.1% 97.8%;
327
+ --primary-foreground: 26 83.3% 14.1%;
328
+ --secondary: 12 6.5% 15.1%;
329
+ --secondary-foreground: 60 9.1% 97.8%;
330
+ --muted: 12 6.5% 15.1%;
331
+ --muted-foreground: 24 5.4% 63.9%;
332
+ --accent: 12 6.5% 15.1%;
333
+ --accent-foreground: 60 9.1% 97.8%;
334
+ --destructive: 359.21 68.47% 56.47%;
335
+ --destructive-foreground: 60 9.1% 97.8%;
336
+ --border: 12 6.5% 15.1%;
337
+ --input: 12 6.5% 15.1%;
338
+ --ring: 35.5 91.7% 32.9%;
339
+ --sidebar: 20 14.3% 4.1%;
340
+ --sidebar-deep: 20 14.3% 4.1%;
341
+ --header: 20 14.3% 4.1%;
342
+ }
343
+
344
+ .dark[data-theme='zinc'],
345
+ [data-theme='zinc'] .dark {
346
+ --background: 240 10% 3.9%;
347
+ --background-deep: var(--background);
348
+ --foreground: 0 0% 98%;
349
+ --card: 240 10% 3.9%;
350
+ --card-foreground: 0 0% 98%;
351
+ --popover: 240 10% 3.9%;
352
+ --popover-foreground: 0 0% 98%;
353
+ --primary-foreground: 240 5.9% 10%;
354
+ --secondary: 240 3.7% 15.9%;
355
+ --secondary-foreground: 0 0% 98%;
356
+ --muted: 240 3.7% 15.9%;
357
+ --muted-foreground: 240 5% 64.9%;
358
+ --accent: 240 3.7% 15.9%;
359
+ --accent-foreground: 0 0% 98%;
360
+ --destructive: 359.21 68.47% 56.47%;
361
+ --destructive-foreground: 0 0% 98%;
362
+ --border: 240 3.7% 15.9%;
363
+ --input: 240 3.7% 15.9%;
364
+ --ring: 240 4.9% 83.9%;
365
+ --sidebar: 240 10% 3.9%;
366
+ --sidebar-deep: 240 10% 3.9%;
367
+ --header: 240 10% 3.9%;
368
+ }
369
+
370
+ .dark[data-theme='neutral'],
371
+ [data-theme='neutral'] .dark {
372
+ --background: 0 0% 3.9%;
373
+ --background-deep: var(--background);
374
+ --foreground: 0 0% 98%;
375
+ --card: 0 0% 3.9%;
376
+ --card-foreground: 0 0% 98%;
377
+ --popover: 0 0% 3.9%;
378
+ --popover-foreground: 0 0% 98%;
379
+ --primary-foreground: 0 0% 9%;
380
+ --secondary: 0 0% 14.9%;
381
+ --secondary-foreground: 0 0% 98%;
382
+ --muted: 0 0% 14.9%;
383
+ --muted-foreground: 0 0% 63.9%;
384
+ --accent: 0 0% 14.9%;
385
+ --accent-foreground: 0 0% 98%;
386
+ --destructive: 359.21 68.47% 56.47%;
387
+ --destructive-foreground: 0 0% 98%;
388
+ --border: 0 0% 14.9%;
389
+ --input: 0 0% 14.9%;
390
+ --ring: 0 0% 83.1%;
391
+ --sidebar: 0 0% 3.9%;
392
+ --sidebar-deep: 0 0% 3.9%;
393
+ --header: 0 0% 3.9%;
394
+ }
395
+
396
+ .dark[data-theme='slate'],
397
+ [data-theme='slate'] .dark {
398
+ --background: 222.2 84% 4.9%;
399
+ --background-deep: var(--background);
400
+ --foreground: 210 40% 98%;
401
+ --card: 222.2 84% 4.9%;
402
+ --card-foreground: 210 40% 98%;
403
+ --popover: 222.2 84% 4.9%;
404
+ --popover-foreground: 210 40% 98%;
405
+ --primary-foreground: 222.2 47.4% 11.2%;
406
+ --secondary: 217.2 32.6% 17.5%;
407
+ --secondary-foreground: 210 40% 98%;
408
+ --muted: 217.2 32.6% 17.5%;
409
+ --muted-foreground: 215 20.2% 65.1%;
410
+ --accent: 217.2 32.6% 17.5%;
411
+ --accent-foreground: 210 40% 98%;
412
+ --destructive: 359.21 68.47% 56.47%;
413
+ --destructive-foreground: 210 40% 98%;
414
+ --border: 217.2 32.6% 17.5%;
415
+ --input: 217.2 32.6% 17.5%;
416
+ --ring: 212.7 26.8% 83.9;
417
+ --sidebar: 222.2 84% 4.9%;
418
+ --sidebar-deep: 222.2 84% 4.9%;
419
+ --header: 222.2 84% 4.9%;
420
+ }
421
+
422
+ .dark[data-theme='gray'],
423
+ [data-theme='gray'] .dark {
424
+ --background: 224 71.4% 4.1%;
425
+ --background-deep: var(--background);
426
+ --foreground: 210 20% 98%;
427
+ --card: 224 71.4% 4.1%;
428
+ --card-foreground: 210 20% 98%;
429
+ --popover: 224 71.4% 4.1%;
430
+ --popover-foreground: 210 20% 98%;
431
+ --primary-foreground: 220.9 39.3% 11%;
432
+ --secondary: 215 27.9% 16.9%;
433
+ --secondary-foreground: 210 20% 98%;
434
+ --muted: 215 27.9% 16.9%;
435
+ --muted-foreground: 217.9 10.6% 64.9%;
436
+ --accent: 215 27.9% 16.9%;
437
+ --accent-foreground: 210 20% 98%;
438
+ --destructive: 359.21 68.47% 56.47%;
439
+ --destructive-foreground: 210 20% 98%;
440
+ --border: 215 27.9% 16.9%;
441
+ --input: 215 27.9% 16.9%;
442
+ --ring: 216 12.2% 83.9%;
443
+ --sidebar: 224 71.4% 4.1%;
444
+ --sidebar-deep: 224 71.4% 4.1%;
445
+ --header: 224 71.4% 4.1%;
446
+ }