@common-origin/design-system 2.21.0 → 2.22.0
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/client.js +222 -206
- package/dist/client.js.map +1 -1
- package/dist/components/atoms/Badge/Badge.d.mts +16 -4
- package/dist/components/atoms/Badge/Badge.d.ts +16 -4
- package/dist/components/atoms/Badge/Badge.mjs +4 -5
- package/dist/components/atoms/Badge/index.d.mts +1 -1
- package/dist/components/atoms/Badge/index.d.ts +1 -1
- package/dist/components/atoms/Button/Button.mjs +1 -1
- package/dist/components/atoms/CategoryLabel/CategoryLabel.d.mts +23 -8
- package/dist/components/atoms/CategoryLabel/CategoryLabel.d.ts +23 -8
- package/dist/components/atoms/CategoryLabel/CategoryLabel.mjs +31 -18
- package/dist/components/atoms/CategoryLabel/index.d.mts +1 -1
- package/dist/components/atoms/CategoryLabel/index.d.ts +1 -1
- package/dist/components/atoms/Chip/SuggestionChip.mjs +1 -1
- package/dist/components/atoms/Chip/shared/utils.mjs +1 -1
- package/dist/components/atoms/Chip/shared/utils.mjs.map +1 -1
- package/dist/components/atoms/Icon/Icon.mjs +1 -1
- package/dist/components/atoms/MoneyDisplay/MoneyDisplay.mjs +14 -60
- package/dist/components/atoms/StatusBadge/StatusBadge.d.mts +3 -2
- package/dist/components/atoms/StatusBadge/StatusBadge.d.ts +3 -2
- package/dist/components/atoms/StatusBadge/StatusBadge.mjs +1 -1
- package/dist/components/atoms/StatusBadge/StatusBadge.mjs.map +1 -1
- package/dist/components/atoms/StatusLabel/StatusLabel.d.mts +5 -2
- package/dist/components/atoms/StatusLabel/StatusLabel.d.ts +5 -2
- package/dist/components/atoms/StatusLabel/StatusLabel.mjs +5 -2
- package/dist/components/atoms/StatusLabel/StatusLabel.mjs.map +1 -1
- package/dist/components/atoms/StatusLabel/StatusLabelBase.d.mts +2 -2
- package/dist/components/atoms/StatusLabel/StatusLabelBase.d.ts +2 -2
- package/dist/components/atoms/StatusLabel/StatusLabelBase.mjs +19 -13
- package/dist/components/atoms/StatusLabel/StatusShape.d.mts +4 -0
- package/dist/components/atoms/StatusLabel/StatusShape.d.ts +4 -0
- package/dist/components/atoms/StatusLabel/StatusShape.mjs +31 -0
- package/dist/components/atoms/StatusLabel/StatusShape.mjs.map +1 -0
- package/dist/components/atoms/Typography/Typography.mjs +2 -2
- package/dist/components/molecules/AccountCard/AccountCard.mjs +21 -13
- package/dist/components/molecules/Alert/Alert.d.mts +4 -4
- package/dist/components/molecules/Alert/Alert.d.ts +4 -4
- package/dist/components/molecules/Alert/Alert.mjs +5 -4
- package/dist/components/molecules/CodeBlock/CodeBlock.mjs +1 -1
- package/dist/components/molecules/Dropdown/Dropdown.mjs +2 -2
- package/dist/components/molecules/InlineAlert/InlineAlert.mjs +15 -5
- package/dist/components/molecules/TabBar/TabBar.mjs +3 -3
- package/dist/components/molecules/TransactionListItem/TransactionListItem.d.mts +1 -1
- package/dist/components/molecules/TransactionListItem/TransactionListItem.d.ts +1 -1
- package/dist/components/molecules/TransactionListItem/TransactionListItem.mjs +15 -31
- package/dist/data.js +505 -295
- package/dist/data.js.map +1 -1
- package/dist/lib/statusShapes.d.mts +2 -0
- package/dist/lib/statusShapes.d.ts +2 -0
- package/dist/lib/statusShapes.mjs +16 -0
- package/dist/lib/statusShapes.mjs.map +1 -0
- package/dist/lib/styleUtils.mjs +2 -2
- package/dist/lib/styleUtils.mjs.map +1 -1
- package/dist/lib/tokenAliases.mjs +15 -10
- package/dist/lib/tokenAliases.mjs.map +1 -1
- package/dist/styles/icons.json +141 -0
- package/dist/styles/icons.json.mjs +153 -2
- package/dist/styles/icons.json.mjs.map +1 -1
- package/dist/styles/tokens.d.mts +412 -122
- package/dist/styles/tokens.d.ts +412 -122
- package/dist/styles/tokens.json +353 -294
- package/dist/styles/tokens.json.mjs +353 -294
- package/dist/styles/tokens.json.mjs.map +1 -1
- package/dist/tokens/index.js +353 -294
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/index.mjs +353 -294
- package/dist/tokens/index.mjs.map +1 -1
- package/dist/tokens/styles/tokens.d.mts +412 -122
- package/dist/tokens/styles/tokens.d.ts +412 -122
- package/dist/tokens.css +257 -212
- package/dist/types/icons.d.mts +1 -1
- package/dist/types/icons.d.ts +1 -1
- package/dist/types/icons.mjs.map +1 -1
- package/package.json +1 -1
package/dist/styles/tokens.d.ts
CHANGED
|
@@ -60,7 +60,9 @@ export type Tokens = {
|
|
|
60
60
|
opacity: {
|
|
61
61
|
'0': string;
|
|
62
62
|
'5': string;
|
|
63
|
+
'8': string;
|
|
63
64
|
'10': string;
|
|
65
|
+
'12': string;
|
|
64
66
|
'20': string;
|
|
65
67
|
'25': string;
|
|
66
68
|
'30': string;
|
|
@@ -1337,8 +1339,10 @@ export type Tokens = {
|
|
|
1337
1339
|
* @deprecated No component spacing tokens (decision 0022). Use semantic.spacing.component.sm and .md. Removed in 3.0.
|
|
1338
1340
|
*/
|
|
1339
1341
|
padding: string;
|
|
1340
|
-
/** Small Button
|
|
1342
|
+
/** Small Button text: the caption style, with button.sizes.small.fontWeight after it. */
|
|
1341
1343
|
font: string;
|
|
1344
|
+
/** Weight of small Button text, set after the font: medium, as the other sizes. */
|
|
1345
|
+
fontWeight: string;
|
|
1342
1346
|
};
|
|
1343
1347
|
medium: {
|
|
1344
1348
|
/**
|
|
@@ -2106,7 +2110,7 @@ export type Tokens = {
|
|
|
2106
2110
|
/** Slider thumb while dragging: deepest. */
|
|
2107
2111
|
active: string;
|
|
2108
2112
|
};
|
|
2109
|
-
/** Fill of Slider
|
|
2113
|
+
/** Fill of the Slider thumb: the raised surface, white. */
|
|
2110
2114
|
background: string;
|
|
2111
2115
|
};
|
|
2112
2116
|
};
|
|
@@ -2123,7 +2127,11 @@ export type Tokens = {
|
|
|
2123
2127
|
/** Width at which a long Breadcrumbs label truncates with an ellipsis. */
|
|
2124
2128
|
maxWidth: string;
|
|
2125
2129
|
};
|
|
2126
|
-
/**
|
|
2130
|
+
/**
|
|
2131
|
+
* Breadcrumb-sized text; Breadcrumbs uses typography.caption for its links today.
|
|
2132
|
+
*
|
|
2133
|
+
* @deprecated Nothing reads it; the semantic tier now holds this meaning (#224). Removed in 3.0. Use `semantic.typography.caption`.
|
|
2134
|
+
*/
|
|
2127
2135
|
font: string;
|
|
2128
2136
|
};
|
|
2129
2137
|
cardLarge: {
|
|
@@ -2174,9 +2182,9 @@ export type Tokens = {
|
|
|
2174
2182
|
};
|
|
2175
2183
|
status: {
|
|
2176
2184
|
pending: {
|
|
2177
|
-
/** Text and icon of a pending StatusLabel,
|
|
2185
|
+
/** Text and icon of a pending StatusLabel: neutral, because waiting needs no attention (decision 0045). 6.01:1 on white. */
|
|
2178
2186
|
text: string;
|
|
2179
|
-
/** Fill of a pending StatusLabel
|
|
2187
|
+
/** Fill of a pending StatusLabel (decision 0045). */
|
|
2180
2188
|
background: string;
|
|
2181
2189
|
};
|
|
2182
2190
|
completed: {
|
|
@@ -2198,38 +2206,66 @@ export type Tokens = {
|
|
|
2198
2206
|
background: string;
|
|
2199
2207
|
};
|
|
2200
2208
|
processing: {
|
|
2201
|
-
/** Text and icon of a processing StatusLabel,
|
|
2209
|
+
/** Text and icon of a processing StatusLabel: in progress is accent (decisions 0043, 0045). 6.00:1 on white. */
|
|
2202
2210
|
text: string;
|
|
2203
|
-
/** Fill of a processing StatusLabel
|
|
2211
|
+
/** Fill of a processing StatusLabel (decision 0045). */
|
|
2204
2212
|
background: string;
|
|
2205
2213
|
};
|
|
2206
2214
|
scheduled: {
|
|
2207
|
-
/** Text and icon of a scheduled StatusLabel,
|
|
2215
|
+
/** Text and icon of a scheduled StatusLabel: neutral, because a future item needs no attention (decision 0045). 6.01:1 on white. */
|
|
2208
2216
|
text: string;
|
|
2209
|
-
/** Fill of a scheduled StatusLabel
|
|
2217
|
+
/** Fill of a scheduled StatusLabel (decision 0045). */
|
|
2210
2218
|
background: string;
|
|
2211
2219
|
};
|
|
2212
2220
|
};
|
|
2213
2221
|
transaction: {
|
|
2214
|
-
/**
|
|
2222
|
+
/**
|
|
2223
|
+
* Positive amounts and credits in MoneyDisplay and TransactionListItem.
|
|
2224
|
+
*
|
|
2225
|
+
* @deprecated Nothing reads it; the semantic tier now holds this meaning (#224). Removed in 3.0. Use `semantic.color.data.positive`.
|
|
2226
|
+
*/
|
|
2215
2227
|
credit: string;
|
|
2216
|
-
/**
|
|
2228
|
+
/**
|
|
2229
|
+
* A credit amount on a hovered interactive row.
|
|
2230
|
+
*
|
|
2231
|
+
* @deprecated Nothing reads it; the semantic tier now holds this meaning (#224). Removed in 3.0. Use `semantic.color.data.positive`.
|
|
2232
|
+
*/
|
|
2217
2233
|
'credit-hover': string;
|
|
2218
|
-
/**
|
|
2234
|
+
/**
|
|
2235
|
+
* Negative amounts and debits in MoneyDisplay and TransactionListItem.
|
|
2236
|
+
*
|
|
2237
|
+
* @deprecated Nothing reads it; the semantic tier now holds this meaning (#224). Removed in 3.0. Use `semantic.color.data.negative`.
|
|
2238
|
+
*/
|
|
2219
2239
|
debit: string;
|
|
2220
|
-
/**
|
|
2240
|
+
/**
|
|
2241
|
+
* A debit amount on a hovered interactive row.
|
|
2242
|
+
*
|
|
2243
|
+
* @deprecated Nothing reads it; the semantic tier now holds this meaning (#224). Removed in 3.0. Use `semantic.color.data.negative`.
|
|
2244
|
+
*/
|
|
2221
2245
|
'debit-hover': string;
|
|
2222
|
-
/**
|
|
2246
|
+
/**
|
|
2247
|
+
* Amounts of pending or processing transactions.
|
|
2248
|
+
*
|
|
2249
|
+
* @deprecated Nothing reads it; the semantic tier now holds this meaning (#224). Removed in 3.0. Use `semantic.color.text.muted`.
|
|
2250
|
+
*/
|
|
2223
2251
|
pending: string;
|
|
2224
|
-
/**
|
|
2252
|
+
/**
|
|
2253
|
+
* Informational amounts that are neither credit nor debit.
|
|
2254
|
+
*
|
|
2255
|
+
* @deprecated Nothing reads it; the semantic tier now holds this meaning (#224). Removed in 3.0. Use `semantic.color.text.muted`.
|
|
2256
|
+
*/
|
|
2225
2257
|
neutral: string;
|
|
2226
2258
|
};
|
|
2227
2259
|
track: {
|
|
2228
|
-
/** Unfilled track of ProgressBar and Slider
|
|
2260
|
+
/** Unfilled track of ProgressBar and Slider: light, so the fill and thumb show the value (decision 0026). The resting fill step, 1.12:1 on white. */
|
|
2229
2261
|
background: string;
|
|
2230
2262
|
};
|
|
2231
2263
|
tooltip: {
|
|
2232
|
-
/**
|
|
2264
|
+
/**
|
|
2265
|
+
* Dotted underline marking text that has a tooltip.
|
|
2266
|
+
*
|
|
2267
|
+
* @deprecated Nothing reads it; the semantic tier now holds this meaning (#224). Removed in 3.0. Use `semantic.border.default`.
|
|
2268
|
+
*/
|
|
2233
2269
|
border: string;
|
|
2234
2270
|
};
|
|
2235
2271
|
};
|
|
@@ -2271,6 +2307,12 @@ export type Tokens = {
|
|
|
2271
2307
|
hover: string;
|
|
2272
2308
|
/** Content that fades while pressed, one step further than hover. */
|
|
2273
2309
|
pressed: string;
|
|
2310
|
+
state: {
|
|
2311
|
+
/** State layer for a hovered solid fill: its content colour mixed in at 8%, as in Material 3 (decision 0048). */
|
|
2312
|
+
hover: string;
|
|
2313
|
+
/** State layer for a pressed solid fill: its content colour mixed in at 12% (decision 0048). */
|
|
2314
|
+
pressed: string;
|
|
2315
|
+
};
|
|
2274
2316
|
};
|
|
2275
2317
|
fontFamily: {
|
|
2276
2318
|
/** UI text (Inter). Use a typography style where one fits; this is for components that set the family on its own. */
|
|
@@ -2345,12 +2387,12 @@ export type Tokens = {
|
|
|
2345
2387
|
modal: string;
|
|
2346
2388
|
};
|
|
2347
2389
|
border: {
|
|
2348
|
-
/** Hairline in the default border colour: dividers
|
|
2390
|
+
/** Hairline in the default border colour: dividers and decorative outlines, such as Breadcrumbs, CodeBlock and Divider. 1.53:1 on white, so never a control edge (decision 0025). */
|
|
2349
2391
|
default: string;
|
|
2350
2392
|
/**
|
|
2351
2393
|
* Hairline in the subtle border colour: dividers and decorative outlines, such as CodeBlock and Separator. 1.30:1 on white, so never a control's edge (decision 0025).
|
|
2352
2394
|
*
|
|
2353
|
-
* @deprecated Renamed to semantic.border.emphasis by the semantic grammar (decision 0031). Removed in 3.0.
|
|
2395
|
+
* @deprecated Renamed to semantic.border.emphasis by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.border.default`.
|
|
2354
2396
|
*/
|
|
2355
2397
|
subtle: string;
|
|
2356
2398
|
/**
|
|
@@ -2364,7 +2406,7 @@ export type Tokens = {
|
|
|
2364
2406
|
/**
|
|
2365
2407
|
* Dotted underline marking text that has a tooltip.
|
|
2366
2408
|
*
|
|
2367
|
-
* @deprecated Moved to the component tier as component.tooltip.border (decision 0031 §6). Removed in 3.0.
|
|
2409
|
+
* @deprecated Moved to the component tier as component.tooltip.border (decision 0031 §6). Removed in 3.0. Use `semantic.border.default`.
|
|
2368
2410
|
*/
|
|
2369
2411
|
tooltip: string;
|
|
2370
2412
|
width: {
|
|
@@ -2431,7 +2473,11 @@ export type Tokens = {
|
|
|
2431
2473
|
*/
|
|
2432
2474
|
circle: string;
|
|
2433
2475
|
};
|
|
2434
|
-
/**
|
|
2476
|
+
/**
|
|
2477
|
+
* Hairline for dividers and decorative outlines, such as CodeBlock and Divider; never a control edge.
|
|
2478
|
+
*
|
|
2479
|
+
* @deprecated Dividers have one border (decision 0048). Removed in 3.0. Use `semantic.border.default`.
|
|
2480
|
+
*/
|
|
2435
2481
|
emphasis: string;
|
|
2436
2482
|
/** Firm hairline that must read as a boundary, such as a hovered text input. */
|
|
2437
2483
|
'input-hover': string;
|
|
@@ -2802,9 +2848,13 @@ export type Tokens = {
|
|
|
2802
2848
|
};
|
|
2803
2849
|
color: {
|
|
2804
2850
|
text: {
|
|
2805
|
-
/** Primary text: body copy, labels and headings. 15.
|
|
2851
|
+
/** Primary text: body copy, labels and headings. 15.91:1 on white, 15.51:1 on the page. */
|
|
2806
2852
|
default: string;
|
|
2807
|
-
/**
|
|
2853
|
+
/**
|
|
2854
|
+
* Emphasised text.
|
|
2855
|
+
*
|
|
2856
|
+
* @deprecated Emphasis comes from weight and scale, not a darker colour (decision 0048). Removed in 3.0. Use `semantic.color.text.default`.
|
|
2857
|
+
*/
|
|
2808
2858
|
emphasis: string;
|
|
2809
2859
|
/**
|
|
2810
2860
|
* Secondary text: helper text, metadata and supporting copy. 8.18:1 on white, 7.76:1 on the page.
|
|
@@ -2812,9 +2862,9 @@ export type Tokens = {
|
|
|
2812
2862
|
* @deprecated Renamed to semantic.color.text.muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
2813
2863
|
*/
|
|
2814
2864
|
subdued: string;
|
|
2815
|
-
/** Text on dark or coloured fills, such as the primary, accent and danger Buttons. 15.
|
|
2865
|
+
/** Text on dark or coloured fills, such as the primary, accent and danger Buttons. 15.91:1 on fill.emphasis. */
|
|
2816
2866
|
inverse: string;
|
|
2817
|
-
/** Text of disabled controls.
|
|
2867
|
+
/** Text of disabled controls, translucent so it stays right on tinted surfaces. 1.53:1 on white: disabled text is exempt from the contrast minimum (WCAG 1.4.3), so never use it for text people need to read, including placeholders. */
|
|
2818
2868
|
disabled: string;
|
|
2819
2869
|
/**
|
|
2820
2870
|
* Blue text for links and selected items (decision 0003). 5.39:1 on white, 5.11:1 on the page.
|
|
@@ -2840,22 +2890,32 @@ export type Tokens = {
|
|
|
2840
2890
|
* @deprecated Renamed to semantic.color.text.danger by the semantic grammar (decision 0031). Removed in 3.0.
|
|
2841
2891
|
*/
|
|
2842
2892
|
error: string;
|
|
2843
|
-
/** Success text, such as InlineAlert success messages. 5.
|
|
2893
|
+
/** Success text, such as InlineAlert success messages. 5.99:1 on white. */
|
|
2844
2894
|
success: string;
|
|
2845
|
-
/** Warning text, such as InlineAlert warnings
|
|
2895
|
+
/** Warning text, such as InlineAlert warnings (0043: warning is yellow). 6.01:1 on white. */
|
|
2846
2896
|
warning: string;
|
|
2847
|
-
/** Secondary text: helper text, metadata, timestamps. */
|
|
2897
|
+
/** Secondary text: helper text, metadata, timestamps. 6.01:1 on white, and at least 4.5:1 on every background and fill step (decision 0040). */
|
|
2848
2898
|
muted: string;
|
|
2849
|
-
/** Blue text for links and selected items
|
|
2899
|
+
/** Blue text for links and selected items, in every state: the fill shows hover and pressed. Never decoration (0003). 6.00:1 on white. */
|
|
2850
2900
|
accent: string;
|
|
2851
|
-
/**
|
|
2901
|
+
/**
|
|
2902
|
+
* Text of a hovered selected item, on the accent-muted-hover fill.
|
|
2903
|
+
*
|
|
2904
|
+
* @deprecated Accent text keeps one colour in every state; the fill shows hover and pressed (#190). Removed in 3.0. Use `semantic.color.text.accent`.
|
|
2905
|
+
*/
|
|
2852
2906
|
'accent-hover': string;
|
|
2853
|
-
/**
|
|
2907
|
+
/**
|
|
2908
|
+
* Text of a pressed selected item, on the accent-muted-pressed fill.
|
|
2909
|
+
*
|
|
2910
|
+
* @deprecated Accent text keeps one colour in every state; the fill shows hover and pressed (#190). Removed in 3.0. Use `semantic.color.text.accent`.
|
|
2911
|
+
*/
|
|
2854
2912
|
'accent-pressed': string;
|
|
2855
|
-
/** Error text: field error messages, InlineAlert errors. */
|
|
2913
|
+
/** Error text: field error messages, InlineAlert errors. 6.03:1 on white. */
|
|
2856
2914
|
danger: string;
|
|
2857
2915
|
/** AI-generated content and agent actions, such as the label on proposed content (0046); always with the AI icon and a label, never colour alone (0043). 5.99:1 on white, 5.68:1 on the page. */
|
|
2858
2916
|
ai: string;
|
|
2917
|
+
/** Serious-warning text: between warning and danger (decisions 0043, 0045). 6.04:1 on white. */
|
|
2918
|
+
serious: string;
|
|
2859
2919
|
};
|
|
2860
2920
|
background: {
|
|
2861
2921
|
/**
|
|
@@ -3052,12 +3112,12 @@ export type Tokens = {
|
|
|
3052
3112
|
'inverse-overlay': string;
|
|
3053
3113
|
};
|
|
3054
3114
|
border: {
|
|
3055
|
-
/** Default border colour for dividers and decorative outlines only. 1.
|
|
3115
|
+
/** Default border colour for dividers and decorative outlines only (decision 0040). 1.53:1 on white, below the 3:1 a control edge needs; use color.border.input for that (decision 0025). */
|
|
3056
3116
|
default: string;
|
|
3057
3117
|
/**
|
|
3058
3118
|
* Subtle border colour for dividers and decorative outlines, and for the borders of disabled controls, which WCAG 1.4.11 exempts. 1.30:1 on white, below the 3:1 a control's edge needs; use color.border.control for that (decision 0025).
|
|
3059
3119
|
*
|
|
3060
|
-
* @deprecated Renamed to semantic.color.border.emphasis by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3120
|
+
* @deprecated Renamed to semantic.color.border.emphasis by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.color.border.default`.
|
|
3061
3121
|
*/
|
|
3062
3122
|
subtle: string;
|
|
3063
3123
|
/**
|
|
@@ -3084,29 +3144,41 @@ export type Tokens = {
|
|
|
3084
3144
|
* @deprecated Renamed to semantic.color.border.danger by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3085
3145
|
*/
|
|
3086
3146
|
error: string;
|
|
3087
|
-
/** Green border for success outlines, such as an outlined success Alert. */
|
|
3147
|
+
/** Green border for success outlines, such as an outlined success Alert. 3.18:1 on white (decision 0025). */
|
|
3088
3148
|
success: string;
|
|
3089
|
-
/**
|
|
3149
|
+
/** Yellow border for warning outlines, such as an outlined warning Alert. 3.19:1 on white (decision 0025). */
|
|
3090
3150
|
warning: string;
|
|
3091
3151
|
/** An invisible border that keeps its width, so a borderless state takes the same space as a bordered one (for example Alert's borderless appearance, decision 0019). */
|
|
3092
3152
|
none: string;
|
|
3093
|
-
/**
|
|
3153
|
+
/**
|
|
3154
|
+
* Border for dividers, decorative outlines and disabled controls.
|
|
3155
|
+
*
|
|
3156
|
+
* @deprecated Dividers have one border colour (decision 0048). Removed in 3.0. Use `semantic.color.border.default`.
|
|
3157
|
+
*/
|
|
3094
3158
|
emphasis: string;
|
|
3095
|
-
/** Resting edge of a control that must show where it is: text inputs, Dropdown, Checkbox. */
|
|
3159
|
+
/** Resting edge of a control that must show where it is: text inputs, Dropdown, Checkbox. 3.19:1 on white and the page (decision 0025). */
|
|
3096
3160
|
input: string;
|
|
3097
|
-
/** Edge of a hovered control, such as a hovered text input or Dropdown. */
|
|
3161
|
+
/** Edge of a hovered control, such as a hovered text input or Dropdown. 6.01:1 on white, a clear step from rest that stays apart from the focus ring. */
|
|
3098
3162
|
'input-hover': string;
|
|
3099
|
-
/** The focus ring, and rings that mark the current item, such as on CardSmall (0029). */
|
|
3163
|
+
/** The focus ring, and rings that mark the current item, such as on CardSmall (0029). 15.91:1 on white. */
|
|
3100
3164
|
focus: string;
|
|
3101
|
-
/** Blue border for selected items; never decoration
|
|
3165
|
+
/** Blue border for selected items; never decoration (0003). 3.21:1 on white (decision 0025). */
|
|
3102
3166
|
accent: string;
|
|
3103
|
-
/** Border of an invalid field and other error outlines. */
|
|
3167
|
+
/** Border of an invalid field and other error outlines. 3.18:1 on white (decision 0025). */
|
|
3104
3168
|
danger: string;
|
|
3169
|
+
/** Orange border for serious-warning outlines. 3.21:1 on white (decision 0025). */
|
|
3170
|
+
serious: string;
|
|
3171
|
+
/** Purple border for AI-generated content and agent actions, always with the AI icon and a label (0043). 3.20:1 on white. */
|
|
3172
|
+
ai: string;
|
|
3105
3173
|
};
|
|
3106
3174
|
icon: {
|
|
3107
|
-
/** Default icon colour, matching text.default. 15.
|
|
3175
|
+
/** Default icon colour, matching text.default. 15.91:1 on white. */
|
|
3108
3176
|
default: string;
|
|
3109
|
-
/**
|
|
3177
|
+
/**
|
|
3178
|
+
* Emphasised icons.
|
|
3179
|
+
*
|
|
3180
|
+
* @deprecated Emphasis comes from weight and scale, not a darker colour (decision 0048). Removed in 3.0. Use `semantic.color.icon.default`.
|
|
3181
|
+
*/
|
|
3110
3182
|
emphasis: string;
|
|
3111
3183
|
/**
|
|
3112
3184
|
* Secondary icons, such as list item and empty-state icons. 4.69:1 on white, 4.45:1 on the page (icons need 3:1).
|
|
@@ -3114,7 +3186,7 @@ export type Tokens = {
|
|
|
3114
3186
|
* @deprecated Renamed to semantic.color.icon.muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3115
3187
|
*/
|
|
3116
3188
|
subdued: string;
|
|
3117
|
-
/** Icons and other foreground marks in disabled controls,
|
|
3189
|
+
/** Icons and other foreground marks in disabled controls, matching text.disabled. 1.53:1 on white. */
|
|
3118
3190
|
disabled: string;
|
|
3119
3191
|
/** Icons on dark or coloured fills, matching text.inverse. */
|
|
3120
3192
|
inverse: string;
|
|
@@ -3142,177 +3214,243 @@ export type Tokens = {
|
|
|
3142
3214
|
* @deprecated Renamed to semantic.color.icon.danger by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3143
3215
|
*/
|
|
3144
3216
|
error: string;
|
|
3145
|
-
/** Success icons, such as in Alert and EmptyState. 5.
|
|
3217
|
+
/** Success icons, such as in Alert and EmptyState. 5.99:1 on white. (InlineAlert’s icon takes the text colour instead.) */
|
|
3146
3218
|
success: string;
|
|
3147
|
-
/** Warning icons, such as in Alert.
|
|
3219
|
+
/** Warning icons, such as in Alert. 6.01:1 on white. (InlineAlert’s icon takes the text colour instead.) */
|
|
3148
3220
|
warning: string;
|
|
3149
|
-
/** Secondary icons, such as list item and empty-state icons. */
|
|
3221
|
+
/** Secondary icons, such as list item and empty-state icons, matching text.muted. 6.01:1 on white. */
|
|
3150
3222
|
muted: string;
|
|
3151
|
-
/** Blue icons in links and selected items, matching color.text.accent. */
|
|
3223
|
+
/** Blue icons in links and selected items, in every state, matching color.text.accent. 6.00:1 on white. */
|
|
3152
3224
|
accent: string;
|
|
3153
|
-
/**
|
|
3225
|
+
/**
|
|
3226
|
+
* Icon of a hovered selected item, matching color.text.accent-hover.
|
|
3227
|
+
*
|
|
3228
|
+
* @deprecated Accent icons keeps one colour in every state; the fill shows hover and pressed (#190). Removed in 3.0. Use `semantic.color.icon.accent`.
|
|
3229
|
+
*/
|
|
3154
3230
|
'accent-hover': string;
|
|
3155
|
-
/**
|
|
3231
|
+
/**
|
|
3232
|
+
* Icon of a pressed selected item, matching color.text.accent-pressed.
|
|
3233
|
+
*
|
|
3234
|
+
* @deprecated Accent icons keeps one colour in every state; the fill shows hover and pressed (#190). Removed in 3.0. Use `semantic.color.icon.accent`.
|
|
3235
|
+
*/
|
|
3156
3236
|
'accent-pressed': string;
|
|
3157
|
-
/** Error icons, such as in Alert and EmptyState. */
|
|
3237
|
+
/** Error icons, such as in Alert and EmptyState. 6.03:1 on white. */
|
|
3158
3238
|
danger: string;
|
|
3159
3239
|
/** The AI icon on AI-generated content and agent actions (0043, 0046), next to its label. 5.99:1 on white, 5.68:1 on the page. */
|
|
3160
3240
|
ai: string;
|
|
3241
|
+
/** Serious-warning icons, matching color.text.serious. 6.04:1 on white. */
|
|
3242
|
+
serious: string;
|
|
3161
3243
|
};
|
|
3162
3244
|
financial: {
|
|
3163
3245
|
/**
|
|
3164
3246
|
* Color for positive monetary values, credits, income
|
|
3165
3247
|
*
|
|
3166
|
-
* @deprecated Moved to the component tier as component.transaction.credit (decision 0031 §6). Removed in 3.0.
|
|
3248
|
+
* @deprecated Moved to the component tier as component.transaction.credit (decision 0031 §6). Removed in 3.0. Use `semantic.color.data.positive`.
|
|
3167
3249
|
*/
|
|
3168
3250
|
credit: string;
|
|
3169
3251
|
/**
|
|
3170
3252
|
* Hover state for credit-colored interactive elements
|
|
3171
3253
|
*
|
|
3172
|
-
* @deprecated Moved to the component tier as component.transaction.credit-hover (decision 0031 §6). Removed in 3.0.
|
|
3254
|
+
* @deprecated Moved to the component tier as component.transaction.credit-hover (decision 0031 §6). Removed in 3.0. Use `semantic.color.data.positive`.
|
|
3173
3255
|
*/
|
|
3174
3256
|
'credit-hover': string;
|
|
3175
3257
|
/**
|
|
3176
3258
|
* Color for negative monetary values, debits, expenses
|
|
3177
3259
|
*
|
|
3178
|
-
* @deprecated Moved to the component tier as component.transaction.debit (decision 0031 §6). Removed in 3.0.
|
|
3260
|
+
* @deprecated Moved to the component tier as component.transaction.debit (decision 0031 §6). Removed in 3.0. Use `semantic.color.data.negative`.
|
|
3179
3261
|
*/
|
|
3180
3262
|
debit: string;
|
|
3181
3263
|
/**
|
|
3182
3264
|
* Hover state for debit-colored interactive elements
|
|
3183
3265
|
*
|
|
3184
|
-
* @deprecated Moved to the component tier as component.transaction.debit-hover (decision 0031 §6). Removed in 3.0.
|
|
3266
|
+
* @deprecated Moved to the component tier as component.transaction.debit-hover (decision 0031 §6). Removed in 3.0. Use `semantic.color.data.negative`.
|
|
3185
3267
|
*/
|
|
3186
3268
|
'debit-hover': string;
|
|
3187
3269
|
/**
|
|
3188
3270
|
* Color for pending or processing financial transactions
|
|
3189
3271
|
*
|
|
3190
|
-
* @deprecated Moved to the component tier as component.transaction.pending (decision 0031 §6). Removed in 3.0.
|
|
3272
|
+
* @deprecated Moved to the component tier as component.transaction.pending (decision 0031 §6). Removed in 3.0. Use `semantic.color.text.muted`.
|
|
3191
3273
|
*/
|
|
3192
3274
|
pending: string;
|
|
3193
3275
|
/**
|
|
3194
3276
|
* Neutral color for informational monetary amounts
|
|
3195
3277
|
*
|
|
3196
|
-
* @deprecated Moved to the component tier as component.transaction.neutral (decision 0031 §6). Removed in 3.0.
|
|
3278
|
+
* @deprecated Moved to the component tier as component.transaction.neutral (decision 0031 §6). Removed in 3.0. Use `semantic.color.text.muted`.
|
|
3197
3279
|
*/
|
|
3198
3280
|
neutral: string;
|
|
3199
3281
|
};
|
|
3200
3282
|
category: {
|
|
3201
|
-
/**
|
|
3283
|
+
/**
|
|
3284
|
+
* Blue category color for general/miscellaneous
|
|
3285
|
+
*
|
|
3286
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Blue is now periwinkle. Removed in 3.0. Use `semantic.color.category.periwinkle`.
|
|
3287
|
+
*/
|
|
3202
3288
|
blue: string;
|
|
3203
|
-
/**
|
|
3289
|
+
/**
|
|
3290
|
+
* Strong step of the blue category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3291
|
+
*
|
|
3292
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Blue is now periwinkle. Removed in 3.0. Use `semantic.color.category.periwinkle-strong`.
|
|
3293
|
+
*/
|
|
3204
3294
|
'blue-strong': string;
|
|
3205
3295
|
/**
|
|
3206
3296
|
* Strong step of the blue category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3207
3297
|
*
|
|
3208
|
-
* @deprecated "emphasis" means near-black, so use semantic.color.category.blue-strong (decision 0029). Removed in 3.0.
|
|
3298
|
+
* @deprecated "emphasis" means near-black, so use semantic.color.category.blue-strong (decision 0029). Removed in 3.0. Use `semantic.color.category.periwinkle-strong`.
|
|
3209
3299
|
*/
|
|
3210
3300
|
'blue-emphasis': string;
|
|
3211
3301
|
/**
|
|
3212
3302
|
* Subtle blue background
|
|
3213
3303
|
*
|
|
3214
|
-
* @deprecated Renamed to semantic.color.category.blue-muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3304
|
+
* @deprecated Renamed to semantic.color.category.blue-muted by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.color.category.periwinkle-muted`.
|
|
3215
3305
|
*/
|
|
3216
3306
|
'blue-subtle': string;
|
|
3217
|
-
/**
|
|
3307
|
+
/**
|
|
3308
|
+
* Purple category color for entertainment
|
|
3309
|
+
*
|
|
3310
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Purple is now magenta. Removed in 3.0. Use `semantic.color.category.magenta`.
|
|
3311
|
+
*/
|
|
3218
3312
|
purple: string;
|
|
3219
|
-
/**
|
|
3313
|
+
/**
|
|
3314
|
+
* Strong step of the purple category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3315
|
+
*
|
|
3316
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Purple is now magenta. Removed in 3.0. Use `semantic.color.category.magenta-strong`.
|
|
3317
|
+
*/
|
|
3220
3318
|
'purple-strong': string;
|
|
3221
3319
|
/**
|
|
3222
3320
|
* Strong step of the purple category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3223
3321
|
*
|
|
3224
|
-
* @deprecated "emphasis" means near-black, so use semantic.color.category.purple-strong (decision 0029). Removed in 3.0.
|
|
3322
|
+
* @deprecated "emphasis" means near-black, so use semantic.color.category.purple-strong (decision 0029). Removed in 3.0. Use `semantic.color.category.magenta-strong`.
|
|
3225
3323
|
*/
|
|
3226
3324
|
'purple-emphasis': string;
|
|
3227
3325
|
/**
|
|
3228
3326
|
* Subtle purple background
|
|
3229
3327
|
*
|
|
3230
|
-
* @deprecated Renamed to semantic.color.category.purple-muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3328
|
+
* @deprecated Renamed to semantic.color.category.purple-muted by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.color.category.magenta-muted`.
|
|
3231
3329
|
*/
|
|
3232
3330
|
'purple-subtle': string;
|
|
3233
|
-
/**
|
|
3331
|
+
/**
|
|
3332
|
+
* Pink category color for health/wellness
|
|
3333
|
+
*
|
|
3334
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Pink is now rose. Removed in 3.0. Use `semantic.color.category.rose`.
|
|
3335
|
+
*/
|
|
3234
3336
|
pink: string;
|
|
3235
|
-
/**
|
|
3337
|
+
/**
|
|
3338
|
+
* Strong step of the pink category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3339
|
+
*
|
|
3340
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Pink is now rose. Removed in 3.0. Use `semantic.color.category.rose-strong`.
|
|
3341
|
+
*/
|
|
3236
3342
|
'pink-strong': string;
|
|
3237
3343
|
/**
|
|
3238
3344
|
* Strong step of the pink category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3239
3345
|
*
|
|
3240
|
-
* @deprecated "emphasis" means near-black, so use semantic.color.category.pink-strong (decision 0029). Removed in 3.0.
|
|
3346
|
+
* @deprecated "emphasis" means near-black, so use semantic.color.category.pink-strong (decision 0029). Removed in 3.0. Use `semantic.color.category.rose-strong`.
|
|
3241
3347
|
*/
|
|
3242
3348
|
'pink-emphasis': string;
|
|
3243
3349
|
/**
|
|
3244
3350
|
* Subtle pink background
|
|
3245
3351
|
*
|
|
3246
|
-
* @deprecated Renamed to semantic.color.category.pink-muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3352
|
+
* @deprecated Renamed to semantic.color.category.pink-muted by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.color.category.rose-muted`.
|
|
3247
3353
|
*/
|
|
3248
3354
|
'pink-subtle': string;
|
|
3249
|
-
/**
|
|
3355
|
+
/**
|
|
3356
|
+
* Yellow category color for utilities
|
|
3357
|
+
*
|
|
3358
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Yellow is now olive. Removed in 3.0. Use `semantic.color.category.olive`.
|
|
3359
|
+
*/
|
|
3250
3360
|
yellow: string;
|
|
3251
|
-
/**
|
|
3361
|
+
/**
|
|
3362
|
+
* Strong step of the yellow category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3363
|
+
*
|
|
3364
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Yellow is now olive. Removed in 3.0. Use `semantic.color.category.olive-strong`.
|
|
3365
|
+
*/
|
|
3252
3366
|
'yellow-strong': string;
|
|
3253
3367
|
/**
|
|
3254
3368
|
* Strong step of the yellow category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3255
3369
|
*
|
|
3256
|
-
* @deprecated "emphasis" means near-black, so use semantic.color.category.yellow-strong (decision 0029). Removed in 3.0.
|
|
3370
|
+
* @deprecated "emphasis" means near-black, so use semantic.color.category.yellow-strong (decision 0029). Removed in 3.0. Use `semantic.color.category.olive-strong`.
|
|
3257
3371
|
*/
|
|
3258
3372
|
'yellow-emphasis': string;
|
|
3259
3373
|
/**
|
|
3260
3374
|
* Subtle yellow background
|
|
3261
3375
|
*
|
|
3262
|
-
* @deprecated Renamed to semantic.color.category.yellow-muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3376
|
+
* @deprecated Renamed to semantic.color.category.yellow-muted by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.color.category.olive-muted`.
|
|
3263
3377
|
*/
|
|
3264
3378
|
'yellow-subtle': string;
|
|
3265
|
-
/**
|
|
3379
|
+
/**
|
|
3380
|
+
* Green category color for income
|
|
3381
|
+
*
|
|
3382
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Green is now olive. Removed in 3.0. Use `semantic.color.category.olive`.
|
|
3383
|
+
*/
|
|
3266
3384
|
green: string;
|
|
3267
|
-
/**
|
|
3385
|
+
/**
|
|
3386
|
+
* Strong step of the green category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3387
|
+
*
|
|
3388
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Green is now olive. Removed in 3.0. Use `semantic.color.category.olive-strong`.
|
|
3389
|
+
*/
|
|
3268
3390
|
'green-strong': string;
|
|
3269
3391
|
/**
|
|
3270
3392
|
* Strong step of the green category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3271
3393
|
*
|
|
3272
|
-
* @deprecated "emphasis" means near-black, so use semantic.color.category.green-strong (decision 0029). Removed in 3.0.
|
|
3394
|
+
* @deprecated "emphasis" means near-black, so use semantic.color.category.green-strong (decision 0029). Removed in 3.0. Use `semantic.color.category.olive-strong`.
|
|
3273
3395
|
*/
|
|
3274
3396
|
'green-emphasis': string;
|
|
3275
3397
|
/**
|
|
3276
3398
|
* Subtle green background
|
|
3277
3399
|
*
|
|
3278
|
-
* @deprecated Renamed to semantic.color.category.green-muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3400
|
+
* @deprecated Renamed to semantic.color.category.green-muted by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.color.category.olive-muted`.
|
|
3279
3401
|
*/
|
|
3280
3402
|
'green-subtle': string;
|
|
3281
|
-
/**
|
|
3403
|
+
/**
|
|
3404
|
+
* Red category color for expenses
|
|
3405
|
+
*
|
|
3406
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Red is now rose. Removed in 3.0. Use `semantic.color.category.rose`.
|
|
3407
|
+
*/
|
|
3282
3408
|
red: string;
|
|
3283
|
-
/**
|
|
3409
|
+
/**
|
|
3410
|
+
* Strong step of the red category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3411
|
+
*
|
|
3412
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Red is now rose. Removed in 3.0. Use `semantic.color.category.rose-strong`.
|
|
3413
|
+
*/
|
|
3284
3414
|
'red-strong': string;
|
|
3285
3415
|
/**
|
|
3286
3416
|
* Strong step of the red category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3287
3417
|
*
|
|
3288
|
-
* @deprecated "emphasis" means near-black, so use semantic.color.category.red-strong (decision 0029). Removed in 3.0.
|
|
3418
|
+
* @deprecated "emphasis" means near-black, so use semantic.color.category.red-strong (decision 0029). Removed in 3.0. Use `semantic.color.category.rose-strong`.
|
|
3289
3419
|
*/
|
|
3290
3420
|
'red-emphasis': string;
|
|
3291
3421
|
/**
|
|
3292
3422
|
* Subtle red background
|
|
3293
3423
|
*
|
|
3294
|
-
* @deprecated Renamed to semantic.color.category.red-muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3424
|
+
* @deprecated Renamed to semantic.color.category.red-muted by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.color.category.rose-muted`.
|
|
3295
3425
|
*/
|
|
3296
3426
|
'red-subtle': string;
|
|
3297
|
-
/**
|
|
3427
|
+
/**
|
|
3428
|
+
* Orange category color for food & dining
|
|
3429
|
+
*
|
|
3430
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Orange is now rose. Removed in 3.0. Use `semantic.color.category.rose`.
|
|
3431
|
+
*/
|
|
3298
3432
|
orange: string;
|
|
3299
|
-
/**
|
|
3433
|
+
/**
|
|
3434
|
+
* Strong step of the orange category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3435
|
+
*
|
|
3436
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Orange is now rose. Removed in 3.0. Use `semantic.color.category.rose-strong`.
|
|
3437
|
+
*/
|
|
3300
3438
|
'orange-strong': string;
|
|
3301
3439
|
/**
|
|
3302
3440
|
* Strong step of the orange category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
3303
3441
|
*
|
|
3304
|
-
* @deprecated "emphasis" means near-black, so use semantic.color.category.orange-strong (decision 0029). Removed in 3.0.
|
|
3442
|
+
* @deprecated "emphasis" means near-black, so use semantic.color.category.orange-strong (decision 0029). Removed in 3.0. Use `semantic.color.category.rose-strong`.
|
|
3305
3443
|
*/
|
|
3306
3444
|
'orange-emphasis': string;
|
|
3307
3445
|
/**
|
|
3308
3446
|
* Subtle orange background
|
|
3309
3447
|
*
|
|
3310
|
-
* @deprecated Renamed to semantic.color.category.orange-muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3448
|
+
* @deprecated Renamed to semantic.color.category.orange-muted by the semantic grammar (decision 0031). Removed in 3.0. Use `semantic.color.category.rose-muted`.
|
|
3311
3449
|
*/
|
|
3312
3450
|
'orange-subtle': string;
|
|
3313
|
-
/** Gray category
|
|
3451
|
+
/** Gray category (decision 0043: neutral, for uncategorised or "other"): the outline of an outlined CategoryLabel. 3.19:1 on white. */
|
|
3314
3452
|
gray: string;
|
|
3315
|
-
/** Strong step of the gray category: the fill of a filled CategoryLabel, with white text
|
|
3453
|
+
/** Strong step of the gray category: the fill of a filled CategoryLabel, with white text at 6.01:1. */
|
|
3316
3454
|
'gray-strong': string;
|
|
3317
3455
|
/**
|
|
3318
3456
|
* Strong step of the gray category: the fill of a filled CategoryLabel, with white text (decision 0029).
|
|
@@ -3326,38 +3464,126 @@ export type Tokens = {
|
|
|
3326
3464
|
* @deprecated Renamed to semantic.color.category.gray-muted by the semantic grammar (decision 0031). Removed in 3.0.
|
|
3327
3465
|
*/
|
|
3328
3466
|
'gray-subtle': string;
|
|
3329
|
-
/**
|
|
3467
|
+
/**
|
|
3468
|
+
* Text and icons of an outlined or minimal blue CategoryLabel, on white or blue-muted.
|
|
3469
|
+
*
|
|
3470
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Blue is now periwinkle. Removed in 3.0. Use `semantic.color.category.periwinkle-text`.
|
|
3471
|
+
*/
|
|
3330
3472
|
'blue-text': string;
|
|
3331
|
-
/**
|
|
3473
|
+
/**
|
|
3474
|
+
* Text and icons of an outlined or minimal purple CategoryLabel, on white or purple-muted.
|
|
3475
|
+
*
|
|
3476
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Purple is now magenta. Removed in 3.0. Use `semantic.color.category.magenta-text`.
|
|
3477
|
+
*/
|
|
3332
3478
|
'purple-text': string;
|
|
3333
|
-
/**
|
|
3479
|
+
/**
|
|
3480
|
+
* Text and icons of an outlined or minimal pink CategoryLabel, on white or pink-muted.
|
|
3481
|
+
*
|
|
3482
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Pink is now rose. Removed in 3.0. Use `semantic.color.category.rose-text`.
|
|
3483
|
+
*/
|
|
3334
3484
|
'pink-text': string;
|
|
3335
|
-
/**
|
|
3485
|
+
/**
|
|
3486
|
+
* Text and icons of an outlined or minimal yellow CategoryLabel, on white or yellow-muted.
|
|
3487
|
+
*
|
|
3488
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Yellow is now olive. Removed in 3.0. Use `semantic.color.category.olive-text`.
|
|
3489
|
+
*/
|
|
3336
3490
|
'yellow-text': string;
|
|
3337
|
-
/**
|
|
3491
|
+
/**
|
|
3492
|
+
* Text and icons of an outlined or minimal green CategoryLabel, on white or green-muted.
|
|
3493
|
+
*
|
|
3494
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Green is now olive. Removed in 3.0. Use `semantic.color.category.olive-text`.
|
|
3495
|
+
*/
|
|
3338
3496
|
'green-text': string;
|
|
3339
|
-
/**
|
|
3497
|
+
/**
|
|
3498
|
+
* Text and icons of an outlined or minimal red CategoryLabel, on white or red-muted.
|
|
3499
|
+
*
|
|
3500
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Red is now rose. Removed in 3.0. Use `semantic.color.category.rose-text`.
|
|
3501
|
+
*/
|
|
3340
3502
|
'red-text': string;
|
|
3341
|
-
/**
|
|
3503
|
+
/**
|
|
3504
|
+
* Text and icons of an outlined or minimal orange CategoryLabel, on white or orange-muted.
|
|
3505
|
+
*
|
|
3506
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Orange is now rose. Removed in 3.0. Use `semantic.color.category.rose-text`.
|
|
3507
|
+
*/
|
|
3342
3508
|
'orange-text': string;
|
|
3343
|
-
/** Text and icons of an outlined or minimal gray CategoryLabel
|
|
3509
|
+
/** Text and icons of an outlined or minimal gray CategoryLabel. 6.01:1 on white, 5.37:1 on gray-muted. */
|
|
3344
3510
|
'gray-text': string;
|
|
3345
|
-
/**
|
|
3511
|
+
/**
|
|
3512
|
+
* Light blue fill of a blue CategoryLabel, behind the blue-text colour.
|
|
3513
|
+
*
|
|
3514
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Blue is now periwinkle. Removed in 3.0. Use `semantic.color.category.periwinkle-muted`.
|
|
3515
|
+
*/
|
|
3346
3516
|
'blue-muted': string;
|
|
3347
|
-
/**
|
|
3517
|
+
/**
|
|
3518
|
+
* Light purple fill of a purple CategoryLabel, behind the purple-text colour.
|
|
3519
|
+
*
|
|
3520
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Purple is now magenta. Removed in 3.0. Use `semantic.color.category.magenta-muted`.
|
|
3521
|
+
*/
|
|
3348
3522
|
'purple-muted': string;
|
|
3349
|
-
/**
|
|
3523
|
+
/**
|
|
3524
|
+
* Light pink fill of a pink CategoryLabel, behind the pink-text colour.
|
|
3525
|
+
*
|
|
3526
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Pink is now rose. Removed in 3.0. Use `semantic.color.category.rose-muted`.
|
|
3527
|
+
*/
|
|
3350
3528
|
'pink-muted': string;
|
|
3351
|
-
/**
|
|
3529
|
+
/**
|
|
3530
|
+
* Light yellow fill of a yellow CategoryLabel, behind the yellow-text colour.
|
|
3531
|
+
*
|
|
3532
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Yellow is now olive. Removed in 3.0. Use `semantic.color.category.olive-muted`.
|
|
3533
|
+
*/
|
|
3352
3534
|
'yellow-muted': string;
|
|
3353
|
-
/**
|
|
3535
|
+
/**
|
|
3536
|
+
* Light green fill of a green CategoryLabel, behind the green-text colour.
|
|
3537
|
+
*
|
|
3538
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Green is now olive. Removed in 3.0. Use `semantic.color.category.olive-muted`.
|
|
3539
|
+
*/
|
|
3354
3540
|
'green-muted': string;
|
|
3355
|
-
/**
|
|
3541
|
+
/**
|
|
3542
|
+
* Light red fill of a red CategoryLabel, behind the red-text colour.
|
|
3543
|
+
*
|
|
3544
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Red is now rose. Removed in 3.0. Use `semantic.color.category.rose-muted`.
|
|
3545
|
+
*/
|
|
3356
3546
|
'red-muted': string;
|
|
3357
|
-
/**
|
|
3547
|
+
/**
|
|
3548
|
+
* Light orange fill of a orange CategoryLabel, behind the orange-text colour.
|
|
3549
|
+
*
|
|
3550
|
+
* @deprecated Category labels use the display colours, which carry no meaning (decision 0043). Orange is now rose. Removed in 3.0. Use `semantic.color.category.rose-muted`.
|
|
3551
|
+
*/
|
|
3358
3552
|
'orange-muted': string;
|
|
3359
|
-
/** Light gray fill of a
|
|
3553
|
+
/** Light gray fill of a minimal CategoryLabel, behind the gray-text colour. */
|
|
3360
3554
|
'gray-muted': string;
|
|
3555
|
+
/** Olive category (decision 0043: no meaning): the outline of an outlined CategoryLabel. 3.18:1 on white. */
|
|
3556
|
+
olive: string;
|
|
3557
|
+
/** Strong step of the olive category: the fill of a filled CategoryLabel, with white text at 6.02:1. */
|
|
3558
|
+
'olive-strong': string;
|
|
3559
|
+
/** Text and icons of an outlined or minimal olive CategoryLabel. 6.02:1 on white, 5.39:1 on olive-muted. */
|
|
3560
|
+
'olive-text': string;
|
|
3561
|
+
/** Light olive fill of a minimal CategoryLabel, behind the olive-text colour. */
|
|
3562
|
+
'olive-muted': string;
|
|
3563
|
+
/** Periwinkle category (decision 0043: no meaning): the outline of an outlined CategoryLabel. 3.20:1 on white. */
|
|
3564
|
+
periwinkle: string;
|
|
3565
|
+
/** Strong step of the periwinkle category: the fill of a filled CategoryLabel, with white text at 6.00:1. */
|
|
3566
|
+
'periwinkle-strong': string;
|
|
3567
|
+
/** Text and icons of an outlined or minimal periwinkle CategoryLabel. 6.00:1 on white, 5.37:1 on periwinkle-muted. */
|
|
3568
|
+
'periwinkle-text': string;
|
|
3569
|
+
/** Light periwinkle fill of a minimal CategoryLabel, behind the periwinkle-text colour. */
|
|
3570
|
+
'periwinkle-muted': string;
|
|
3571
|
+
/** Rose category (decision 0043: no meaning): the outline of an outlined CategoryLabel. 3.20:1 on white. */
|
|
3572
|
+
rose: string;
|
|
3573
|
+
/** Strong step of the rose category: the fill of a filled CategoryLabel, with white text at 5.99:1. */
|
|
3574
|
+
'rose-strong': string;
|
|
3575
|
+
/** Text and icons of an outlined or minimal rose CategoryLabel. 5.99:1 on white, 5.33:1 on rose-muted. */
|
|
3576
|
+
'rose-text': string;
|
|
3577
|
+
/** Light rose fill of a minimal CategoryLabel, behind the rose-text colour. */
|
|
3578
|
+
'rose-muted': string;
|
|
3579
|
+
/** Magenta category (decision 0043: no meaning): the outline of an outlined CategoryLabel. 3.20:1 on white. */
|
|
3580
|
+
magenta: string;
|
|
3581
|
+
/** Strong step of the magenta category: the fill of a filled CategoryLabel, with white text at 6.02:1. */
|
|
3582
|
+
'magenta-strong': string;
|
|
3583
|
+
/** Text and icons of an outlined or minimal magenta CategoryLabel. 6.02:1 on white, 5.38:1 on magenta-muted. */
|
|
3584
|
+
'magenta-text': string;
|
|
3585
|
+
/** Light magenta fill of a minimal CategoryLabel, behind the magenta-text colour. */
|
|
3586
|
+
'magenta-muted': string;
|
|
3361
3587
|
};
|
|
3362
3588
|
status: {
|
|
3363
3589
|
/**
|
|
@@ -3434,47 +3660,55 @@ export type Tokens = {
|
|
|
3434
3660
|
'scheduled-bg': string;
|
|
3435
3661
|
};
|
|
3436
3662
|
fill: {
|
|
3437
|
-
/**
|
|
3663
|
+
/** Strong near-black fill for the primary Button and IconButton and the emphasis Chip, with text.inverse on it (15.91:1). Hover and pressed mix in text.inverse at opacity.state (decision 0048). */
|
|
3438
3664
|
emphasis: string;
|
|
3439
|
-
/**
|
|
3665
|
+
/**
|
|
3666
|
+
* Fill of a hovered emphasis control, such as the primary Button.
|
|
3667
|
+
*
|
|
3668
|
+
* @deprecated Strong-fill states mix text.inverse into fill.emphasis at opacity.state.hover and opacity.state.pressed (decision 0048). Removed in 3.0.
|
|
3669
|
+
*/
|
|
3440
3670
|
'emphasis-hover': string;
|
|
3441
|
-
/**
|
|
3671
|
+
/**
|
|
3672
|
+
* Fill of a pressed emphasis control, such as the primary Button.
|
|
3673
|
+
*
|
|
3674
|
+
* @deprecated Strong-fill states mix text.inverse into fill.emphasis at opacity.state.hover and opacity.state.pressed (decision 0048). Removed in 3.0.
|
|
3675
|
+
*/
|
|
3442
3676
|
'emphasis-pressed': string;
|
|
3443
|
-
/** Light grey fill for quiet grouped content, such as the default Chip. */
|
|
3677
|
+
/** Light grey fill for quiet grouped content, such as the default Chip. The resting fill step, so it shows on the page. */
|
|
3444
3678
|
muted: string;
|
|
3445
3679
|
/** Dark fill for inverse elements: a checked Checkbox, Modal and Sheet drag handles. */
|
|
3446
3680
|
inverse: string;
|
|
3447
|
-
/** Blue fill for the accent Button and other deliberate highlights
|
|
3681
|
+
/** Blue fill for the accent Button and other deliberate highlights (0003), with text.inverse on it at 6.00:1. */
|
|
3448
3682
|
accent: string;
|
|
3449
|
-
/** Light blue fill for selected items: a selected chip, tab or row
|
|
3683
|
+
/** Light blue fill for selected items: a selected chip, tab or row (0016). Accent text on it is 5.37:1. */
|
|
3450
3684
|
'accent-muted': string;
|
|
3451
3685
|
/** Fill of a hovered selected item, such as a selected filter chip. */
|
|
3452
3686
|
'accent-muted-hover': string;
|
|
3453
3687
|
/** Fill of a pressed selected item, such as a selected filter chip. */
|
|
3454
3688
|
'accent-muted-pressed': string;
|
|
3455
|
-
/** Blue fill of a hovered accent control
|
|
3689
|
+
/** Blue fill of a hovered accent control: fill.accent with text.inverse mixed in at opacity.state.hover (decision 0048). */
|
|
3456
3690
|
'accent-hover': string;
|
|
3457
|
-
/** Blue fill of a pressed accent control
|
|
3691
|
+
/** Blue fill of a pressed accent control: fill.accent with text.inverse mixed in at opacity.state.pressed (decision 0048). */
|
|
3458
3692
|
'accent-pressed': string;
|
|
3459
|
-
/** Strong red fill for destructive actions, such as the danger Button. */
|
|
3693
|
+
/** Strong red fill for destructive actions, such as the danger Button, with text.inverse on it at 6.03:1. */
|
|
3460
3694
|
danger: string;
|
|
3461
|
-
/** Fill of a hovered destructive control
|
|
3695
|
+
/** Fill of a hovered destructive control: fill.danger with text.inverse mixed in at opacity.state.hover (decision 0048). */
|
|
3462
3696
|
'danger-hover': string;
|
|
3463
|
-
/** Fill of a pressed destructive control
|
|
3697
|
+
/** Fill of a pressed destructive control: fill.danger with text.inverse mixed in at opacity.state.pressed (decision 0048). */
|
|
3464
3698
|
'danger-pressed': string;
|
|
3465
|
-
/** Light red tint behind error messages, such as an error Alert. */
|
|
3699
|
+
/** Light red tint behind error messages, such as an error Alert. Danger text on it is 5.39:1. */
|
|
3466
3700
|
'danger-muted': string;
|
|
3467
|
-
/** Strong green fill for success states, such as a success indicator. */
|
|
3701
|
+
/** Strong green fill for success states, such as a success indicator, with text.inverse on it at 5.99:1. */
|
|
3468
3702
|
success: string;
|
|
3469
|
-
/** Light green tint behind success messages, such as a success Alert. */
|
|
3703
|
+
/** Light green tint behind success messages, such as a success Alert. Success text on it is 5.34:1. */
|
|
3470
3704
|
'success-muted': string;
|
|
3471
|
-
/** Strong
|
|
3705
|
+
/** Strong yellow fill for warning states, such as a warning indicator, with text.inverse on it at 6.01:1. */
|
|
3472
3706
|
warning: string;
|
|
3473
|
-
/** Light
|
|
3707
|
+
/** Light yellow tint behind warning messages, such as a warning Alert. Warning text on it is 5.37:1. */
|
|
3474
3708
|
'warning-muted': string;
|
|
3475
3709
|
/** Fill of a disabled control, such as a disabled Button or Switch. */
|
|
3476
3710
|
disabled: string;
|
|
3477
|
-
/** Fill of a neutral control at rest, such as the secondary Button. */
|
|
3711
|
+
/** Fill of a neutral control at rest, such as the secondary Button (decision 0040). */
|
|
3478
3712
|
default: string;
|
|
3479
3713
|
/** Fill of a hovered neutral control, such as the secondary Button. */
|
|
3480
3714
|
'default-hover': string;
|
|
@@ -3488,6 +3722,62 @@ export type Tokens = {
|
|
|
3488
3722
|
'none-pressed': string;
|
|
3489
3723
|
/** Hover tint for a fill-less element on a dark background, such as a count on a dark tab. */
|
|
3490
3724
|
'inverse-none-hover': string;
|
|
3725
|
+
/** Strong orange fill for serious-warning states, with text.inverse on it at 6.04:1. */
|
|
3726
|
+
serious: string;
|
|
3727
|
+
/** Light orange tint behind serious-warning messages. */
|
|
3728
|
+
'serious-muted': string;
|
|
3729
|
+
/** Light purple tint behind AI-generated content and agent proposals, always with the AI icon and a label (0043). */
|
|
3730
|
+
'ai-muted': string;
|
|
3731
|
+
};
|
|
3732
|
+
/** Colours for charts and other data display (decision 0043). Each chart type has its own set; a chart never mixes them, and every value or series also carries a label, sign or legend. */
|
|
3733
|
+
data: {
|
|
3734
|
+
/** Good values and money in: gains, rises, credits. Always with a sign or arrow. 3.75:1 on white, the same step as negative so neither looks heavier. */
|
|
3735
|
+
positive: string;
|
|
3736
|
+
/** Bad values and money out: losses, falls, debits. Always with a sign or arrow. 3.74:1 on white, 0.118 apart from positive under every kind of colour vision. */
|
|
3737
|
+
negative: string;
|
|
3738
|
+
/** Category series, in order, with no meaning; group more than four coloured series into other, or label them directly. */
|
|
3739
|
+
categorical: {
|
|
3740
|
+
/** Category series 1 (olive). 6.02:1 on white. */
|
|
3741
|
+
'1': string;
|
|
3742
|
+
/** Category series 2 (periwinkle). 3.20:1 on white. */
|
|
3743
|
+
'2': string;
|
|
3744
|
+
/** Category series 3 (rose). 3.20:1 on white. */
|
|
3745
|
+
'3': string;
|
|
3746
|
+
/** Category series 4 (magenta). 6.02:1 on white. */
|
|
3747
|
+
'4': string;
|
|
3748
|
+
/** The other or remaining series, always last and labelled. 3.19:1 on white. */
|
|
3749
|
+
other: string;
|
|
3750
|
+
};
|
|
3751
|
+
diverging: {
|
|
3752
|
+
/** A comparison with no good or bad, from olive through neutral grey to magenta. */
|
|
3753
|
+
balance: {
|
|
3754
|
+
/** Diverging step 1 of 5. The strongest olive end. 6.02:1 on white. */
|
|
3755
|
+
'1': string;
|
|
3756
|
+
/** Diverging step 2 of 5. The lighter olive side. 3.18:1 on white. */
|
|
3757
|
+
'2': string;
|
|
3758
|
+
/** Diverging step 3 of 5. The neutral centre: no difference. */
|
|
3759
|
+
'3': string;
|
|
3760
|
+
/** Diverging step 4 of 5. The lighter magenta side. 3.20:1 on white. */
|
|
3761
|
+
'4': string;
|
|
3762
|
+
/** Diverging step 5 of 5. The strongest magenta end. 6.02:1 on white. */
|
|
3763
|
+
'5': string;
|
|
3764
|
+
};
|
|
3765
|
+
};
|
|
3766
|
+
sequential: {
|
|
3767
|
+
/** Magnitude, from the lowest value (1) to the highest (5), in periwinkle. */
|
|
3768
|
+
periwinkle: {
|
|
3769
|
+
/** Sequential step 1 of 5. 1.12:1 on white. */
|
|
3770
|
+
'1': string;
|
|
3771
|
+
/** Sequential step 2 of 5. 1.37:1 on white. */
|
|
3772
|
+
'2': string;
|
|
3773
|
+
/** Sequential step 3 of 5. 3.20:1 on white. */
|
|
3774
|
+
'3': string;
|
|
3775
|
+
/** Sequential step 4 of 5. 4.37:1 on white. */
|
|
3776
|
+
'4': string;
|
|
3777
|
+
/** Sequential step 5 of 5. 15.91:1 on white. */
|
|
3778
|
+
'5': string;
|
|
3779
|
+
};
|
|
3780
|
+
};
|
|
3491
3781
|
};
|
|
3492
3782
|
};
|
|
3493
3783
|
typography: {
|
|
@@ -3538,7 +3828,7 @@ export type Tokens = {
|
|
|
3538
3828
|
/**
|
|
3539
3829
|
* Breadcrumb-sized text; not used today, as Breadcrumbs uses typography.caption.
|
|
3540
3830
|
*
|
|
3541
|
-
* @deprecated Moved to the component tier as component.breadcrumbs.font (decision 0031 §6). Removed in 3.0.
|
|
3831
|
+
* @deprecated Moved to the component tier as component.breadcrumbs.font (decision 0031 §6). Removed in 3.0. Use `semantic.typography.caption`.
|
|
3542
3832
|
*/
|
|
3543
3833
|
breadcrumb: string;
|
|
3544
3834
|
};
|