@ids-group-ltd/ids-design-system 0.11.1 → 0.11.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/CHANGELOG.md +342 -31
- package/components.md +27 -12
- package/design-system.md +135 -1
- package/docs/agent/INDEX.md +98 -0
- package/docs/agent/domain/ds-w3w.md +10 -0
- package/docs/agent/feedback/ds-alert.md +9 -0
- package/docs/agent/feedback/ds-avatar-group.md +7 -0
- package/docs/agent/feedback/ds-avatar.md +6 -0
- package/docs/agent/feedback/ds-badge.md +7 -0
- package/docs/agent/feedback/ds-banner.md +10 -0
- package/docs/agent/feedback/ds-empty-state.md +7 -0
- package/docs/agent/feedback/ds-progress.md +7 -0
- package/docs/agent/feedback/ds-skeleton.md +6 -0
- package/docs/agent/feedback/ds-spinner.md +6 -0
- package/docs/agent/feedback/ds-stat.md +7 -0
- package/docs/agent/feedback/ds-status-dot.md +6 -0
- package/docs/agent/feedback/ds-tag.md +8 -0
- package/docs/agent/feedback/ds-toast.md +12 -0
- package/docs/agent/forms/ds-autocomplete.md +9 -0
- package/docs/agent/forms/ds-button.md +14 -0
- package/docs/agent/forms/ds-checkbox.md +6 -0
- package/docs/agent/forms/ds-date-picker.md +7 -0
- package/docs/agent/forms/ds-dropzone.md +10 -0
- package/docs/agent/forms/ds-icon-button.md +10 -0
- package/docs/agent/forms/ds-input.md +22 -0
- package/docs/agent/forms/ds-multi-select.md +6 -0
- package/docs/agent/forms/ds-number-stepper.md +8 -0
- package/docs/agent/forms/ds-radio.md +6 -0
- package/docs/agent/forms/ds-search.md +10 -0
- package/docs/agent/forms/ds-select.md +7 -0
- package/docs/agent/forms/ds-switch.md +6 -0
- package/docs/agent/forms/ds-textarea.md +9 -0
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +21 -0
- package/docs/agent/foundations/global-helper-classes.md +18 -0
- package/docs/agent/foundations/grid.md +35 -0
- package/docs/agent/foundations/tokens.md +47 -0
- package/docs/agent/navigation/ds-app-layout.md +10 -0
- package/docs/agent/navigation/ds-auth-layout.md +9 -0
- package/docs/agent/navigation/ds-breadcrumbs.md +7 -0
- package/docs/agent/navigation/ds-divider.md +9 -0
- package/docs/agent/navigation/ds-page-footer.md +7 -0
- package/docs/agent/navigation/ds-page-header.md +8 -0
- package/docs/agent/navigation/ds-pagination.md +7 -0
- package/docs/agent/navigation/ds-sidenav-group.md +8 -0
- package/docs/agent/navigation/ds-sidenav-item.md +9 -0
- package/docs/agent/navigation/ds-sidenav.md +9 -0
- package/docs/agent/navigation/ds-stepper.md +6 -0
- package/docs/agent/navigation/ds-tabs.md +9 -0
- package/docs/agent/navigation/ds-topbar.md +8 -0
- package/docs/agent/overlays/ds-bottom-sheet.md +9 -0
- package/docs/agent/overlays/ds-drawer.md +9 -0
- package/docs/agent/overlays/ds-menu.md +8 -0
- package/docs/agent/overlays/ds-modal-card.md +6 -0
- package/docs/agent/overlays/ds-modal.md +8 -0
- package/docs/agent/overlays/ds-popover.md +6 -0
- package/docs/agent/overlays/ds-tooltip.md +8 -0
- package/docs/agent/platform/breadcrumbs-service.md +30 -0
- package/docs/agent/platform/ds-config.md +60 -0
- package/docs/agent/platform/ds-icon-registry.md +23 -0
- package/docs/agent/platform/toast-service.md +19 -0
- package/docs/agent/surfaces/ds-accordion.md +8 -0
- package/docs/agent/surfaces/ds-card.md +10 -0
- package/docs/agent/tables/ds-table.md +15 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1530 -865
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.11.0.json +0 -45
- package/migrations/0.11.1.json +9 -35
- package/migrations/0.11.2.json +158 -0
- package/migrations/0.11.3.json +152 -0
- package/migrations/0.2.0.json +17 -5
- package/migrations/0.4.0.json +1 -1
- package/migrations/0.7.1.json +3 -3
- package/migrations/0.9.0.json +2 -2
- package/package.json +1 -1
- package/styles/_dropdown-overlay.scss +50 -38
- package/styles/_ds-color.scss +31 -12
- package/styles/_tokens-charts.scss +2 -3
- package/styles/_tokens.scss +159 -322
- package/themes/README.md +35 -4
- package/themes/_base-palette.scss +35 -76
- package/themes/_semantic.scss +5 -2
- package/types/ids-group-ltd-ids-design-system.d.ts +424 -188
package/themes/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Colour is layered in three concerns: a **base palette** (theme-independent primi
|
|
|
6
6
|
|
|
7
7
|
| Layer | Lives in | Examples | Applied at |
|
|
8
8
|
| ----------------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------- |
|
|
9
|
-
| **Base palette** (primitives) | `themes/_base-palette.scss` | `--blue-600`, `--cool-gray-*`, `--brand-gray-*`, `--red-h/s/l`, `--static-
|
|
9
|
+
| **Base palette** (primitives) | `themes/_base-palette.scss` | `--blue-600`, `--cool-gray-*`, `--brand-gray-*`, `--red-h/s/l`, `--static-ink`, fonts, `--shadow-tint-h/s` | `:root` (theme-independent) |
|
|
10
10
|
| **Theme** (role map) | `themes/_semantic.scss` + `themes/<t>/_*.scss` | `--primary`, `--surface-canvas`, `--text-primary`, the `--neutral-*` slot, `--focus-ring` | `:root` (light) / `:root[data-theme='dark']` |
|
|
11
11
|
| **Component / scale** | `styles/_tokens.scss`, `*.component.scss` | `--space-*`, `--radius-*`, `--ds-button-bg-color`, `--duration-fast` | `:root` (theme-independent) |
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Colour is layered in three concerns: a **base palette** (theme-independent primi
|
|
|
14
14
|
|
|
15
15
|
## Files
|
|
16
16
|
|
|
17
|
-
- **`_base-palette.scss`** — theme-independent primitives at `:root`: hue ramps (`--blue/red/green/yellow/sky/orange-*`) + HSL channels, `--cool-gray-*` / `--brand-gray-*` ramps, `--static-
|
|
17
|
+
- **`_base-palette.scss`** — theme-independent primitives at `:root`: hue ramps (`--blue/red/green/yellow/sky/orange-*`) + HSL channels, `--cool-gray-*` / `--brand-gray-*` ramps, `--static-ink` (never flips), `--shadow-tint-h/s`, font families. Shared by every theme.
|
|
18
18
|
- **`_semantic.scss`** — `@mixin roles`: the semantic role map (surfaces, text, icons, borders, primary/secondary/tertiary families, status, status-pills, focus). Structure is identical across themes; values resolve through each theme's own `--neutral-*` ramp. Holds the **light-default** values.
|
|
19
19
|
- **`light/_palette.scss` + `light/_theme.scss`** — `@mixin palette` (the `--neutral-*` slot = cool-gray + `--shadow-tint-l: 7%`) and `@mixin theme` (`palette` + `semantic.roles`). Light is the **default** skin and needs no extra overrides.
|
|
20
20
|
- **`dark/_palette.scss` + `dark/_theme.scss`** — `@mixin palette` (dark neutral ramp + `--shadow-tint-l: 95%`) and `@mixin theme` (`palette` + `semantic.roles` + the value overrides that genuinely differ on dark: tint surfaces, on-tint text, hover/pressed mixed toward white, scrim, focus-halo alpha, chart tokens).
|
|
@@ -54,7 +54,7 @@ export const appConfig: ApplicationConfig = {
|
|
|
54
54
|
|
|
55
55
|
It sets `data-theme` from `prefers-color-scheme` at startup and keeps it in sync as the OS changes; a manual `data-theme="dark"` still wins.
|
|
56
56
|
|
|
57
|
-
On-fill text
|
|
57
|
+
On-fill text is the literal `white`, or the theme-stable `--static-ink` where the fill is light, so neither flips with the neutrals.
|
|
58
58
|
|
|
59
59
|
**Known limitation — `data-neutrals="brand"` + dark:** the brand-gray (hue-derived) neutral switch is a **light-theme feature**. The dark block ships its own neutral ramp and is declared last, so on `data-theme="dark"` the dark neutrals win and the brand-gray tint is ignored. (Benign — renders correct dark, just not brand-tinted neutrals.)
|
|
60
60
|
|
|
@@ -69,14 +69,45 @@ On-fill text uses theme-stable `--static-white` / `--static-ink` so it doesn't f
|
|
|
69
69
|
### Option B — à la carte (advanced, opt-in global side-effects)
|
|
70
70
|
|
|
71
71
|
```scss
|
|
72
|
+
@use 'styles/breakpoints' as bp;
|
|
72
73
|
@use 'themes/base-palette';
|
|
73
74
|
@use 'styles/theme-activation'; // light at :root + dark at [data-theme='dark']
|
|
74
75
|
@use 'styles/tokens';
|
|
76
|
+
@use 'styles/tokens-charts';
|
|
75
77
|
@use 'styles/fonts';
|
|
76
78
|
@use 'styles/reset';
|
|
77
|
-
|
|
79
|
+
@use 'styles/typography';
|
|
80
|
+
@use 'styles/link';
|
|
81
|
+
@use 'styles/focus';
|
|
82
|
+
@use 'styles/ds-color';
|
|
83
|
+
@use 'styles/layout-utils';
|
|
84
|
+
@use 'styles/page-grid';
|
|
85
|
+
@use 'styles/scrollbar';
|
|
86
|
+
@use 'styles/icon-base';
|
|
87
|
+
@use 'styles/dropdown-overlay';
|
|
88
|
+
@use 'styles/toast-overlay';
|
|
89
|
+
@use 'styles/surface-motion';
|
|
90
|
+
@use 'styles/overlay-motion';
|
|
91
|
+
@use 'styles/skeleton-shimmer';
|
|
92
|
+
|
|
93
|
+
@include bp.emit-vars; // REQUIRED, and not implied by the @use above
|
|
78
94
|
```
|
|
79
95
|
|
|
96
|
+
That is the whole list `styles/ds` forwards — it is written out rather than trailed off, because
|
|
97
|
+
the parts that are easy to leave out are the ones that fail silently:
|
|
98
|
+
|
|
99
|
+
- **`bp.emit-vars` is a separate call.** `@use 'styles/breakpoints'` alone emits nothing; the mixin
|
|
100
|
+
is what writes `--bp-*`. Without it `ds-container` reads `var(--bp-sm|md|lg)` with no fallback, so
|
|
101
|
+
`max-width` is invalid at computed-value time and `size="sm|md|lg"` silently goes full-bleed. The
|
|
102
|
+
default `size="xl"` resolves from `tokens` and looks fine, which is what makes the omission hard
|
|
103
|
+
to spot.
|
|
104
|
+
- **`ds-color`** is what defines the `[ds-color="…"]` zones. Leave it out and the accent never
|
|
105
|
+
recolours — no error, just the primary palette everywhere.
|
|
106
|
+
- **`focus`** carries the focus-ring roles; without it interactive elements lose their ring.
|
|
107
|
+
- **`dropdown-overlay` and `toast-overlay`** style panels that portal to `document.body`, which is
|
|
108
|
+
why they cannot live in a component's own stylesheet. Omitting them renders every dropdown,
|
|
109
|
+
picker panel and toast unstyled.
|
|
110
|
+
|
|
80
111
|
`base-palette` + `theme-activation` must come BEFORE `tokens` so role aliases resolve. The theme `_palette` / `_theme` files expose **mixins** — don't `@use` them directly; `theme-activation` applies them.
|
|
81
112
|
|
|
82
113
|
### Option C — brand layer on top
|
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
// HSL channels (--blue-h/s/l, --red-h/s/l), shadow substrate h/s (NOT -l —
|
|
7
|
-
// that is per-theme), static anchors, and font families.
|
|
8
|
-
//
|
|
9
|
-
// The --neutral-* FAMILY SLOT (which gray ramp is active) is per-theme and
|
|
10
|
-
// lives in each theme's _palette.scss mixin. Components consume only semantic
|
|
11
|
-
// roles; they never reference this file directly.
|
|
12
|
-
// =========================================================================
|
|
1
|
+
// Base palette — Tier 1 primitives that are identical in every theme, emitted at
|
|
2
|
+
// :root. What is NOT here, because it is per-theme, lives in each theme's
|
|
3
|
+
// _palette.scss mixin: the --neutral-* family slot (which gray ramp is active)
|
|
4
|
+
// and --shadow-tint-l. Components consume only semantic roles; they never
|
|
5
|
+
// reference this file directly.
|
|
13
6
|
|
|
14
7
|
:root {
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
//
|
|
18
|
-
// designed U-curve (S 40% → 12% → 37%). Appearance name, Carbon-style.
|
|
19
|
-
// -----------------------------------------------------------------------
|
|
8
|
+
// Hand-drawn slate gray. The hue drifts 210 → 227 toward the brand hue (229)
|
|
9
|
+
// as it darkens and chroma follows a U-curve (S 40% → 12% → 37%); the stops
|
|
10
|
+
// are hex, so a new one has to be placed on those curves by hand.
|
|
20
11
|
--cool-gray-0: #FFF;
|
|
21
12
|
--cool-gray-50: #F8FAFC;
|
|
22
13
|
--cool-gray-100: #F1F4F9;
|
|
@@ -31,13 +22,9 @@
|
|
|
31
22
|
--cool-gray-900: #161A28;
|
|
32
23
|
--cool-gray-950: #0B0E18;
|
|
33
24
|
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
//
|
|
37
|
-
// the brand hue). Re-skinning --primary-h re-tints these grays to match
|
|
38
|
-
// the brand automatically. With the default blue brand this ramp matches
|
|
39
|
-
// cool-gray to within rounding.
|
|
40
|
-
// -----------------------------------------------------------------------
|
|
25
|
+
// The same S/L curve and hue drift as cool-gray, but sourced from --neutral-h,
|
|
26
|
+
// so re-skinning --primary-h re-tints every gray to match the brand. With the
|
|
27
|
+
// default blue brand the two ramps match to within rounding.
|
|
41
28
|
--neutral-h: var(--primary-h, var(--blue-h));
|
|
42
29
|
--brand-gray-0: #FFF;
|
|
43
30
|
--brand-gray-50: hsl(calc(var(--neutral-h) - 19) 40.0% 98.0%);
|
|
@@ -53,12 +40,8 @@
|
|
|
53
40
|
--brand-gray-900: hsl(calc(var(--neutral-h) - 2) 29.0% 12.2%);
|
|
54
41
|
--brand-gray-950: hsl(calc(var(--neutral-h) - 3) 37.1% 6.9%);
|
|
55
42
|
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
// from the same source. #2F54FF ≈ hsl(229, 100%, 59%). This is the ramp the
|
|
59
|
-
// default theme maps --primary onto (see themes/_semantic.scss). Naming is
|
|
60
|
-
// concrete (the colour) — the semantic --primary mapping lives in the lib.
|
|
61
|
-
// -----------------------------------------------------------------------
|
|
43
|
+
// Blue — channel-split so halos and tints compose from the same source.
|
|
44
|
+
// #2F54FF ≈ hsl(229, 100%, 59%). _semantic.scss maps --primary onto this ramp.
|
|
62
45
|
--blue-h: 229;
|
|
63
46
|
--blue-s: 100%;
|
|
64
47
|
--blue-l: 59%;
|
|
@@ -74,11 +57,9 @@
|
|
|
74
57
|
--blue-800: hsl(var(--blue-h) 79% 40%);
|
|
75
58
|
--blue-900: hsl(var(--blue-h) 77% 30%);
|
|
76
59
|
|
|
77
|
-
//
|
|
78
|
-
//
|
|
79
|
-
//
|
|
80
|
-
// HSL channels (additive — --secondary composes its fill + tints from these).
|
|
81
|
-
// Reproduce --orange-500 ≈ #FF7A2E; ramp stops below stay hand-picked hex.
|
|
60
|
+
// Orange — the secondary / accent family. The channels reproduce --orange-500
|
|
61
|
+
// ≈ #FF7A2E for composing fills and tints; the ramp stops stay hand-picked hex
|
|
62
|
+
// and are NOT derived from them.
|
|
82
63
|
--orange-h: 22; --orange-s: 100%; --orange-l: 59%;
|
|
83
64
|
--orange-50: #FFF7F0;
|
|
84
65
|
--orange-100: #FFEEDF;
|
|
@@ -90,11 +71,8 @@
|
|
|
90
71
|
--orange-700: #B84812;
|
|
91
72
|
--orange-800: #8A340A;
|
|
92
73
|
|
|
93
|
-
//
|
|
94
|
-
//
|
|
95
|
-
// -----------------------------------------------------------------------
|
|
96
|
-
// HSL channels (additive — for focus-ring composition + ds-color). The ramp
|
|
97
|
-
// stops below stay hand-picked hex; these reproduce --green-500 ≈ #22A33A.
|
|
74
|
+
// Green — success. The channels reproduce --green-500 ≈ #22A33A for focus-ring
|
|
75
|
+
// composition and ds-color; the ramp stops stay hand-picked hex.
|
|
98
76
|
--green-h: 132; --green-s: 66%; --green-l: 39%;
|
|
99
77
|
--green-50: #ECFAEE;
|
|
100
78
|
--green-100: #D6F3DB;
|
|
@@ -105,11 +83,8 @@
|
|
|
105
83
|
--green-600: #1B8A2E;
|
|
106
84
|
--green-700: #156822;
|
|
107
85
|
|
|
108
|
-
//
|
|
109
|
-
//
|
|
110
|
-
// -----------------------------------------------------------------------
|
|
111
|
-
// HSL channels (additive — for focus-ring composition + ds-color). Reproduce
|
|
112
|
-
// --yellow-400 ≈ #F4D43A; ramp stops below stay hand-picked hex.
|
|
86
|
+
// Yellow — warning. The channels reproduce --yellow-400 ≈ #F4D43A for
|
|
87
|
+
// focus-ring composition and ds-color; the ramp stops stay hand-picked hex.
|
|
113
88
|
--yellow-h: 47; --yellow-s: 89%; --yellow-l: 59%;
|
|
114
89
|
--yellow-50: #FFFBEA;
|
|
115
90
|
--yellow-100: #FEF8DC;
|
|
@@ -120,10 +95,8 @@
|
|
|
120
95
|
--yellow-600: #B89B00;
|
|
121
96
|
--yellow-700: #8A7400;
|
|
122
97
|
|
|
123
|
-
//
|
|
124
|
-
//
|
|
125
|
-
// The default theme maps --error onto this ramp (see themes/_semantic.scss).
|
|
126
|
-
// -----------------------------------------------------------------------
|
|
98
|
+
// Red — channel-split for halo derivation. #D81F1F ≈ hsl(0, 75%, 49%).
|
|
99
|
+
// _semantic.scss maps --error onto this ramp.
|
|
127
100
|
--red-h: 0;
|
|
128
101
|
--red-s: 75%;
|
|
129
102
|
--red-l: 49%;
|
|
@@ -137,11 +110,9 @@
|
|
|
137
110
|
--red-600: hsl(var(--red-h) 78% 41%);
|
|
138
111
|
--red-700: hsl(var(--red-h) 78% 31%);
|
|
139
112
|
|
|
140
|
-
//
|
|
141
|
-
//
|
|
142
|
-
//
|
|
143
|
-
// from "primary action".
|
|
144
|
-
// -----------------------------------------------------------------------
|
|
113
|
+
// Sky — the info role. A brighter, cooler blue (#3B82F6) kept distinct from the
|
|
114
|
+
// primary --blue ramp (#2F54FF) so "informational" reads apart from "primary
|
|
115
|
+
// action".
|
|
145
116
|
--sky-50: #EFF6FF;
|
|
146
117
|
--sky-100: #DBEAFE;
|
|
147
118
|
--sky-200: #BFDBFE;
|
|
@@ -151,35 +122,23 @@
|
|
|
151
122
|
--sky-600: #2563EB;
|
|
152
123
|
--sky-700: #1D4ED8;
|
|
153
124
|
|
|
154
|
-
//
|
|
155
|
-
//
|
|
156
|
-
// fill + tints from these); no discrete ramp stops yet — add hand-picked hex
|
|
157
|
-
// if a component ever needs stepped violet swatches.
|
|
158
|
-
// -----------------------------------------------------------------------
|
|
125
|
+
// Violet — the tertiary brand hue, channel-split only. No discrete ramp stops
|
|
126
|
+
// yet; add hand-picked hex if a component ever needs stepped violet swatches.
|
|
159
127
|
--violet-h: 262; --violet-s: 70%; --violet-l: 56%;
|
|
160
128
|
|
|
161
|
-
//
|
|
162
|
-
//
|
|
163
|
-
// per-theme: light uses 7%, dark uses 95% (so the same alphas read as soft
|
|
164
|
-
// glows over dark surfaces). Each theme's _palette.scss mixin sets -l.
|
|
165
|
-
// -----------------------------------------------------------------------
|
|
129
|
+
// Shadow substrate, h/s only — the lightness is per-theme and each theme's
|
|
130
|
+
// _palette.scss mixin sets it (light 7%, dark 95%).
|
|
166
131
|
--shadow-tint-h: 225;
|
|
167
132
|
--shadow-tint-s: 39%;
|
|
168
133
|
|
|
169
|
-
//
|
|
170
|
-
//
|
|
171
|
-
//
|
|
172
|
-
//
|
|
173
|
-
// (a token would be pure indirection — var(--x) === white for a constant).
|
|
174
|
-
// -----------------------------------------------------------------------
|
|
134
|
+
// Never flips with the theme. Text on a DARK fill (e.g. the yellow warning
|
|
135
|
+
// fill) points here so it stays dark in both themes. There is no counterpart
|
|
136
|
+
// for text on a LIGHT fill: that uses the `white` keyword directly, since a
|
|
137
|
+
// token for a constant would be pure indirection.
|
|
175
138
|
--static-ink: #161A28;
|
|
176
139
|
|
|
177
|
-
//
|
|
178
|
-
//
|
|
179
|
-
// theme-independent and lives in styles/_tokens.scss). Display + heading
|
|
180
|
-
// default to body sans; a brand can mix a serif/display family here without
|
|
181
|
-
// touching component code.
|
|
182
|
-
// -----------------------------------------------------------------------
|
|
140
|
+
// Font families are a theme/brand choice; the size/weight/leading SCALE is
|
|
141
|
+
// theme-independent and lives in ../styles/_tokens.scss.
|
|
183
142
|
--font-sans: "Mulish", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, sans-serif;
|
|
184
143
|
--font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, menlo, monospace;
|
|
185
144
|
--font-display: var(--font-sans);
|
package/themes/_semantic.scss
CHANGED
|
@@ -185,8 +185,11 @@
|
|
|
185
185
|
--error-border: var(--red-200);
|
|
186
186
|
--error-text: var(--red-600);
|
|
187
187
|
|
|
188
|
-
/* -pressed (success/warning)
|
|
189
|
-
|
|
188
|
+
/* -pressed (success/warning) and -on — roles the --accent-* pointer family needs from
|
|
189
|
+
every ds-color family and the status block above does not spell out. There is
|
|
190
|
+
deliberately no --<status>-strong: the readable on-tint colour of a status family is
|
|
191
|
+
what -text already is, and --accent-strong asks for -text by name. The brand families
|
|
192
|
+
are the ones that carry it as -strong, because they have no -text. */
|
|
190
193
|
--success-pressed: color-mix(in srgb, var(--success) 76%, black);
|
|
191
194
|
--warning-pressed: color-mix(in srgb, var(--warning) 76%, black);
|
|
192
195
|
--error-on: var(--text-on-error);
|