@weasel-js/theme 1.9.1 → 1.9.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.
- package/dist/{chunk-VUNWK7T2.js → chunk-CAMHNPQN.js} +32 -2
- package/dist/chunk-CAMHNPQN.js.map +1 -0
- package/dist/{definition-BQHKxPoy.d.ts → definition-DLgEuUUG.d.ts} +7 -1
- package/dist/engine.d.ts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +2 -2
- package/dist/tokens.css +4 -0
- package/package.json +2 -2
- package/dist/chunk-VUNWK7T2.js.map +0 -1
|
@@ -49,6 +49,7 @@ var THEMES = {
|
|
|
49
49
|
"--wzl-space-8": "16px",
|
|
50
50
|
"--wzl-surface": "#181a1e",
|
|
51
51
|
"--wzl-surface-raised": "#25272c",
|
|
52
|
+
"--wzl-surface-popover": "#25272c",
|
|
52
53
|
"--wzl-surface-sunken": "#0e0f12",
|
|
53
54
|
"--wzl-fg": "#e6e7e9",
|
|
54
55
|
"--wzl-fg-muted": "rgb(from currentColor r g b / 0.7)",
|
|
@@ -220,6 +221,7 @@ var THEMES = {
|
|
|
220
221
|
"--wzl-space-8": "16px",
|
|
221
222
|
"--wzl-surface": "#181a1e",
|
|
222
223
|
"--wzl-surface-raised": "#25272c",
|
|
224
|
+
"--wzl-surface-popover": "#25272c",
|
|
223
225
|
"--wzl-surface-sunken": "#0e0f12",
|
|
224
226
|
"--wzl-fg": "#e6e7e9",
|
|
225
227
|
"--wzl-fg-muted": "rgb(from currentColor r g b / 0.7)",
|
|
@@ -391,6 +393,7 @@ var THEMES = {
|
|
|
391
393
|
"--wzl-space-8": "16px",
|
|
392
394
|
"--wzl-surface": "#181a1e",
|
|
393
395
|
"--wzl-surface-raised": "#25272c",
|
|
396
|
+
"--wzl-surface-popover": "#25272c",
|
|
394
397
|
"--wzl-surface-sunken": "#0e0f12",
|
|
395
398
|
"--wzl-fg": "#e6e7e9",
|
|
396
399
|
"--wzl-fg-muted": "rgb(from currentColor r g b / 0.7)",
|
|
@@ -562,6 +565,7 @@ var THEMES = {
|
|
|
562
565
|
"--wzl-space-8": "16px",
|
|
563
566
|
"--wzl-surface": "#f5f5f6",
|
|
564
567
|
"--wzl-surface-raised": "#e6e7e9",
|
|
568
|
+
"--wzl-surface-popover": "#e6e7e9",
|
|
565
569
|
"--wzl-surface-sunken": "#c9cbcf",
|
|
566
570
|
"--wzl-fg": "#0e0f12",
|
|
567
571
|
"--wzl-fg-muted": "rgb(from currentColor r g b / 0.78)",
|
|
@@ -733,6 +737,7 @@ var THEMES = {
|
|
|
733
737
|
"--wzl-space-8": "16px",
|
|
734
738
|
"--wzl-surface": "#f5f5f6",
|
|
735
739
|
"--wzl-surface-raised": "#e6e7e9",
|
|
740
|
+
"--wzl-surface-popover": "#e6e7e9",
|
|
736
741
|
"--wzl-surface-sunken": "#c9cbcf",
|
|
737
742
|
"--wzl-fg": "#0e0f12",
|
|
738
743
|
"--wzl-fg-muted": "rgb(from currentColor r g b / 0.78)",
|
|
@@ -904,6 +909,7 @@ var THEMES = {
|
|
|
904
909
|
"--wzl-space-8": "16px",
|
|
905
910
|
"--wzl-surface": "#f5f5f6",
|
|
906
911
|
"--wzl-surface-raised": "#e6e7e9",
|
|
912
|
+
"--wzl-surface-popover": "#e6e7e9",
|
|
907
913
|
"--wzl-surface-sunken": "#c9cbcf",
|
|
908
914
|
"--wzl-fg": "#0e0f12",
|
|
909
915
|
"--wzl-fg-muted": "rgb(from currentColor r g b / 0.78)",
|
|
@@ -1234,6 +1240,18 @@ var THEME_SOURCES = {
|
|
|
1234
1240
|
"type": "color"
|
|
1235
1241
|
}
|
|
1236
1242
|
},
|
|
1243
|
+
"surface-popover": {
|
|
1244
|
+
"by": "mode",
|
|
1245
|
+
"dark": {
|
|
1246
|
+
"ref": "surface-raised",
|
|
1247
|
+
"type": "color",
|
|
1248
|
+
"description": "Background of a dropdown, menu or other popover list. Follows surface-raised unless a theme needs floating lists to read differently from the panels beneath them."
|
|
1249
|
+
},
|
|
1250
|
+
"light": {
|
|
1251
|
+
"ref": "surface-raised",
|
|
1252
|
+
"type": "color"
|
|
1253
|
+
}
|
|
1254
|
+
},
|
|
1237
1255
|
"surface-sunken": {
|
|
1238
1256
|
"by": "mode",
|
|
1239
1257
|
"dark": {
|
|
@@ -2467,6 +2485,18 @@ var BAKED_THEMES = {
|
|
|
2467
2485
|
"value": "{gray-100}"
|
|
2468
2486
|
}
|
|
2469
2487
|
},
|
|
2488
|
+
"surface-popover": {
|
|
2489
|
+
"by": "mode",
|
|
2490
|
+
"dark": {
|
|
2491
|
+
"type": "color",
|
|
2492
|
+
"value": "{surface-raised}",
|
|
2493
|
+
"description": "Background of a dropdown, menu or other popover list. Follows surface-raised unless a theme needs floating lists to read differently from the panels beneath them."
|
|
2494
|
+
},
|
|
2495
|
+
"light": {
|
|
2496
|
+
"type": "color",
|
|
2497
|
+
"value": "{surface-raised}"
|
|
2498
|
+
}
|
|
2499
|
+
},
|
|
2470
2500
|
"surface-sunken": {
|
|
2471
2501
|
"by": "mode",
|
|
2472
2502
|
"dark": {
|
|
@@ -3419,5 +3449,5 @@ function colorCount(list, ctx = defaultContext()) {
|
|
|
3419
3449
|
}
|
|
3420
3450
|
|
|
3421
3451
|
export { BAKED_THEMES, THEMES, THEME_SOURCES, applyTheme, colorAt, colorCount, colorCssAt, defineTheme, isColorModePreference, rampSteps, themeTones, weaselTheme };
|
|
3422
|
-
//# sourceMappingURL=chunk-
|
|
3423
|
-
//# sourceMappingURL=chunk-
|
|
3452
|
+
//# sourceMappingURL=chunk-CAMHNPQN.js.map
|
|
3453
|
+
//# sourceMappingURL=chunk-CAMHNPQN.js.map
|