@bwui/tokens 0.1.16 → 0.1.17
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/token-manifest.json
CHANGED
package/dist/tokens.css
CHANGED
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
--bw-color-chart-tooltip-bg: oklch(0.205 0.005 265);
|
|
359
359
|
--bw-color-chart-tooltip-text: oklch(0.985 0.001 265);
|
|
360
360
|
--bw-color-chart-tooltip-border: oklch(0.279 0.006 265);
|
|
361
|
-
--bw-color-sparkline-stroke:
|
|
361
|
+
--bw-color-sparkline-stroke: var(--bw-color-chart-1);
|
|
362
362
|
--bw-state-hover-overlay: oklch(0 0 0 / 0.04);
|
|
363
363
|
--bw-state-active-overlay: oklch(0 0 0 / 0.08);
|
|
364
364
|
--bw-state-selected-bg: var(--bw-color-accent-subtle);
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
--bw-color-chart-tooltip-bg: oklch(0.205 0.005 265);
|
|
466
466
|
--bw-color-chart-tooltip-text: oklch(0.985 0.001 265);
|
|
467
467
|
--bw-color-chart-tooltip-border: oklch(0.279 0.006 265);
|
|
468
|
-
--bw-color-sparkline-stroke:
|
|
468
|
+
--bw-color-sparkline-stroke: var(--bw-color-chart-1);
|
|
469
469
|
--bw-state-hover-overlay: oklch(0 0 0 / 0.04);
|
|
470
470
|
--bw-state-active-overlay: oklch(0 0 0 / 0.08);
|
|
471
471
|
--bw-state-selected-bg: var(--bw-color-accent-subtle);
|
|
@@ -554,7 +554,7 @@
|
|
|
554
554
|
--bw-color-chart-tooltip-bg: oklch(0.279 0.006 265);
|
|
555
555
|
--bw-color-chart-tooltip-text: oklch(0.985 0.001 265);
|
|
556
556
|
--bw-color-chart-tooltip-border: oklch(0.371 0.007 265);
|
|
557
|
-
--bw-color-sparkline-stroke:
|
|
557
|
+
--bw-color-sparkline-stroke: var(--bw-color-chart-1);
|
|
558
558
|
--bw-state-hover-overlay: oklch(1 0 0 / 0.06);
|
|
559
559
|
--bw-state-active-overlay: oklch(1 0 0 / 0.12);
|
|
560
560
|
--bw-state-selected-bg: var(--bw-color-accent-subtle);
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
--bw-color-chart-tooltip-bg: oklch(0.279 0.006 265);
|
|
644
644
|
--bw-color-chart-tooltip-text: oklch(0.985 0.001 265);
|
|
645
645
|
--bw-color-chart-tooltip-border: oklch(0.371 0.007 265);
|
|
646
|
-
--bw-color-sparkline-stroke:
|
|
646
|
+
--bw-color-sparkline-stroke: var(--bw-color-chart-1);
|
|
647
647
|
--bw-state-hover-overlay: oklch(1 0 0 / 0.06);
|
|
648
648
|
--bw-state-active-overlay: oklch(1 0 0 / 0.12);
|
|
649
649
|
--bw-state-selected-bg: var(--bw-color-accent-subtle);
|
package/dist/tokens.dtcg.json
CHANGED
|
@@ -2196,7 +2196,15 @@
|
|
|
2196
2196
|
}
|
|
2197
2197
|
},
|
|
2198
2198
|
"danger-on-fg": {
|
|
2199
|
-
"$value": "{primitive.white}"
|
|
2199
|
+
"$value": "{primitive.white}",
|
|
2200
|
+
"$extensions": {
|
|
2201
|
+
"bw": {
|
|
2202
|
+
"loadBearing": true,
|
|
2203
|
+
"authoredPerTheme": true,
|
|
2204
|
+
"contrastPair": "color-danger",
|
|
2205
|
+
"minContrast": 4.5
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2200
2208
|
},
|
|
2201
2209
|
"warning": {
|
|
2202
2210
|
"$value": "{primitive.amber.600}",
|
|
@@ -2602,7 +2610,12 @@
|
|
|
2602
2610
|
},
|
|
2603
2611
|
"sparkline-stroke": {
|
|
2604
2612
|
"$value": "{primitive.chart.light.1}",
|
|
2605
|
-
"$description": "Sparkline stroke for tone=\"neutral\" (VIZ-004). Defaults to --bw-color-chart-1 so a lone sparkline matches the chart palette's first series, and exists as a token precisely so a consumer can override it: VIZ-026 lets any VIZ stroke resolve --bw-color-chart-1..8 to colour-match a chart shown alongside, and a sparkline whose stroke was baked into a CSS rule would leave that consumer nothing to override but the component's own internals, which docs/BRANDING.md forbids in terms. The seam is the point; the default value is incidental. tone=\"trend\" deliberately does NOT read this token: it reads --bw-color-success-fg/--bw-color-danger-fg, which are derived from --bw-color-status-fg-ink and so inherit the status contrast contract that a parallel sparkline-positive/-negative pair would not."
|
|
2613
|
+
"$description": "Sparkline stroke for tone=\"neutral\" (VIZ-004). Defaults to --bw-color-chart-1 so a lone sparkline matches the chart palette's first series, and exists as a token precisely so a consumer can override it: VIZ-026 lets any VIZ stroke resolve --bw-color-chart-1..8 to colour-match a chart shown alongside, and a sparkline whose stroke was baked into a CSS rule would leave that consumer nothing to override but the component's own internals, which docs/BRANDING.md forbids in terms. The seam is the point; the default value is incidental. tone=\"trend\" deliberately does NOT read this token: it reads --bw-color-success-fg/--bw-color-danger-fg, which are derived from --bw-color-status-fg-ink and so inherit the status contrast contract that a parallel sparkline-positive/-negative pair would not.",
|
|
2614
|
+
"$extensions": {
|
|
2615
|
+
"bw": {
|
|
2616
|
+
"derived": "var(--bw-color-chart-1)"
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2606
2619
|
}
|
|
2607
2620
|
},
|
|
2608
2621
|
"state": {
|
package/package.json
CHANGED
|
@@ -218,7 +218,15 @@
|
|
|
218
218
|
}
|
|
219
219
|
},
|
|
220
220
|
"danger-on-fg": {
|
|
221
|
-
"$value": "{primitive.zinc.950}"
|
|
221
|
+
"$value": "{primitive.zinc.950}",
|
|
222
|
+
"$extensions": {
|
|
223
|
+
"bw": {
|
|
224
|
+
"loadBearing": true,
|
|
225
|
+
"authoredPerTheme": true,
|
|
226
|
+
"contrastPair": "color-danger",
|
|
227
|
+
"minContrast": 4.5
|
|
228
|
+
}
|
|
229
|
+
}
|
|
222
230
|
},
|
|
223
231
|
"warning": {
|
|
224
232
|
"$value": "{primitive.amber.500}",
|
|
@@ -602,7 +610,12 @@
|
|
|
602
610
|
},
|
|
603
611
|
"sparkline-stroke": {
|
|
604
612
|
"$value": "{primitive.chart.dark.1}",
|
|
605
|
-
"$description": "Sparkline stroke for tone=\"neutral\" (VIZ-004). Defaults to --bw-color-chart-1 so a lone sparkline matches the chart palette's first series, and exists as a token precisely so a consumer can override it: VIZ-026 lets any VIZ stroke resolve --bw-color-chart-1..8 to colour-match a chart shown alongside, and a sparkline whose stroke was baked into a CSS rule would leave that consumer nothing to override but the component's own internals, which docs/BRANDING.md forbids in terms. The seam is the point; the default value is incidental. tone=\"trend\" deliberately does NOT read this token: it reads --bw-color-success-fg/--bw-color-danger-fg, which are derived from --bw-color-status-fg-ink and so inherit the status contrast contract that a parallel sparkline-positive/-negative pair would not."
|
|
613
|
+
"$description": "Sparkline stroke for tone=\"neutral\" (VIZ-004). Defaults to --bw-color-chart-1 so a lone sparkline matches the chart palette's first series, and exists as a token precisely so a consumer can override it: VIZ-026 lets any VIZ stroke resolve --bw-color-chart-1..8 to colour-match a chart shown alongside, and a sparkline whose stroke was baked into a CSS rule would leave that consumer nothing to override but the component's own internals, which docs/BRANDING.md forbids in terms. The seam is the point; the default value is incidental. tone=\"trend\" deliberately does NOT read this token: it reads --bw-color-success-fg/--bw-color-danger-fg, which are derived from --bw-color-status-fg-ink and so inherit the status contrast contract that a parallel sparkline-positive/-negative pair would not.",
|
|
614
|
+
"$extensions": {
|
|
615
|
+
"bw": {
|
|
616
|
+
"derived": "var(--bw-color-chart-1)"
|
|
617
|
+
}
|
|
618
|
+
}
|
|
606
619
|
}
|
|
607
620
|
},
|
|
608
621
|
"state": {
|
|
@@ -224,7 +224,15 @@
|
|
|
224
224
|
}
|
|
225
225
|
},
|
|
226
226
|
"danger-on-fg": {
|
|
227
|
-
"$value": "{primitive.white}"
|
|
227
|
+
"$value": "{primitive.white}",
|
|
228
|
+
"$extensions": {
|
|
229
|
+
"bw": {
|
|
230
|
+
"loadBearing": true,
|
|
231
|
+
"authoredPerTheme": true,
|
|
232
|
+
"contrastPair": "color-danger",
|
|
233
|
+
"minContrast": 4.5
|
|
234
|
+
}
|
|
235
|
+
}
|
|
228
236
|
},
|
|
229
237
|
"warning": {
|
|
230
238
|
"$value": "{primitive.amber.600}",
|
|
@@ -630,7 +638,12 @@
|
|
|
630
638
|
},
|
|
631
639
|
"sparkline-stroke": {
|
|
632
640
|
"$value": "{primitive.chart.light.1}",
|
|
633
|
-
"$description": "Sparkline stroke for tone=\"neutral\" (VIZ-004). Defaults to --bw-color-chart-1 so a lone sparkline matches the chart palette's first series, and exists as a token precisely so a consumer can override it: VIZ-026 lets any VIZ stroke resolve --bw-color-chart-1..8 to colour-match a chart shown alongside, and a sparkline whose stroke was baked into a CSS rule would leave that consumer nothing to override but the component's own internals, which docs/BRANDING.md forbids in terms. The seam is the point; the default value is incidental. tone=\"trend\" deliberately does NOT read this token: it reads --bw-color-success-fg/--bw-color-danger-fg, which are derived from --bw-color-status-fg-ink and so inherit the status contrast contract that a parallel sparkline-positive/-negative pair would not."
|
|
641
|
+
"$description": "Sparkline stroke for tone=\"neutral\" (VIZ-004). Defaults to --bw-color-chart-1 so a lone sparkline matches the chart palette's first series, and exists as a token precisely so a consumer can override it: VIZ-026 lets any VIZ stroke resolve --bw-color-chart-1..8 to colour-match a chart shown alongside, and a sparkline whose stroke was baked into a CSS rule would leave that consumer nothing to override but the component's own internals, which docs/BRANDING.md forbids in terms. The seam is the point; the default value is incidental. tone=\"trend\" deliberately does NOT read this token: it reads --bw-color-success-fg/--bw-color-danger-fg, which are derived from --bw-color-status-fg-ink and so inherit the status contrast contract that a parallel sparkline-positive/-negative pair would not.",
|
|
642
|
+
"$extensions": {
|
|
643
|
+
"bw": {
|
|
644
|
+
"derived": "var(--bw-color-chart-1)"
|
|
645
|
+
}
|
|
646
|
+
}
|
|
634
647
|
}
|
|
635
648
|
},
|
|
636
649
|
"state": {
|