@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
package/dist/tokens.css
CHANGED
|
@@ -54,6 +54,8 @@
|
|
|
54
54
|
--wzl-space-8: 16px;
|
|
55
55
|
--wzl-surface: var(--wzl-gray-800);
|
|
56
56
|
--wzl-surface-raised: var(--wzl-gray-700);
|
|
57
|
+
/* 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. */
|
|
58
|
+
--wzl-surface-popover: var(--wzl-surface-raised);
|
|
57
59
|
--wzl-surface-sunken: var(--wzl-gray-900);
|
|
58
60
|
--wzl-fg: var(--wzl-gray-100);
|
|
59
61
|
/* Secondary text: the text color in effect where it is used, at reduced alpha, so it steps down from whatever text it sits beside on any surface. The alpha is absolute, so muted text nested in muted text stays one step down. Under fg it clears WCAG 4.5:1 on surface, surface-raised, and surface-sunken in both modes. */
|
|
@@ -254,6 +256,7 @@
|
|
|
254
256
|
--wzl-secondary-strong: #f1cb8d;
|
|
255
257
|
--wzl-surface: var(--wzl-gray-800);
|
|
256
258
|
--wzl-surface-raised: var(--wzl-gray-700);
|
|
259
|
+
--wzl-surface-popover: var(--wzl-surface-raised);
|
|
257
260
|
--wzl-surface-sunken: var(--wzl-gray-900);
|
|
258
261
|
--wzl-fg: var(--wzl-gray-100);
|
|
259
262
|
--wzl-fg-muted: rgb(from currentColor r g b / 0.7);
|
|
@@ -304,6 +307,7 @@
|
|
|
304
307
|
--wzl-secondary-strong: #94e3d5;
|
|
305
308
|
--wzl-surface: var(--wzl-gray-50);
|
|
306
309
|
--wzl-surface-raised: var(--wzl-gray-100);
|
|
310
|
+
--wzl-surface-popover: var(--wzl-surface-raised);
|
|
307
311
|
--wzl-surface-sunken: var(--wzl-gray-200);
|
|
308
312
|
--wzl-fg: var(--wzl-gray-900);
|
|
309
313
|
--wzl-fg-muted: rgb(from currentColor r g b / 0.78);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weasel-js/theme",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "Design tokens shared by weasel-ui and weasel-hud — CSS variables + a parallel TS export.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"./package.json": "./package.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@weasel-js/paint": "1.9.
|
|
34
|
+
"@weasel-js/paint": "1.9.2"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": ">=18"
|