@uncinq/component-tokens 1.6.0 → 1.6.1
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/README.md +2 -2
- package/dist/css/components/badge.css +2 -0
- package/package.json +1 -1
- package/tokens/components/badge.json +10 -0
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ All tokens are declared inside `@layer tokens`, the lowest-priority layer in the
|
|
|
105
105
|
/* your project overrides — same layer, wins by source order */
|
|
106
106
|
@layer tokens {
|
|
107
107
|
:root {
|
|
108
|
-
--btn-color-background: var(--color-
|
|
108
|
+
--btn-color-background: var(--color-light);
|
|
109
109
|
--hero-min-height: 80svh;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -167,7 +167,7 @@ Re-declare any token inside `@layer tokens` after the import. Same layer, later
|
|
|
167
167
|
|
|
168
168
|
@layer tokens {
|
|
169
169
|
:root {
|
|
170
|
-
--btn-color-background: var(--color-
|
|
170
|
+
--btn-color-background: var(--color-light);
|
|
171
171
|
--btn-border-radius: 0;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
--badge-border-radius: var(--radius-pill);
|
|
9
9
|
--badge-border-style: solid;
|
|
10
10
|
--badge-border-width: 0;
|
|
11
|
+
--badge-color-background: var(--color-background-muted);
|
|
12
|
+
--badge-color-background-hover: var(--color-background-muted-hover);
|
|
11
13
|
--badge-color-border: transparent;
|
|
12
14
|
--badge-font-size: var(--font-size-2xs);
|
|
13
15
|
--badge-font-weight: var(--font-weight-control);
|
package/package.json
CHANGED
|
@@ -15,6 +15,16 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"color": {
|
|
18
|
+
"background": {
|
|
19
|
+
"default": {
|
|
20
|
+
"$value": "{color.background.muted}",
|
|
21
|
+
"$type": "color"
|
|
22
|
+
},
|
|
23
|
+
"hover": {
|
|
24
|
+
"$value": "{color.background.muted.hover}",
|
|
25
|
+
"$type": "color"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
18
28
|
"border": {
|
|
19
29
|
"$value": "transparent",
|
|
20
30
|
"$type": "color"
|