@vectoriox/iox-ui 5.30.0 → 5.31.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/composite-core/index.d.ts +270 -0
- package/composite-core/package.json +3 -0
- package/design-core/index.d.ts +870 -41
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs +698 -0
- package/fesm2022/vectoriox-iox-ui-composite-core.mjs.map +1 -0
- package/fesm2022/vectoriox-iox-ui-design-core.mjs +1090 -82
- package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs +110 -30
- package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +134 -31
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/generation-core/index.d.ts +35 -23
- package/index.d.ts +41 -15
- package/package.json +5 -1
- package/src/composite-core/badge.ts +103 -0
- package/src/composite-core/card.ts +524 -0
- package/src/composite-core/composite-node.ts +143 -0
- package/src/composite-core/public-api.ts +11 -0
- package/src/composite-core/structure.ts +58 -0
- package/src/design-core/contrast-audit.ts +38 -5
- package/src/design-core/flavor-fixtures.generated.ts +144 -144
- package/src/design-core/flavor-spec.generated.ts +970 -26
- package/src/design-core/node-classes.ts +16 -4
- package/src/design-core/node-links.ts +29 -0
- package/src/generation-core/compose-site.ts +55 -1
- package/src/generation-core/node-baselines.generated.ts +14 -2
- package/src/generation-core/patterns.ts +29 -2
- package/src/generation-core/serialized-node.ts +2 -0
- package/src/generation-core/site-spec.generated.ts +13 -26
- package/styles/iox-design.css +62 -0
|
@@ -186,6 +186,18 @@ export const SPEC_TIERS = {
|
|
|
186
186
|
"group": "colour",
|
|
187
187
|
"desc": "Error fill"
|
|
188
188
|
},
|
|
189
|
+
{
|
|
190
|
+
"name": "warning",
|
|
191
|
+
"type": "color",
|
|
192
|
+
"group": "colour",
|
|
193
|
+
"desc": "Warning text (Card v2 badge tone) — AA on warning-bg"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "warning-bg",
|
|
197
|
+
"type": "color",
|
|
198
|
+
"group": "colour",
|
|
199
|
+
"desc": "Warning fill"
|
|
200
|
+
},
|
|
189
201
|
{
|
|
190
202
|
"name": "scrim",
|
|
191
203
|
"type": "color",
|
|
@@ -911,6 +923,76 @@ export const SPEC_TIERS = {
|
|
|
911
923
|
"name": "divider-color",
|
|
912
924
|
"type": "color",
|
|
913
925
|
"default": "var(--iox-line)"
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "badge-radius",
|
|
929
|
+
"type": "radius",
|
|
930
|
+
"default": "var(--iox-radius-pill)"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"name": "badge-pad",
|
|
934
|
+
"type": "spacing",
|
|
935
|
+
"default": "3px 10px"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
"name": "badge-size",
|
|
939
|
+
"type": "size",
|
|
940
|
+
"default": "var(--iox-size-label)"
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"name": "badge-neutral-bg",
|
|
944
|
+
"type": "color",
|
|
945
|
+
"default": "var(--iox-surface-2)"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "badge-neutral-ink",
|
|
949
|
+
"type": "color",
|
|
950
|
+
"default": "var(--iox-text)"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"name": "badge-success-bg",
|
|
954
|
+
"type": "color",
|
|
955
|
+
"default": "var(--iox-success-bg)"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"name": "badge-success-ink",
|
|
959
|
+
"type": "color",
|
|
960
|
+
"default": "var(--iox-success)"
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"name": "badge-warning-bg",
|
|
964
|
+
"type": "color",
|
|
965
|
+
"default": "var(--iox-warning-bg)"
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
"name": "badge-warning-ink",
|
|
969
|
+
"type": "color",
|
|
970
|
+
"default": "var(--iox-warning)"
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "badge-accent-bg",
|
|
974
|
+
"type": "color",
|
|
975
|
+
"default": "var(--iox-accent)"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "badge-accent-ink",
|
|
979
|
+
"type": "color",
|
|
980
|
+
"default": "var(--iox-accent-ink)"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"name": "chip-border",
|
|
984
|
+
"type": "color",
|
|
985
|
+
"default": "var(--iox-line-strong)"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"name": "media-scrim",
|
|
989
|
+
"type": "color",
|
|
990
|
+
"default": "rgba(0, 0, 0, 0.62)"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"name": "media-scrim-ink",
|
|
994
|
+
"type": "color",
|
|
995
|
+
"default": "#FFFFFF"
|
|
914
996
|
}
|
|
915
997
|
]
|
|
916
998
|
} as const;
|
|
@@ -1186,7 +1268,9 @@ export const SPEC_SCHEMES = {
|
|
|
1186
1268
|
"danger": "{{~danger}}",
|
|
1187
1269
|
"danger-bg": "{{~danger-bg}}",
|
|
1188
1270
|
"success": "{{~success}}",
|
|
1189
|
-
"success-bg": "{{~success-bg}}"
|
|
1271
|
+
"success-bg": "{{~success-bg}}",
|
|
1272
|
+
"warning": "{{~warning}}",
|
|
1273
|
+
"warning-bg": "{{~warning-bg}}"
|
|
1190
1274
|
}
|
|
1191
1275
|
},
|
|
1192
1276
|
"accent": {
|
|
@@ -1210,7 +1294,9 @@ export const SPEC_SCHEMES = {
|
|
|
1210
1294
|
"danger": "{{accent-ink}}",
|
|
1211
1295
|
"danger-bg": "{{accent-hover}}",
|
|
1212
1296
|
"success": "{{accent-ink}}",
|
|
1213
|
-
"success-bg": "{{accent-hover}}"
|
|
1297
|
+
"success-bg": "{{accent-hover}}",
|
|
1298
|
+
"warning": "{{accent-ink}}",
|
|
1299
|
+
"warning-bg": "{{accent-hover}}"
|
|
1214
1300
|
}
|
|
1215
1301
|
}
|
|
1216
1302
|
} as const;
|
|
@@ -1712,6 +1798,114 @@ export const SPEC_ELEMENT_STYLES = [
|
|
|
1712
1798
|
],
|
|
1713
1799
|
"base": {}
|
|
1714
1800
|
},
|
|
1801
|
+
{
|
|
1802
|
+
"id": "badge-neutral",
|
|
1803
|
+
"label": "Badge · Neutral",
|
|
1804
|
+
"group": "Content blocks",
|
|
1805
|
+
"appliesTo": [
|
|
1806
|
+
"Container"
|
|
1807
|
+
],
|
|
1808
|
+
"base": {
|
|
1809
|
+
"backgroundColor": "var(--iox-badge-neutral-bg)",
|
|
1810
|
+
"color": "var(--iox-badge-neutral-ink)",
|
|
1811
|
+
"borderRadius": "var(--iox-badge-radius)",
|
|
1812
|
+
"padding": "var(--iox-badge-pad)",
|
|
1813
|
+
"fontFamily": "var(--iox-font-label)",
|
|
1814
|
+
"fontSize": "var(--iox-badge-size)",
|
|
1815
|
+
"fontWeight": "var(--iox-weight-label)",
|
|
1816
|
+
"letterSpacing": "var(--iox-tracking-label)",
|
|
1817
|
+
"textTransform": "var(--iox-case-label)"
|
|
1818
|
+
}
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"id": "badge-success",
|
|
1822
|
+
"label": "Badge · Success",
|
|
1823
|
+
"group": "Content blocks",
|
|
1824
|
+
"appliesTo": [
|
|
1825
|
+
"Container"
|
|
1826
|
+
],
|
|
1827
|
+
"base": {
|
|
1828
|
+
"backgroundColor": "var(--iox-badge-success-bg)",
|
|
1829
|
+
"color": "var(--iox-badge-success-ink)",
|
|
1830
|
+
"borderRadius": "var(--iox-badge-radius)",
|
|
1831
|
+
"padding": "var(--iox-badge-pad)",
|
|
1832
|
+
"fontFamily": "var(--iox-font-label)",
|
|
1833
|
+
"fontSize": "var(--iox-badge-size)",
|
|
1834
|
+
"fontWeight": "var(--iox-weight-label)",
|
|
1835
|
+
"letterSpacing": "var(--iox-tracking-label)",
|
|
1836
|
+
"textTransform": "var(--iox-case-label)"
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"id": "badge-warning",
|
|
1841
|
+
"label": "Badge · Warning",
|
|
1842
|
+
"group": "Content blocks",
|
|
1843
|
+
"appliesTo": [
|
|
1844
|
+
"Container"
|
|
1845
|
+
],
|
|
1846
|
+
"base": {
|
|
1847
|
+
"backgroundColor": "var(--iox-badge-warning-bg)",
|
|
1848
|
+
"color": "var(--iox-badge-warning-ink)",
|
|
1849
|
+
"borderRadius": "var(--iox-badge-radius)",
|
|
1850
|
+
"padding": "var(--iox-badge-pad)",
|
|
1851
|
+
"fontFamily": "var(--iox-font-label)",
|
|
1852
|
+
"fontSize": "var(--iox-badge-size)",
|
|
1853
|
+
"fontWeight": "var(--iox-weight-label)",
|
|
1854
|
+
"letterSpacing": "var(--iox-tracking-label)",
|
|
1855
|
+
"textTransform": "var(--iox-case-label)"
|
|
1856
|
+
}
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"id": "badge-accent",
|
|
1860
|
+
"label": "Badge · Accent",
|
|
1861
|
+
"group": "Content blocks",
|
|
1862
|
+
"appliesTo": [
|
|
1863
|
+
"Container"
|
|
1864
|
+
],
|
|
1865
|
+
"base": {
|
|
1866
|
+
"backgroundColor": "var(--iox-badge-accent-bg)",
|
|
1867
|
+
"color": "var(--iox-badge-accent-ink)",
|
|
1868
|
+
"borderRadius": "var(--iox-badge-radius)",
|
|
1869
|
+
"padding": "var(--iox-badge-pad)",
|
|
1870
|
+
"fontFamily": "var(--iox-font-label)",
|
|
1871
|
+
"fontSize": "var(--iox-badge-size)",
|
|
1872
|
+
"fontWeight": "var(--iox-weight-label)",
|
|
1873
|
+
"letterSpacing": "var(--iox-tracking-label)",
|
|
1874
|
+
"textTransform": "var(--iox-case-label)"
|
|
1875
|
+
}
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
"id": "chip",
|
|
1879
|
+
"label": "Chip",
|
|
1880
|
+
"group": "Content blocks",
|
|
1881
|
+
"appliesTo": [
|
|
1882
|
+
"Container"
|
|
1883
|
+
],
|
|
1884
|
+
"base": {
|
|
1885
|
+
"backgroundColor": "transparent",
|
|
1886
|
+
"color": "var(--iox-text)",
|
|
1887
|
+
"borderStyle": "solid",
|
|
1888
|
+
"borderWidth": "var(--iox-border-width)",
|
|
1889
|
+
"borderColor": "var(--iox-chip-border)",
|
|
1890
|
+
"borderRadius": "var(--iox-badge-radius)",
|
|
1891
|
+
"padding": "var(--iox-badge-pad)",
|
|
1892
|
+
"fontFamily": "var(--iox-font-label)",
|
|
1893
|
+
"fontSize": "var(--iox-badge-size)",
|
|
1894
|
+
"fontWeight": "var(--iox-weight-label)"
|
|
1895
|
+
}
|
|
1896
|
+
},
|
|
1897
|
+
{
|
|
1898
|
+
"id": "media-scrim",
|
|
1899
|
+
"label": "Text over image",
|
|
1900
|
+
"group": "Content blocks",
|
|
1901
|
+
"appliesTo": [
|
|
1902
|
+
"Container"
|
|
1903
|
+
],
|
|
1904
|
+
"base": {
|
|
1905
|
+
"backgroundColor": "linear-gradient(180deg, transparent 0%, var(--iox-media-scrim) 45%)",
|
|
1906
|
+
"color": "var(--iox-media-scrim-ink)"
|
|
1907
|
+
}
|
|
1908
|
+
},
|
|
1715
1909
|
{
|
|
1716
1910
|
"id": "notice-success",
|
|
1717
1911
|
"label": "Success message",
|
|
@@ -1776,16 +1970,6 @@ export const SPEC_BUTTON_VARIANT_TO_STYLE = {
|
|
|
1776
1970
|
} as const;
|
|
1777
1971
|
|
|
1778
1972
|
export const SPEC_PALETTE_PRESETS = [
|
|
1779
|
-
{
|
|
1780
|
-
"label": "Card",
|
|
1781
|
-
"type": "Container",
|
|
1782
|
-
"elementStyle": "card",
|
|
1783
|
-
"styleProps": {
|
|
1784
|
-
"display": "flex",
|
|
1785
|
-
"flexDirection": "column",
|
|
1786
|
-
"gap": "var(--iox-space-gap)"
|
|
1787
|
-
}
|
|
1788
|
-
},
|
|
1789
1973
|
{
|
|
1790
1974
|
"label": "Panel",
|
|
1791
1975
|
"type": "Container",
|
|
@@ -2002,6 +2186,33 @@ export const SPEC_INK_SCOPES = [
|
|
|
2002
2186
|
"link-hover-color": "currentColor",
|
|
2003
2187
|
"text-muted": "currentColor"
|
|
2004
2188
|
}
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"styles": [
|
|
2192
|
+
"badge-neutral",
|
|
2193
|
+
"badge-success",
|
|
2194
|
+
"badge-warning",
|
|
2195
|
+
"badge-accent",
|
|
2196
|
+
"chip"
|
|
2197
|
+
],
|
|
2198
|
+
"set": {
|
|
2199
|
+
"icon-color": "currentColor"
|
|
2200
|
+
}
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"styles": [
|
|
2204
|
+
"media-scrim"
|
|
2205
|
+
],
|
|
2206
|
+
"children": true,
|
|
2207
|
+
"set": {
|
|
2208
|
+
"heading-color": "currentColor",
|
|
2209
|
+
"eyebrow-color": "currentColor",
|
|
2210
|
+
"text-muted": "currentColor",
|
|
2211
|
+
"link-color": "currentColor",
|
|
2212
|
+
"link-hover-color": "currentColor",
|
|
2213
|
+
"icon-color": "currentColor",
|
|
2214
|
+
"button-ghost-ink": "currentColor"
|
|
2215
|
+
}
|
|
2005
2216
|
}
|
|
2006
2217
|
] as const;
|
|
2007
2218
|
|
|
@@ -2067,6 +2278,11 @@ export const SPEC_CONTRAST_AUDIT = {
|
|
|
2067
2278
|
"bg": "danger-bg",
|
|
2068
2279
|
"min": 4.5
|
|
2069
2280
|
},
|
|
2281
|
+
{
|
|
2282
|
+
"fg": "warning",
|
|
2283
|
+
"bg": "warning-bg",
|
|
2284
|
+
"min": 4.5
|
|
2285
|
+
},
|
|
2070
2286
|
{
|
|
2071
2287
|
"fg": "accent-ink",
|
|
2072
2288
|
"bg": "accent-hover",
|
|
@@ -2213,6 +2429,14 @@ export const SPEC_CONTRAST_AUDIT = {
|
|
|
2213
2429
|
"fg": "var(--iox-line-strong)",
|
|
2214
2430
|
"min": 3
|
|
2215
2431
|
}
|
|
2432
|
+
],
|
|
2433
|
+
"scrims": [
|
|
2434
|
+
{
|
|
2435
|
+
"style": "media-scrim",
|
|
2436
|
+
"token": "media-scrim",
|
|
2437
|
+
"scheme": "inverse",
|
|
2438
|
+
"image": "#FFFFFF"
|
|
2439
|
+
}
|
|
2216
2440
|
]
|
|
2217
2441
|
} as const;
|
|
2218
2442
|
|
|
@@ -2336,6 +2560,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
2336
2560
|
"success-bg": "#E7F4EC",
|
|
2337
2561
|
"danger": "#B3261E",
|
|
2338
2562
|
"danger-bg": "#FBE9E7",
|
|
2563
|
+
"warning": "#7A4A00",
|
|
2564
|
+
"warning-bg": "#FBF0D9",
|
|
2339
2565
|
"scrim": "rgba(15, 17, 21, 0.45)"
|
|
2340
2566
|
},
|
|
2341
2567
|
"dark": {
|
|
@@ -2361,6 +2587,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
2361
2587
|
"success-bg": "#13291C",
|
|
2362
2588
|
"danger": "#FF8A80",
|
|
2363
2589
|
"danger-bg": "#3A1715",
|
|
2590
|
+
"warning": "#F2C46D",
|
|
2591
|
+
"warning-bg": "#2E2210",
|
|
2364
2592
|
"scrim": "rgba(0, 0, 0, 0.6)"
|
|
2365
2593
|
}
|
|
2366
2594
|
},
|
|
@@ -2602,6 +2830,22 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
2602
2830
|
"value": "#FBE9E7",
|
|
2603
2831
|
"dark": "#3A1715"
|
|
2604
2832
|
},
|
|
2833
|
+
{
|
|
2834
|
+
"name": "warning",
|
|
2835
|
+
"tier": "semantic",
|
|
2836
|
+
"type": "color",
|
|
2837
|
+
"group": "colour",
|
|
2838
|
+
"value": "#7A4A00",
|
|
2839
|
+
"dark": "#F2C46D"
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"name": "warning-bg",
|
|
2843
|
+
"tier": "semantic",
|
|
2844
|
+
"type": "color",
|
|
2845
|
+
"group": "colour",
|
|
2846
|
+
"value": "#FBF0D9",
|
|
2847
|
+
"dark": "#2E2210"
|
|
2848
|
+
},
|
|
2605
2849
|
{
|
|
2606
2850
|
"name": "scrim",
|
|
2607
2851
|
"tier": "semantic",
|
|
@@ -3543,6 +3787,104 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
3543
3787
|
"type": "color",
|
|
3544
3788
|
"group": "components",
|
|
3545
3789
|
"value": "var(--iox-line)"
|
|
3790
|
+
},
|
|
3791
|
+
{
|
|
3792
|
+
"name": "badge-radius",
|
|
3793
|
+
"tier": "component",
|
|
3794
|
+
"type": "radius",
|
|
3795
|
+
"group": "components",
|
|
3796
|
+
"value": "var(--iox-radius-pill)"
|
|
3797
|
+
},
|
|
3798
|
+
{
|
|
3799
|
+
"name": "badge-pad",
|
|
3800
|
+
"tier": "component",
|
|
3801
|
+
"type": "spacing",
|
|
3802
|
+
"group": "components",
|
|
3803
|
+
"value": "3px 10px"
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
"name": "badge-size",
|
|
3807
|
+
"tier": "component",
|
|
3808
|
+
"type": "size",
|
|
3809
|
+
"group": "components",
|
|
3810
|
+
"value": "var(--iox-size-label)"
|
|
3811
|
+
},
|
|
3812
|
+
{
|
|
3813
|
+
"name": "badge-neutral-bg",
|
|
3814
|
+
"tier": "component",
|
|
3815
|
+
"type": "color",
|
|
3816
|
+
"group": "components",
|
|
3817
|
+
"value": "var(--iox-surface-2)"
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"name": "badge-neutral-ink",
|
|
3821
|
+
"tier": "component",
|
|
3822
|
+
"type": "color",
|
|
3823
|
+
"group": "components",
|
|
3824
|
+
"value": "var(--iox-text)"
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"name": "badge-success-bg",
|
|
3828
|
+
"tier": "component",
|
|
3829
|
+
"type": "color",
|
|
3830
|
+
"group": "components",
|
|
3831
|
+
"value": "var(--iox-success-bg)"
|
|
3832
|
+
},
|
|
3833
|
+
{
|
|
3834
|
+
"name": "badge-success-ink",
|
|
3835
|
+
"tier": "component",
|
|
3836
|
+
"type": "color",
|
|
3837
|
+
"group": "components",
|
|
3838
|
+
"value": "var(--iox-success)"
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
"name": "badge-warning-bg",
|
|
3842
|
+
"tier": "component",
|
|
3843
|
+
"type": "color",
|
|
3844
|
+
"group": "components",
|
|
3845
|
+
"value": "var(--iox-warning-bg)"
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"name": "badge-warning-ink",
|
|
3849
|
+
"tier": "component",
|
|
3850
|
+
"type": "color",
|
|
3851
|
+
"group": "components",
|
|
3852
|
+
"value": "var(--iox-warning)"
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"name": "badge-accent-bg",
|
|
3856
|
+
"tier": "component",
|
|
3857
|
+
"type": "color",
|
|
3858
|
+
"group": "components",
|
|
3859
|
+
"value": "var(--iox-accent)"
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"name": "badge-accent-ink",
|
|
3863
|
+
"tier": "component",
|
|
3864
|
+
"type": "color",
|
|
3865
|
+
"group": "components",
|
|
3866
|
+
"value": "var(--iox-accent-ink)"
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"name": "chip-border",
|
|
3870
|
+
"tier": "component",
|
|
3871
|
+
"type": "color",
|
|
3872
|
+
"group": "components",
|
|
3873
|
+
"value": "var(--iox-line-strong)"
|
|
3874
|
+
},
|
|
3875
|
+
{
|
|
3876
|
+
"name": "media-scrim",
|
|
3877
|
+
"tier": "component",
|
|
3878
|
+
"type": "color",
|
|
3879
|
+
"group": "components",
|
|
3880
|
+
"value": "rgba(0, 0, 0, 0.62)"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"name": "media-scrim-ink",
|
|
3884
|
+
"tier": "component",
|
|
3885
|
+
"type": "color",
|
|
3886
|
+
"group": "components",
|
|
3887
|
+
"value": "#FFFFFF"
|
|
3546
3888
|
}
|
|
3547
3889
|
]
|
|
3548
3890
|
},
|
|
@@ -3659,6 +4001,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
3659
4001
|
"success-bg": "#E9EEDF",
|
|
3660
4002
|
"danger": "#9A3324",
|
|
3661
4003
|
"danger-bg": "#F5E3DC",
|
|
4004
|
+
"warning": "#7A4A00",
|
|
4005
|
+
"warning-bg": "#FBF0D9",
|
|
3662
4006
|
"scrim": "rgba(31, 27, 22, 0.5)"
|
|
3663
4007
|
},
|
|
3664
4008
|
"dark": {
|
|
@@ -3684,6 +4028,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
3684
4028
|
"success-bg": "#1E2619",
|
|
3685
4029
|
"danger": "#E8A08F",
|
|
3686
4030
|
"danger-bg": "#2E1A15",
|
|
4031
|
+
"warning": "#F2C46D",
|
|
4032
|
+
"warning-bg": "#2E2210",
|
|
3687
4033
|
"scrim": "rgba(0, 0, 0, 0.6)"
|
|
3688
4034
|
}
|
|
3689
4035
|
},
|
|
@@ -3925,6 +4271,22 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
3925
4271
|
"value": "#F5E3DC",
|
|
3926
4272
|
"dark": "#2E1A15"
|
|
3927
4273
|
},
|
|
4274
|
+
{
|
|
4275
|
+
"name": "warning",
|
|
4276
|
+
"tier": "semantic",
|
|
4277
|
+
"type": "color",
|
|
4278
|
+
"group": "colour",
|
|
4279
|
+
"value": "#7A4A00",
|
|
4280
|
+
"dark": "#F2C46D"
|
|
4281
|
+
},
|
|
4282
|
+
{
|
|
4283
|
+
"name": "warning-bg",
|
|
4284
|
+
"tier": "semantic",
|
|
4285
|
+
"type": "color",
|
|
4286
|
+
"group": "colour",
|
|
4287
|
+
"value": "#FBF0D9",
|
|
4288
|
+
"dark": "#2E2210"
|
|
4289
|
+
},
|
|
3928
4290
|
{
|
|
3929
4291
|
"name": "scrim",
|
|
3930
4292
|
"tier": "semantic",
|
|
@@ -4886,20 +5248,118 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
4886
5248
|
"type": "color",
|
|
4887
5249
|
"group": "components",
|
|
4888
5250
|
"value": "var(--iox-line)"
|
|
4889
|
-
}
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
5251
|
+
},
|
|
5252
|
+
{
|
|
5253
|
+
"name": "badge-radius",
|
|
5254
|
+
"tier": "component",
|
|
5255
|
+
"type": "radius",
|
|
5256
|
+
"group": "components",
|
|
5257
|
+
"value": "var(--iox-radius-pill)"
|
|
5258
|
+
},
|
|
5259
|
+
{
|
|
5260
|
+
"name": "badge-pad",
|
|
5261
|
+
"tier": "component",
|
|
5262
|
+
"type": "spacing",
|
|
5263
|
+
"group": "components",
|
|
5264
|
+
"value": "3px 10px"
|
|
5265
|
+
},
|
|
5266
|
+
{
|
|
5267
|
+
"name": "badge-size",
|
|
5268
|
+
"tier": "component",
|
|
5269
|
+
"type": "size",
|
|
5270
|
+
"group": "components",
|
|
5271
|
+
"value": "var(--iox-size-label)"
|
|
5272
|
+
},
|
|
5273
|
+
{
|
|
5274
|
+
"name": "badge-neutral-bg",
|
|
5275
|
+
"tier": "component",
|
|
5276
|
+
"type": "color",
|
|
5277
|
+
"group": "components",
|
|
5278
|
+
"value": "var(--iox-surface-2)"
|
|
5279
|
+
},
|
|
5280
|
+
{
|
|
5281
|
+
"name": "badge-neutral-ink",
|
|
5282
|
+
"tier": "component",
|
|
5283
|
+
"type": "color",
|
|
5284
|
+
"group": "components",
|
|
5285
|
+
"value": "var(--iox-text)"
|
|
5286
|
+
},
|
|
5287
|
+
{
|
|
5288
|
+
"name": "badge-success-bg",
|
|
5289
|
+
"tier": "component",
|
|
5290
|
+
"type": "color",
|
|
5291
|
+
"group": "components",
|
|
5292
|
+
"value": "var(--iox-success-bg)"
|
|
5293
|
+
},
|
|
5294
|
+
{
|
|
5295
|
+
"name": "badge-success-ink",
|
|
5296
|
+
"tier": "component",
|
|
5297
|
+
"type": "color",
|
|
5298
|
+
"group": "components",
|
|
5299
|
+
"value": "var(--iox-success)"
|
|
5300
|
+
},
|
|
5301
|
+
{
|
|
5302
|
+
"name": "badge-warning-bg",
|
|
5303
|
+
"tier": "component",
|
|
5304
|
+
"type": "color",
|
|
5305
|
+
"group": "components",
|
|
5306
|
+
"value": "var(--iox-warning-bg)"
|
|
5307
|
+
},
|
|
5308
|
+
{
|
|
5309
|
+
"name": "badge-warning-ink",
|
|
5310
|
+
"tier": "component",
|
|
5311
|
+
"type": "color",
|
|
5312
|
+
"group": "components",
|
|
5313
|
+
"value": "var(--iox-warning)"
|
|
5314
|
+
},
|
|
5315
|
+
{
|
|
5316
|
+
"name": "badge-accent-bg",
|
|
5317
|
+
"tier": "component",
|
|
5318
|
+
"type": "color",
|
|
5319
|
+
"group": "components",
|
|
5320
|
+
"value": "var(--iox-accent)"
|
|
5321
|
+
},
|
|
5322
|
+
{
|
|
5323
|
+
"name": "badge-accent-ink",
|
|
5324
|
+
"tier": "component",
|
|
5325
|
+
"type": "color",
|
|
5326
|
+
"group": "components",
|
|
5327
|
+
"value": "var(--iox-accent-ink)"
|
|
5328
|
+
},
|
|
5329
|
+
{
|
|
5330
|
+
"name": "chip-border",
|
|
5331
|
+
"tier": "component",
|
|
5332
|
+
"type": "color",
|
|
5333
|
+
"group": "components",
|
|
5334
|
+
"value": "var(--iox-line-strong)"
|
|
5335
|
+
},
|
|
5336
|
+
{
|
|
5337
|
+
"name": "media-scrim",
|
|
5338
|
+
"tier": "component",
|
|
5339
|
+
"type": "color",
|
|
5340
|
+
"group": "components",
|
|
5341
|
+
"value": "rgba(0, 0, 0, 0.62)"
|
|
5342
|
+
},
|
|
5343
|
+
{
|
|
5344
|
+
"name": "media-scrim-ink",
|
|
5345
|
+
"tier": "component",
|
|
5346
|
+
"type": "color",
|
|
5347
|
+
"group": "components",
|
|
5348
|
+
"value": "#FFFFFF"
|
|
5349
|
+
}
|
|
5350
|
+
]
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
"id": "midnight",
|
|
5354
|
+
"name": "Midnight",
|
|
5355
|
+
"personality": "Bold",
|
|
5356
|
+
"inspiredBy": "Dark product sites — Linear, Vercel, Raycast",
|
|
5357
|
+
"blurb": "Dark, sharp, glowing.",
|
|
5358
|
+
"popularFor": [
|
|
5359
|
+
"SaaS & AI tools",
|
|
5360
|
+
"Fintech",
|
|
5361
|
+
"Gaming",
|
|
5362
|
+
"Events & nightlife"
|
|
4903
5363
|
],
|
|
4904
5364
|
"defaults": {
|
|
4905
5365
|
"shape": "soft",
|
|
@@ -5004,6 +5464,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
5004
5464
|
"success-bg": "#E7F4EC",
|
|
5005
5465
|
"danger": "#B3261E",
|
|
5006
5466
|
"danger-bg": "#FBE9E7",
|
|
5467
|
+
"warning": "#7A4A00",
|
|
5468
|
+
"warning-bg": "#FBF0D9",
|
|
5007
5469
|
"scrim": "rgba(8, 9, 10, 0.55)"
|
|
5008
5470
|
},
|
|
5009
5471
|
"dark": {
|
|
@@ -5029,6 +5491,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
5029
5491
|
"success-bg": "#0F2418",
|
|
5030
5492
|
"danger": "#FF7B72",
|
|
5031
5493
|
"danger-bg": "#2D1213",
|
|
5494
|
+
"warning": "#F2C46D",
|
|
5495
|
+
"warning-bg": "#2E2210",
|
|
5032
5496
|
"scrim": "rgba(0, 0, 0, 0.7)"
|
|
5033
5497
|
}
|
|
5034
5498
|
},
|
|
@@ -5270,6 +5734,22 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
5270
5734
|
"value": "#FBE9E7",
|
|
5271
5735
|
"dark": "#2D1213"
|
|
5272
5736
|
},
|
|
5737
|
+
{
|
|
5738
|
+
"name": "warning",
|
|
5739
|
+
"tier": "semantic",
|
|
5740
|
+
"type": "color",
|
|
5741
|
+
"group": "colour",
|
|
5742
|
+
"value": "#7A4A00",
|
|
5743
|
+
"dark": "#F2C46D"
|
|
5744
|
+
},
|
|
5745
|
+
{
|
|
5746
|
+
"name": "warning-bg",
|
|
5747
|
+
"tier": "semantic",
|
|
5748
|
+
"type": "color",
|
|
5749
|
+
"group": "colour",
|
|
5750
|
+
"value": "#FBF0D9",
|
|
5751
|
+
"dark": "#2E2210"
|
|
5752
|
+
},
|
|
5273
5753
|
{
|
|
5274
5754
|
"name": "scrim",
|
|
5275
5755
|
"tier": "semantic",
|
|
@@ -6220,6 +6700,104 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
6220
6700
|
"type": "color",
|
|
6221
6701
|
"group": "components",
|
|
6222
6702
|
"value": "var(--iox-line)"
|
|
6703
|
+
},
|
|
6704
|
+
{
|
|
6705
|
+
"name": "badge-radius",
|
|
6706
|
+
"tier": "component",
|
|
6707
|
+
"type": "radius",
|
|
6708
|
+
"group": "components",
|
|
6709
|
+
"value": "var(--iox-radius-pill)"
|
|
6710
|
+
},
|
|
6711
|
+
{
|
|
6712
|
+
"name": "badge-pad",
|
|
6713
|
+
"tier": "component",
|
|
6714
|
+
"type": "spacing",
|
|
6715
|
+
"group": "components",
|
|
6716
|
+
"value": "3px 10px"
|
|
6717
|
+
},
|
|
6718
|
+
{
|
|
6719
|
+
"name": "badge-size",
|
|
6720
|
+
"tier": "component",
|
|
6721
|
+
"type": "size",
|
|
6722
|
+
"group": "components",
|
|
6723
|
+
"value": "var(--iox-size-label)"
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
"name": "badge-neutral-bg",
|
|
6727
|
+
"tier": "component",
|
|
6728
|
+
"type": "color",
|
|
6729
|
+
"group": "components",
|
|
6730
|
+
"value": "var(--iox-surface-2)"
|
|
6731
|
+
},
|
|
6732
|
+
{
|
|
6733
|
+
"name": "badge-neutral-ink",
|
|
6734
|
+
"tier": "component",
|
|
6735
|
+
"type": "color",
|
|
6736
|
+
"group": "components",
|
|
6737
|
+
"value": "var(--iox-text)"
|
|
6738
|
+
},
|
|
6739
|
+
{
|
|
6740
|
+
"name": "badge-success-bg",
|
|
6741
|
+
"tier": "component",
|
|
6742
|
+
"type": "color",
|
|
6743
|
+
"group": "components",
|
|
6744
|
+
"value": "var(--iox-success-bg)"
|
|
6745
|
+
},
|
|
6746
|
+
{
|
|
6747
|
+
"name": "badge-success-ink",
|
|
6748
|
+
"tier": "component",
|
|
6749
|
+
"type": "color",
|
|
6750
|
+
"group": "components",
|
|
6751
|
+
"value": "var(--iox-success)"
|
|
6752
|
+
},
|
|
6753
|
+
{
|
|
6754
|
+
"name": "badge-warning-bg",
|
|
6755
|
+
"tier": "component",
|
|
6756
|
+
"type": "color",
|
|
6757
|
+
"group": "components",
|
|
6758
|
+
"value": "var(--iox-warning-bg)"
|
|
6759
|
+
},
|
|
6760
|
+
{
|
|
6761
|
+
"name": "badge-warning-ink",
|
|
6762
|
+
"tier": "component",
|
|
6763
|
+
"type": "color",
|
|
6764
|
+
"group": "components",
|
|
6765
|
+
"value": "var(--iox-warning)"
|
|
6766
|
+
},
|
|
6767
|
+
{
|
|
6768
|
+
"name": "badge-accent-bg",
|
|
6769
|
+
"tier": "component",
|
|
6770
|
+
"type": "color",
|
|
6771
|
+
"group": "components",
|
|
6772
|
+
"value": "var(--iox-accent)"
|
|
6773
|
+
},
|
|
6774
|
+
{
|
|
6775
|
+
"name": "badge-accent-ink",
|
|
6776
|
+
"tier": "component",
|
|
6777
|
+
"type": "color",
|
|
6778
|
+
"group": "components",
|
|
6779
|
+
"value": "var(--iox-accent-ink)"
|
|
6780
|
+
},
|
|
6781
|
+
{
|
|
6782
|
+
"name": "chip-border",
|
|
6783
|
+
"tier": "component",
|
|
6784
|
+
"type": "color",
|
|
6785
|
+
"group": "components",
|
|
6786
|
+
"value": "var(--iox-line-strong)"
|
|
6787
|
+
},
|
|
6788
|
+
{
|
|
6789
|
+
"name": "media-scrim",
|
|
6790
|
+
"tier": "component",
|
|
6791
|
+
"type": "color",
|
|
6792
|
+
"group": "components",
|
|
6793
|
+
"value": "rgba(0, 0, 0, 0.62)"
|
|
6794
|
+
},
|
|
6795
|
+
{
|
|
6796
|
+
"name": "media-scrim-ink",
|
|
6797
|
+
"tier": "component",
|
|
6798
|
+
"type": "color",
|
|
6799
|
+
"group": "components",
|
|
6800
|
+
"value": "#FFFFFF"
|
|
6223
6801
|
}
|
|
6224
6802
|
]
|
|
6225
6803
|
},
|
|
@@ -6335,6 +6913,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
6335
6913
|
"success-bg": "#E3F5EA",
|
|
6336
6914
|
"danger": "#B3261E",
|
|
6337
6915
|
"danger-bg": "#FCE8E6",
|
|
6916
|
+
"warning": "#7A4A00",
|
|
6917
|
+
"warning-bg": "#FBF0D9",
|
|
6338
6918
|
"scrim": "rgba(15, 23, 42, 0.30)"
|
|
6339
6919
|
},
|
|
6340
6920
|
"dark": {
|
|
@@ -6364,6 +6944,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
6364
6944
|
"success-bg": "#12291C",
|
|
6365
6945
|
"danger": "#FF8A80",
|
|
6366
6946
|
"danger-bg": "#3A1715",
|
|
6947
|
+
"warning": "#F2C46D",
|
|
6948
|
+
"warning-bg": "#2E2210",
|
|
6367
6949
|
"scrim": "rgba(0, 0, 0, 0.5)"
|
|
6368
6950
|
}
|
|
6369
6951
|
},
|
|
@@ -6616,6 +7198,22 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
6616
7198
|
"value": "#FCE8E6",
|
|
6617
7199
|
"dark": "#3A1715"
|
|
6618
7200
|
},
|
|
7201
|
+
{
|
|
7202
|
+
"name": "warning",
|
|
7203
|
+
"tier": "semantic",
|
|
7204
|
+
"type": "color",
|
|
7205
|
+
"group": "colour",
|
|
7206
|
+
"value": "#7A4A00",
|
|
7207
|
+
"dark": "#F2C46D"
|
|
7208
|
+
},
|
|
7209
|
+
{
|
|
7210
|
+
"name": "warning-bg",
|
|
7211
|
+
"tier": "semantic",
|
|
7212
|
+
"type": "color",
|
|
7213
|
+
"group": "colour",
|
|
7214
|
+
"value": "#FBF0D9",
|
|
7215
|
+
"dark": "#2E2210"
|
|
7216
|
+
},
|
|
6619
7217
|
{
|
|
6620
7218
|
"name": "scrim",
|
|
6621
7219
|
"tier": "semantic",
|
|
@@ -7585,6 +8183,104 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
7585
8183
|
"type": "color",
|
|
7586
8184
|
"group": "components",
|
|
7587
8185
|
"value": "var(--iox-line)"
|
|
8186
|
+
},
|
|
8187
|
+
{
|
|
8188
|
+
"name": "badge-radius",
|
|
8189
|
+
"tier": "component",
|
|
8190
|
+
"type": "radius",
|
|
8191
|
+
"group": "components",
|
|
8192
|
+
"value": "var(--iox-radius-pill)"
|
|
8193
|
+
},
|
|
8194
|
+
{
|
|
8195
|
+
"name": "badge-pad",
|
|
8196
|
+
"tier": "component",
|
|
8197
|
+
"type": "spacing",
|
|
8198
|
+
"group": "components",
|
|
8199
|
+
"value": "3px 10px"
|
|
8200
|
+
},
|
|
8201
|
+
{
|
|
8202
|
+
"name": "badge-size",
|
|
8203
|
+
"tier": "component",
|
|
8204
|
+
"type": "size",
|
|
8205
|
+
"group": "components",
|
|
8206
|
+
"value": "var(--iox-size-label)"
|
|
8207
|
+
},
|
|
8208
|
+
{
|
|
8209
|
+
"name": "badge-neutral-bg",
|
|
8210
|
+
"tier": "component",
|
|
8211
|
+
"type": "color",
|
|
8212
|
+
"group": "components",
|
|
8213
|
+
"value": "var(--iox-surface-2)"
|
|
8214
|
+
},
|
|
8215
|
+
{
|
|
8216
|
+
"name": "badge-neutral-ink",
|
|
8217
|
+
"tier": "component",
|
|
8218
|
+
"type": "color",
|
|
8219
|
+
"group": "components",
|
|
8220
|
+
"value": "var(--iox-text)"
|
|
8221
|
+
},
|
|
8222
|
+
{
|
|
8223
|
+
"name": "badge-success-bg",
|
|
8224
|
+
"tier": "component",
|
|
8225
|
+
"type": "color",
|
|
8226
|
+
"group": "components",
|
|
8227
|
+
"value": "var(--iox-success-bg)"
|
|
8228
|
+
},
|
|
8229
|
+
{
|
|
8230
|
+
"name": "badge-success-ink",
|
|
8231
|
+
"tier": "component",
|
|
8232
|
+
"type": "color",
|
|
8233
|
+
"group": "components",
|
|
8234
|
+
"value": "var(--iox-success)"
|
|
8235
|
+
},
|
|
8236
|
+
{
|
|
8237
|
+
"name": "badge-warning-bg",
|
|
8238
|
+
"tier": "component",
|
|
8239
|
+
"type": "color",
|
|
8240
|
+
"group": "components",
|
|
8241
|
+
"value": "var(--iox-warning-bg)"
|
|
8242
|
+
},
|
|
8243
|
+
{
|
|
8244
|
+
"name": "badge-warning-ink",
|
|
8245
|
+
"tier": "component",
|
|
8246
|
+
"type": "color",
|
|
8247
|
+
"group": "components",
|
|
8248
|
+
"value": "var(--iox-warning)"
|
|
8249
|
+
},
|
|
8250
|
+
{
|
|
8251
|
+
"name": "badge-accent-bg",
|
|
8252
|
+
"tier": "component",
|
|
8253
|
+
"type": "color",
|
|
8254
|
+
"group": "components",
|
|
8255
|
+
"value": "var(--iox-accent)"
|
|
8256
|
+
},
|
|
8257
|
+
{
|
|
8258
|
+
"name": "badge-accent-ink",
|
|
8259
|
+
"tier": "component",
|
|
8260
|
+
"type": "color",
|
|
8261
|
+
"group": "components",
|
|
8262
|
+
"value": "var(--iox-accent-ink)"
|
|
8263
|
+
},
|
|
8264
|
+
{
|
|
8265
|
+
"name": "chip-border",
|
|
8266
|
+
"tier": "component",
|
|
8267
|
+
"type": "color",
|
|
8268
|
+
"group": "components",
|
|
8269
|
+
"value": "var(--iox-line-strong)"
|
|
8270
|
+
},
|
|
8271
|
+
{
|
|
8272
|
+
"name": "media-scrim",
|
|
8273
|
+
"tier": "component",
|
|
8274
|
+
"type": "color",
|
|
8275
|
+
"group": "components",
|
|
8276
|
+
"value": "rgba(0, 0, 0, 0.62)"
|
|
8277
|
+
},
|
|
8278
|
+
{
|
|
8279
|
+
"name": "media-scrim-ink",
|
|
8280
|
+
"tier": "component",
|
|
8281
|
+
"type": "color",
|
|
8282
|
+
"group": "components",
|
|
8283
|
+
"value": "#FFFFFF"
|
|
7588
8284
|
}
|
|
7589
8285
|
]
|
|
7590
8286
|
},
|
|
@@ -7700,6 +8396,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
7700
8396
|
"success-bg": "#DDF3E3",
|
|
7701
8397
|
"danger": "#B3261E",
|
|
7702
8398
|
"danger-bg": "#F9DEDC",
|
|
8399
|
+
"warning": "#7A4A00",
|
|
8400
|
+
"warning-bg": "#FBF0D9",
|
|
7703
8401
|
"scrim": "rgba(29, 27, 32, 0.4)"
|
|
7704
8402
|
},
|
|
7705
8403
|
"dark": {
|
|
@@ -7725,6 +8423,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
7725
8423
|
"success-bg": "#123620",
|
|
7726
8424
|
"danger": "#F2B8B5",
|
|
7727
8425
|
"danger-bg": "#601410",
|
|
8426
|
+
"warning": "#F2C46D",
|
|
8427
|
+
"warning-bg": "#2E2210",
|
|
7728
8428
|
"scrim": "rgba(0, 0, 0, 0.55)"
|
|
7729
8429
|
}
|
|
7730
8430
|
},
|
|
@@ -7965,6 +8665,22 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
7965
8665
|
"value": "#F9DEDC",
|
|
7966
8666
|
"dark": "#601410"
|
|
7967
8667
|
},
|
|
8668
|
+
{
|
|
8669
|
+
"name": "warning",
|
|
8670
|
+
"tier": "semantic",
|
|
8671
|
+
"type": "color",
|
|
8672
|
+
"group": "colour",
|
|
8673
|
+
"value": "#7A4A00",
|
|
8674
|
+
"dark": "#F2C46D"
|
|
8675
|
+
},
|
|
8676
|
+
{
|
|
8677
|
+
"name": "warning-bg",
|
|
8678
|
+
"tier": "semantic",
|
|
8679
|
+
"type": "color",
|
|
8680
|
+
"group": "colour",
|
|
8681
|
+
"value": "#FBF0D9",
|
|
8682
|
+
"dark": "#2E2210"
|
|
8683
|
+
},
|
|
7968
8684
|
{
|
|
7969
8685
|
"name": "scrim",
|
|
7970
8686
|
"tier": "semantic",
|
|
@@ -8918,6 +9634,104 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
8918
9634
|
"type": "color",
|
|
8919
9635
|
"group": "components",
|
|
8920
9636
|
"value": "var(--iox-line)"
|
|
9637
|
+
},
|
|
9638
|
+
{
|
|
9639
|
+
"name": "badge-radius",
|
|
9640
|
+
"tier": "component",
|
|
9641
|
+
"type": "radius",
|
|
9642
|
+
"group": "components",
|
|
9643
|
+
"value": "var(--iox-radius-pill)"
|
|
9644
|
+
},
|
|
9645
|
+
{
|
|
9646
|
+
"name": "badge-pad",
|
|
9647
|
+
"tier": "component",
|
|
9648
|
+
"type": "spacing",
|
|
9649
|
+
"group": "components",
|
|
9650
|
+
"value": "3px 10px"
|
|
9651
|
+
},
|
|
9652
|
+
{
|
|
9653
|
+
"name": "badge-size",
|
|
9654
|
+
"tier": "component",
|
|
9655
|
+
"type": "size",
|
|
9656
|
+
"group": "components",
|
|
9657
|
+
"value": "var(--iox-size-label)"
|
|
9658
|
+
},
|
|
9659
|
+
{
|
|
9660
|
+
"name": "badge-neutral-bg",
|
|
9661
|
+
"tier": "component",
|
|
9662
|
+
"type": "color",
|
|
9663
|
+
"group": "components",
|
|
9664
|
+
"value": "var(--iox-surface-2)"
|
|
9665
|
+
},
|
|
9666
|
+
{
|
|
9667
|
+
"name": "badge-neutral-ink",
|
|
9668
|
+
"tier": "component",
|
|
9669
|
+
"type": "color",
|
|
9670
|
+
"group": "components",
|
|
9671
|
+
"value": "var(--iox-text)"
|
|
9672
|
+
},
|
|
9673
|
+
{
|
|
9674
|
+
"name": "badge-success-bg",
|
|
9675
|
+
"tier": "component",
|
|
9676
|
+
"type": "color",
|
|
9677
|
+
"group": "components",
|
|
9678
|
+
"value": "var(--iox-success-bg)"
|
|
9679
|
+
},
|
|
9680
|
+
{
|
|
9681
|
+
"name": "badge-success-ink",
|
|
9682
|
+
"tier": "component",
|
|
9683
|
+
"type": "color",
|
|
9684
|
+
"group": "components",
|
|
9685
|
+
"value": "var(--iox-success)"
|
|
9686
|
+
},
|
|
9687
|
+
{
|
|
9688
|
+
"name": "badge-warning-bg",
|
|
9689
|
+
"tier": "component",
|
|
9690
|
+
"type": "color",
|
|
9691
|
+
"group": "components",
|
|
9692
|
+
"value": "var(--iox-warning-bg)"
|
|
9693
|
+
},
|
|
9694
|
+
{
|
|
9695
|
+
"name": "badge-warning-ink",
|
|
9696
|
+
"tier": "component",
|
|
9697
|
+
"type": "color",
|
|
9698
|
+
"group": "components",
|
|
9699
|
+
"value": "var(--iox-warning)"
|
|
9700
|
+
},
|
|
9701
|
+
{
|
|
9702
|
+
"name": "badge-accent-bg",
|
|
9703
|
+
"tier": "component",
|
|
9704
|
+
"type": "color",
|
|
9705
|
+
"group": "components",
|
|
9706
|
+
"value": "var(--iox-accent)"
|
|
9707
|
+
},
|
|
9708
|
+
{
|
|
9709
|
+
"name": "badge-accent-ink",
|
|
9710
|
+
"tier": "component",
|
|
9711
|
+
"type": "color",
|
|
9712
|
+
"group": "components",
|
|
9713
|
+
"value": "var(--iox-accent-ink)"
|
|
9714
|
+
},
|
|
9715
|
+
{
|
|
9716
|
+
"name": "chip-border",
|
|
9717
|
+
"tier": "component",
|
|
9718
|
+
"type": "color",
|
|
9719
|
+
"group": "components",
|
|
9720
|
+
"value": "var(--iox-line-strong)"
|
|
9721
|
+
},
|
|
9722
|
+
{
|
|
9723
|
+
"name": "media-scrim",
|
|
9724
|
+
"tier": "component",
|
|
9725
|
+
"type": "color",
|
|
9726
|
+
"group": "components",
|
|
9727
|
+
"value": "rgba(0, 0, 0, 0.62)"
|
|
9728
|
+
},
|
|
9729
|
+
{
|
|
9730
|
+
"name": "media-scrim-ink",
|
|
9731
|
+
"tier": "component",
|
|
9732
|
+
"type": "color",
|
|
9733
|
+
"group": "components",
|
|
9734
|
+
"value": "#FFFFFF"
|
|
8921
9735
|
}
|
|
8922
9736
|
]
|
|
8923
9737
|
},
|
|
@@ -9037,6 +9851,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
9037
9851
|
"success-bg": "#C9F2D9",
|
|
9038
9852
|
"danger": "#B3261E",
|
|
9039
9853
|
"danger-bg": "#FFD9D2",
|
|
9854
|
+
"warning": "#7A4A00",
|
|
9855
|
+
"warning-bg": "#FBF0D9",
|
|
9040
9856
|
"scrim": "rgba(10, 10, 10, 0.5)"
|
|
9041
9857
|
},
|
|
9042
9858
|
"dark": {
|
|
@@ -9061,6 +9877,8 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
9061
9877
|
"success-bg": "#0F2A1A",
|
|
9062
9878
|
"danger": "#FF8A80",
|
|
9063
9879
|
"danger-bg": "#3A1715",
|
|
9880
|
+
"warning": "#F2C46D",
|
|
9881
|
+
"warning-bg": "#2E2210",
|
|
9064
9882
|
"scrim": "rgba(0, 0, 0, 0.6)"
|
|
9065
9883
|
}
|
|
9066
9884
|
},
|
|
@@ -9290,6 +10108,22 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
9290
10108
|
"value": "#FFD9D2",
|
|
9291
10109
|
"dark": "#3A1715"
|
|
9292
10110
|
},
|
|
10111
|
+
{
|
|
10112
|
+
"name": "warning",
|
|
10113
|
+
"tier": "semantic",
|
|
10114
|
+
"type": "color",
|
|
10115
|
+
"group": "colour",
|
|
10116
|
+
"value": "#7A4A00",
|
|
10117
|
+
"dark": "#F2C46D"
|
|
10118
|
+
},
|
|
10119
|
+
{
|
|
10120
|
+
"name": "warning-bg",
|
|
10121
|
+
"tier": "semantic",
|
|
10122
|
+
"type": "color",
|
|
10123
|
+
"group": "colour",
|
|
10124
|
+
"value": "#FBF0D9",
|
|
10125
|
+
"dark": "#2E2210"
|
|
10126
|
+
},
|
|
9293
10127
|
{
|
|
9294
10128
|
"name": "scrim",
|
|
9295
10129
|
"tier": "semantic",
|
|
@@ -10256,6 +11090,104 @@ export const SPEC_FLAVOR_PACKS = [
|
|
|
10256
11090
|
"type": "color",
|
|
10257
11091
|
"group": "components",
|
|
10258
11092
|
"value": "var(--iox-line)"
|
|
11093
|
+
},
|
|
11094
|
+
{
|
|
11095
|
+
"name": "badge-radius",
|
|
11096
|
+
"tier": "component",
|
|
11097
|
+
"type": "radius",
|
|
11098
|
+
"group": "components",
|
|
11099
|
+
"value": "var(--iox-radius-pill)"
|
|
11100
|
+
},
|
|
11101
|
+
{
|
|
11102
|
+
"name": "badge-pad",
|
|
11103
|
+
"tier": "component",
|
|
11104
|
+
"type": "spacing",
|
|
11105
|
+
"group": "components",
|
|
11106
|
+
"value": "3px 10px"
|
|
11107
|
+
},
|
|
11108
|
+
{
|
|
11109
|
+
"name": "badge-size",
|
|
11110
|
+
"tier": "component",
|
|
11111
|
+
"type": "size",
|
|
11112
|
+
"group": "components",
|
|
11113
|
+
"value": "var(--iox-size-label)"
|
|
11114
|
+
},
|
|
11115
|
+
{
|
|
11116
|
+
"name": "badge-neutral-bg",
|
|
11117
|
+
"tier": "component",
|
|
11118
|
+
"type": "color",
|
|
11119
|
+
"group": "components",
|
|
11120
|
+
"value": "var(--iox-surface-2)"
|
|
11121
|
+
},
|
|
11122
|
+
{
|
|
11123
|
+
"name": "badge-neutral-ink",
|
|
11124
|
+
"tier": "component",
|
|
11125
|
+
"type": "color",
|
|
11126
|
+
"group": "components",
|
|
11127
|
+
"value": "var(--iox-text)"
|
|
11128
|
+
},
|
|
11129
|
+
{
|
|
11130
|
+
"name": "badge-success-bg",
|
|
11131
|
+
"tier": "component",
|
|
11132
|
+
"type": "color",
|
|
11133
|
+
"group": "components",
|
|
11134
|
+
"value": "var(--iox-success-bg)"
|
|
11135
|
+
},
|
|
11136
|
+
{
|
|
11137
|
+
"name": "badge-success-ink",
|
|
11138
|
+
"tier": "component",
|
|
11139
|
+
"type": "color",
|
|
11140
|
+
"group": "components",
|
|
11141
|
+
"value": "var(--iox-success)"
|
|
11142
|
+
},
|
|
11143
|
+
{
|
|
11144
|
+
"name": "badge-warning-bg",
|
|
11145
|
+
"tier": "component",
|
|
11146
|
+
"type": "color",
|
|
11147
|
+
"group": "components",
|
|
11148
|
+
"value": "var(--iox-warning-bg)"
|
|
11149
|
+
},
|
|
11150
|
+
{
|
|
11151
|
+
"name": "badge-warning-ink",
|
|
11152
|
+
"tier": "component",
|
|
11153
|
+
"type": "color",
|
|
11154
|
+
"group": "components",
|
|
11155
|
+
"value": "var(--iox-warning)"
|
|
11156
|
+
},
|
|
11157
|
+
{
|
|
11158
|
+
"name": "badge-accent-bg",
|
|
11159
|
+
"tier": "component",
|
|
11160
|
+
"type": "color",
|
|
11161
|
+
"group": "components",
|
|
11162
|
+
"value": "var(--iox-accent)"
|
|
11163
|
+
},
|
|
11164
|
+
{
|
|
11165
|
+
"name": "badge-accent-ink",
|
|
11166
|
+
"tier": "component",
|
|
11167
|
+
"type": "color",
|
|
11168
|
+
"group": "components",
|
|
11169
|
+
"value": "var(--iox-accent-ink)"
|
|
11170
|
+
},
|
|
11171
|
+
{
|
|
11172
|
+
"name": "chip-border",
|
|
11173
|
+
"tier": "component",
|
|
11174
|
+
"type": "color",
|
|
11175
|
+
"group": "components",
|
|
11176
|
+
"value": "var(--iox-line-strong)"
|
|
11177
|
+
},
|
|
11178
|
+
{
|
|
11179
|
+
"name": "media-scrim",
|
|
11180
|
+
"tier": "component",
|
|
11181
|
+
"type": "color",
|
|
11182
|
+
"group": "components",
|
|
11183
|
+
"value": "rgba(0, 0, 0, 0.62)"
|
|
11184
|
+
},
|
|
11185
|
+
{
|
|
11186
|
+
"name": "media-scrim-ink",
|
|
11187
|
+
"tier": "component",
|
|
11188
|
+
"type": "color",
|
|
11189
|
+
"group": "components",
|
|
11190
|
+
"value": "#FFFFFF"
|
|
10259
11191
|
}
|
|
10260
11192
|
]
|
|
10261
11193
|
}
|
|
@@ -10275,6 +11207,7 @@ export const SPEC_CONTRAST = {
|
|
|
10275
11207
|
"light:inverse-accent/inverse-bg": 8.34,
|
|
10276
11208
|
"light:success/success-bg": 5.77,
|
|
10277
11209
|
"light:danger/danger-bg": 5.58,
|
|
11210
|
+
"light:warning/warning-bg": 6.61,
|
|
10278
11211
|
"light:accent-ink/accent-hover": 7.43,
|
|
10279
11212
|
"light:text-muted/surface-2": 5.79,
|
|
10280
11213
|
"light:text/surface-2": 17.6,
|
|
@@ -10298,6 +11231,7 @@ export const SPEC_CONTRAST = {
|
|
|
10298
11231
|
"dark:inverse-accent/inverse-bg": 5.14,
|
|
10299
11232
|
"dark:success/success-bg": 8,
|
|
10300
11233
|
"dark:danger/danger-bg": 7,
|
|
11234
|
+
"dark:warning/warning-bg": 9.53,
|
|
10301
11235
|
"dark:accent-ink/accent-hover": 9.37,
|
|
10302
11236
|
"dark:text-muted/surface-2": 6.28,
|
|
10303
11237
|
"dark:text/surface-2": 14.84,
|
|
@@ -10323,6 +11257,7 @@ export const SPEC_CONTRAST = {
|
|
|
10323
11257
|
"light:inverse-accent/inverse-bg": 7.61,
|
|
10324
11258
|
"light:success/success-bg": 5.26,
|
|
10325
11259
|
"light:danger/danger-bg": 5.88,
|
|
11260
|
+
"light:warning/warning-bg": 6.61,
|
|
10326
11261
|
"light:accent-ink/accent-hover": 8.41,
|
|
10327
11262
|
"light:text-muted/surface-2": 5.33,
|
|
10328
11263
|
"light:text/surface-2": 14.21,
|
|
@@ -10346,6 +11281,7 @@ export const SPEC_CONTRAST = {
|
|
|
10346
11281
|
"dark:inverse-accent/inverse-bg": 5.15,
|
|
10347
11282
|
"dark:success/success-bg": 8.41,
|
|
10348
11283
|
"dark:danger/danger-bg": 7.73,
|
|
11284
|
+
"dark:warning/warning-bg": 9.53,
|
|
10349
11285
|
"dark:accent-ink/accent-hover": 10.41,
|
|
10350
11286
|
"dark:text-muted/surface-2": 6.74,
|
|
10351
11287
|
"dark:text/surface-2": 14.32,
|
|
@@ -10371,6 +11307,7 @@ export const SPEC_CONTRAST = {
|
|
|
10371
11307
|
"light:inverse-accent/inverse-bg": 8.32,
|
|
10372
11308
|
"light:success/success-bg": 5.77,
|
|
10373
11309
|
"light:danger/danger-bg": 5.58,
|
|
11310
|
+
"light:warning/warning-bg": 6.61,
|
|
10374
11311
|
"light:accent-ink/accent-hover": 7.31,
|
|
10375
11312
|
"light:text-muted/surface-2": 5.5,
|
|
10376
11313
|
"light:text/surface-2": 17.79,
|
|
@@ -10394,6 +11331,7 @@ export const SPEC_CONTRAST = {
|
|
|
10394
11331
|
"dark:inverse-accent/inverse-bg": 5.46,
|
|
10395
11332
|
"dark:success/success-bg": 9.37,
|
|
10396
11333
|
"dark:danger/danger-bg": 6.9,
|
|
11334
|
+
"dark:warning/warning-bg": 9.53,
|
|
10397
11335
|
"dark:accent-ink/accent-hover": 5.83,
|
|
10398
11336
|
"dark:text-muted/surface-2": 5.79,
|
|
10399
11337
|
"dark:text/surface-2": 16.53,
|
|
@@ -10416,6 +11354,7 @@ export const SPEC_CONTRAST = {
|
|
|
10416
11354
|
"light:inverse-accent/inverse-bg": 6.88,
|
|
10417
11355
|
"light:success/success-bg": 5.76,
|
|
10418
11356
|
"light:danger/danger-bg": 5.55,
|
|
11357
|
+
"light:warning/warning-bg": 6.61,
|
|
10419
11358
|
"light:accent-ink/accent-hover": 6.76,
|
|
10420
11359
|
"light:text-muted/surface-2": 6.51,
|
|
10421
11360
|
"light:text/surface-2": 18.2,
|
|
@@ -10436,6 +11375,7 @@ export const SPEC_CONTRAST = {
|
|
|
10436
11375
|
"dark:inverse-accent/inverse-bg": 4.79,
|
|
10437
11376
|
"dark:success/success-bg": 8.02,
|
|
10438
11377
|
"dark:danger/danger-bg": 7,
|
|
11378
|
+
"dark:warning/warning-bg": 9.53,
|
|
10439
11379
|
"dark:accent-ink/accent-hover": 8.44,
|
|
10440
11380
|
"dark:text-muted/surface-2": 6.54,
|
|
10441
11381
|
"dark:text/surface-2": 14.41,
|
|
@@ -10458,6 +11398,7 @@ export const SPEC_CONTRAST = {
|
|
|
10458
11398
|
"light:inverse-accent/inverse-bg": 7.74,
|
|
10459
11399
|
"light:success/success-bg": 5.59,
|
|
10460
11400
|
"light:danger/danger-bg": 5.14,
|
|
11401
|
+
"light:warning/warning-bg": 6.61,
|
|
10461
11402
|
"light:accent-ink/accent-hover": 7.86,
|
|
10462
11403
|
"light:text-muted/surface-2": 8.15,
|
|
10463
11404
|
"light:text/surface-2": 14.84,
|
|
@@ -10481,6 +11422,7 @@ export const SPEC_CONTRAST = {
|
|
|
10481
11422
|
"dark:inverse-accent/inverse-bg": 4.97,
|
|
10482
11423
|
"dark:success/success-bg": 8.02,
|
|
10483
11424
|
"dark:danger/danger-bg": 7.66,
|
|
11425
|
+
"dark:warning/warning-bg": 9.53,
|
|
10484
11426
|
"dark:accent-ink/accent-hover": 8.79,
|
|
10485
11427
|
"dark:text-muted/surface-2": 8.43,
|
|
10486
11428
|
"dark:text/surface-2": 11.1,
|
|
@@ -10506,6 +11448,7 @@ export const SPEC_CONTRAST = {
|
|
|
10506
11448
|
"light:inverse-accent/inverse-bg": 13.71,
|
|
10507
11449
|
"light:success/success-bg": 5.41,
|
|
10508
11450
|
"light:danger/danger-bg": 5.01,
|
|
11451
|
+
"light:warning/warning-bg": 6.61,
|
|
10509
11452
|
"light:accent-ink/accent-hover": 7.72,
|
|
10510
11453
|
"light:text-muted/surface-2": 7.52,
|
|
10511
11454
|
"light:text/surface-2": 13.71,
|
|
@@ -10529,6 +11472,7 @@ export const SPEC_CONTRAST = {
|
|
|
10529
11472
|
"dark:inverse-accent/inverse-bg": 5.59,
|
|
10530
11473
|
"dark:success/success-bg": 7.98,
|
|
10531
11474
|
"dark:danger/danger-bg": 7,
|
|
11475
|
+
"dark:warning/warning-bg": 9.53,
|
|
10532
11476
|
"dark:accent-ink/accent-hover": 9.2,
|
|
10533
11477
|
"dark:text-muted/surface-2": 7.59,
|
|
10534
11478
|
"dark:text/surface-2": 13.12,
|