vunor 0.1.3 → 0.1.5
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/theme.mjs +33 -7
- package/package.json +1 -1
package/dist/theme.mjs
CHANGED
|
@@ -278,24 +278,27 @@ const c8 = defineShortcuts({
|
|
|
278
278
|
"data-[active]:": "c8-filled-active"
|
|
279
279
|
},
|
|
280
280
|
"c8-filled-hover": {
|
|
281
|
-
"not-([disabled]):": "current-bg-scope-color-400",
|
|
282
|
-
"dark:not-([disabled]):": "current-bg-scope-color-600"
|
|
283
|
-
},
|
|
284
|
-
"c8-filled-active": {
|
|
285
281
|
"not-([disabled]):": "current-bg-scope-color-600",
|
|
286
282
|
"dark:not-([disabled]):": "current-bg-scope-color-400"
|
|
287
283
|
},
|
|
284
|
+
"c8-filled-active": {
|
|
285
|
+
"not-([disabled]):": "current-bg-scope-color-700",
|
|
286
|
+
"dark:not-([disabled]):": "current-bg-scope-color-300"
|
|
287
|
+
},
|
|
288
288
|
"c8-flat": {
|
|
289
289
|
"": "current-bg-scope-color-500 rounded-base current-text-black current-icon-black bg-current/0 text-current/80 icon-current/50",
|
|
290
290
|
"dark:": "current-text-white current-icon-white",
|
|
291
291
|
"hover:": "c8-flat-hover",
|
|
292
292
|
"focus-visible:": "c8-flat-hover",
|
|
293
293
|
"data-[highlighted]:": "c8-flat-hover",
|
|
294
|
+
"active:": "c8-flat-active",
|
|
295
|
+
"data-[active]:": "c8-flat-active",
|
|
294
296
|
"data-[selected=true]:": "c8-flat-selected",
|
|
295
297
|
"aria-[selected=true]:": "c8-flat-selected",
|
|
296
298
|
"aria-[pressed=true]:": "c8-flat-selected"
|
|
297
299
|
},
|
|
298
|
-
"c8-flat-hover": { "not-([disabled]):": "bg-current/
|
|
300
|
+
"c8-flat-hover": { "not-([disabled]):": "bg-current/10" },
|
|
301
|
+
"c8-flat-active": { "not-([disabled]):": "bg-current/15" },
|
|
299
302
|
"c8-flat-selected": {
|
|
300
303
|
"": "c8-flat-hover current-text-scope-color-500 text-current current-icon-scope-color-500 icon-current/100",
|
|
301
304
|
"dark:": "current-text-scope-color-400 current-icon-scope-color-400"
|
|
@@ -311,6 +314,29 @@ const c8 = defineShortcuts({
|
|
|
311
314
|
},
|
|
312
315
|
"c8-outlined-hover": "c8-flat-hover",
|
|
313
316
|
"c8-outlined-active": "c8-flat-active",
|
|
317
|
+
"c8-chrome": {
|
|
318
|
+
"": "surface-0 rounded-base border",
|
|
319
|
+
"hover:": "c8-chrome-hover",
|
|
320
|
+
"focus-visible:": "c8-chrome-hover",
|
|
321
|
+
"data-[highlighted]:": "c8-chrome-hover",
|
|
322
|
+
"active:": "c8-chrome-active",
|
|
323
|
+
"data-[active]:": "c8-chrome-active",
|
|
324
|
+
"data-[selected=true]:": "c8-chrome-selected",
|
|
325
|
+
"aria-[selected=true]:": "c8-chrome-selected",
|
|
326
|
+
"aria-[pressed=true]:": "c8-chrome-selected"
|
|
327
|
+
},
|
|
328
|
+
"c8-chrome-hover": {
|
|
329
|
+
"not-([disabled]):": "current-bg-scope-light-1 bg-current",
|
|
330
|
+
"dark:not-([disabled]):": "current-bg-scope-dark-1"
|
|
331
|
+
},
|
|
332
|
+
"c8-chrome-active": {
|
|
333
|
+
"not-([disabled]):": "current-bg-scope-light-2 bg-current",
|
|
334
|
+
"dark:not-([disabled]):": "current-bg-scope-dark-2"
|
|
335
|
+
},
|
|
336
|
+
"c8-chrome-selected": {
|
|
337
|
+
"": "current-bg-scope-light-1 bg-current current-text-scope-color-500 text-current current-icon-scope-color-500 icon-current/100",
|
|
338
|
+
"dark:": "current-bg-scope-dark-1 current-text-scope-color-400 current-icon-scope-color-400"
|
|
339
|
+
},
|
|
314
340
|
"c8-light": {
|
|
315
341
|
"": "current-bg-scope-color-500 rounded-base current-text-scope-color-500 current-icon-scope-color-500 bg-current/10 text-current icon-current/80",
|
|
316
342
|
"dark:": "current-text-scope-color-400 current-icon-scope-color-400",
|
|
@@ -323,8 +349,8 @@ const c8 = defineShortcuts({
|
|
|
323
349
|
"aria-[selected=true]:": "c8-light-hover",
|
|
324
350
|
"aria-[pressed=true]:": "c8-light-hover"
|
|
325
351
|
},
|
|
326
|
-
"c8-light-hover": { "not-([disabled]):": "bg-current/
|
|
327
|
-
"c8-light-active": { "not-([disabled]):": "bg-current/
|
|
352
|
+
"c8-light-hover": { "not-([disabled]):": "bg-current/20" },
|
|
353
|
+
"c8-light-active": { "not-([disabled]):": "bg-current/30" }
|
|
328
354
|
});
|
|
329
355
|
//#endregion
|
|
330
356
|
//#region src/theme/shortcuts/i8.ts
|