@weasel-js/theme 1.7.2 → 1.7.3
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/inherited.module.css +12 -0
- package/package.json +4 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* A value in effect but not chosen here, drawn in the secondary accent rather than dimmed, which
|
|
2
|
+
* reads as disabled. The one definition: compose it, or mix it into Less. Every accent name is
|
|
3
|
+
* restated because each resolves where it is declared, so remapping the base alone moves none. */
|
|
4
|
+
.inherited {
|
|
5
|
+
--wzl-accent: var(--wzl-secondary);
|
|
6
|
+
--wzl-accent-base: var(--wzl-secondary-base);
|
|
7
|
+
--wzl-accent-strong: var(--wzl-secondary-strong);
|
|
8
|
+
--wzl-accent-soft: var(--wzl-secondary-soft);
|
|
9
|
+
--wzl-accent-hover: var(--wzl-secondary-strong);
|
|
10
|
+
--wzl-accent-fg: var(--wzl-secondary-fg);
|
|
11
|
+
color: var(--wzl-secondary-fg);
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weasel-js/theme",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
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",
|
|
@@ -27,10 +27,11 @@
|
|
|
27
27
|
"./fonts.css": "./dist/fonts.css",
|
|
28
28
|
"./faces.css": "./dist/faces.css",
|
|
29
29
|
"./numeric.module.css": "./dist/numeric.module.css",
|
|
30
|
+
"./inherited.module.css": "./dist/inherited.module.css",
|
|
30
31
|
"./package.json": "./package.json"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"@weasel-js/paint": "1.7.
|
|
34
|
+
"@weasel-js/paint": "1.7.3"
|
|
34
35
|
},
|
|
35
36
|
"peerDependencies": {
|
|
36
37
|
"react": ">=18"
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
],
|
|
63
64
|
"scripts": {
|
|
64
65
|
"gen:tokens": "tsx scripts/build-tokens.ts",
|
|
65
|
-
"build": "npm run gen:tokens && tsup && cp src/generated/tokens.css dist/tokens.css && cp src/fonts.css src/faces.css src/numeric.module.css dist/"
|
|
66
|
+
"build": "npm run gen:tokens && tsup && cp src/generated/tokens.css dist/tokens.css && cp src/fonts.css src/faces.css src/numeric.module.css src/inherited.module.css dist/"
|
|
66
67
|
},
|
|
67
68
|
"publishConfig": {
|
|
68
69
|
"access": "public",
|