From 1675bcc19c1499f5b4e3ac4fa93a1cbfc5314559 Mon Sep 17 00:00:00 2001 From: Jason Baker Date: Tue, 14 May 2024 08:53:32 -0700 Subject: [PATCH] perf(deprecated): clean up old deprecated and deprecate newly outdated tokens --- src/breakpoint.json | 28 ------ src/color-darkmode/base.json | 4 +- src/color-darkmode/border.json | 6 +- src/color-darkmode/icon.json | 6 +- src/color-darkmode/text.json | 12 +-- src/color-darkmode/tier.json | 4 +- src/color/alert.json | 113 ++--------------------- src/color/background.json | 12 +-- src/color/base.json | 44 +++------ src/color/border.json | 158 ++------------------------------- src/color/icon.json | 102 ++------------------- src/color/text.json | 155 +++----------------------------- src/color/tier.json | 58 ++---------- src/color/ui.json | 130 +++------------------------ src/depth.json | 7 -- src/shadow.json | 13 --- src/size/scale.json | 80 ----------------- 17 files changed, 86 insertions(+), 846 deletions(-) delete mode 100644 src/breakpoint.json delete mode 100644 src/shadow.json diff --git a/src/breakpoint.json b/src/breakpoint.json deleted file mode 100644 index f2d544c..0000000 --- a/src/breakpoint.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "breakpoint": { - "sm": { - "value": "660px", - "public": false, - "deprecated": true, - "version": "3.13.0", - "reference": "grid-breakpoint-sm", - "comment": "{comments.reference.comment} grid-breakpoint-sm" - }, - "md": { - "value": "1024px", - "public": false, - "deprecated": true, - "version": "3.13.0", - "reference": "grid-breakpoint-md", - "comment": "{comments.reference.comment} grid-breakpoint-md" - }, - "lg": { - "value": "1232px", - "public": false, - "deprecated": true, - "version": "3.13.0", - "reference": "grid-breakpoint-lg", - "comment": "{comments.reference.comment} grid-breakpoint-lg" - } - } -} diff --git a/src/color-darkmode/base.json b/src/color-darkmode/base.json index 7add1a3..72165ed 100644 --- a/src/color-darkmode/base.json +++ b/src/color-darkmode/base.json @@ -5,14 +5,14 @@ "value": "000000", "comment": "{comments.color.base.value.comment}", "public": true, - "deprecated": false, + "deprecated": true, "darkmode": true }, "black": { "value": "ffffff", "comment": "{comments.color.base.value.comment}", "public": true, - "deprecated": false, + "deprecated": true, "darkmode": true } } diff --git a/src/color-darkmode/border.json b/src/color-darkmode/border.json index f4c6a5b..a55586d 100644 --- a/src/color-darkmode/border.json +++ b/src/color-darkmode/border.json @@ -9,18 +9,18 @@ "default": true, "usage": "Primary border color on dark background", "wcag": "n/a", - "deprecated": false + "deprecated": true } }, "divider": { "default": { - "value": "{color.base.white.value}", + "value": "{color.base.white.100.value}", "public": true, "darkmode": true, "default": true, "usage": "Strict use as divider between elements on dark backgrounds", "wcag": "n/a", - "deprecated": false + "deprecated": true } } } diff --git a/src/color-darkmode/icon.json b/src/color-darkmode/icon.json index 6620c53..ad70d6a 100644 --- a/src/color-darkmode/icon.json +++ b/src/color-darkmode/icon.json @@ -9,18 +9,18 @@ "default": true, "usage": "Primary color for icons on dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "emphasis": { "default": { - "value": "{color.base.white.value}", + "value": "{color.base.white.100.value}", "public": true, "darkmode": true, "default": true, "usage": "Emphasis or lightest icon color on dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } } } diff --git a/src/color-darkmode/text.json b/src/color-darkmode/text.json index 2d6e52b..2d1e995 100644 --- a/src/color-darkmode/text.json +++ b/src/color-darkmode/text.json @@ -3,13 +3,13 @@ "text": { "primary": { "default": { - "value": "{color.base.white.value}", + "value": "{color.base.white.100.value}", "public": true, "darkmode": true, "default": true, "usage": "Primary color for body and header text on dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "secondary": { @@ -20,7 +20,7 @@ "default": true, "usage": "Secondary color for body text on dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "link": { @@ -31,7 +31,7 @@ "default": true, "usage": "Link text color on light backgrounds", "wcag": "AA", - "deprecated": false + "deprecated": true } }, "error": { @@ -42,7 +42,7 @@ "default": true, "usage": "Error text color on dark backgrounds", "wcag": "AA", - "deprecated": false + "deprecated": true } }, "emphasis": { @@ -53,7 +53,7 @@ "default": true, "usage": "Emphasized text color on dark backgrounds", "wcag": "n/a", - "deprecated": false + "deprecated": true } } } diff --git a/src/color-darkmode/tier.json b/src/color-darkmode/tier.json index 1605ba5..9e17584 100644 --- a/src/color-darkmode/tier.json +++ b/src/color-darkmode/tier.json @@ -10,7 +10,7 @@ "default": true, "usage": "MVP tier color for Alaska Airlines", "wcag": "n/a", - "deprecated": false + "deprecated": true } }, "mvpgold": { @@ -21,7 +21,7 @@ "default": true, "usage": "MVP Gold tier color for Alaska Airlines", "wcag": "n/a", - "deprecated": false + "deprecated": true } } } diff --git a/src/color/alert.json b/src/color/alert.json index a0348bd..6de8746 100644 --- a/src/color/alert.json +++ b/src/color/alert.json @@ -2,152 +2,53 @@ "color": { "alert": { "notification": { - "onLight": { - "value": "{color.brand.atlas.400.value}", - "public": false, - "onLight": true, - "usage": "Notification color on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-alert-notification-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.atlas.400.value}", "public": true, "default": true, "usage": "Notification color on light backgrounds", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.breeze.300.value}", - "public": false, - "onDark": true, - "usage": "Notification color on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "warning": { - "onLight": { - "value": "{color.state.warning.500.value}", - "public": false, - "onLight": true, - "usage": "Warning color on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" - }, "default": { "value": "{color.state.warning.500.value}", "public": true, "default": true, "usage": "Warning color on light backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "error": { - "onLight": { - "value": "{color.state.error.500.value}", - "public": false, - "onLight": true, - "usage": "Error color on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-alert-error-default", - "version": "3.15.0" - }, "default": { "value": "{color.state.error.500.value}", "public": true, "default": true, "usage": "Error color on light backgrounds", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.state.error.100.value}", - "public": false, - "onDark": true, - "usage": "Error color on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "reference": "n/a", - "comment": "Deprecated token", - "version": "3.12.0" + "deprecated": true } }, "success": { - "onLight": { - "value": "{color.state.success.500.value}", - "public": false, - "onLight": true, - "usage": "Success color on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-alert-success-default", - "version": "3.15.0" - }, "default": { "value": "{color.state.success.500.value}", "public": true, "default": true, "usage": "Success color on light backgrounds", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.state.success.100.value}", - "public": false, - "onDark": true, - "usage": "Success color on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "advisory": { - "onLight": { - "value": "{color.brand.goldcoast.100.value}", - "public": false, - "onLight": true, - "usage": "Travel advisory or system maintenance color on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-alert-advisory-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.goldcoast.100.value}", "public": true, "default": true, "usage": "Travel advisory or system maintenance color on light backgrounds", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.goldcoast.100.value}", - "public": false, - "onDark": true, - "usage": "Travel advisory or system maintenance color on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "bkgSuccess": { @@ -157,7 +58,7 @@ "onLight": true, "usage": "Background success color on light backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "bkgError": { @@ -167,7 +68,7 @@ "default": true, "usage": "Background error color on light backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } } } diff --git a/src/color/background.json b/src/color/background.json index cf3ddeb..460bddf 100644 --- a/src/color/background.json +++ b/src/color/background.json @@ -2,12 +2,12 @@ "color": { "background": { "lightest": { - "value": "{color.base.white.value}", + "value": "{color.base.white.100.value}", "public": true, "neutral": true, "usage": "Used for creating light backgrounds", "wcag": "n/a", - "deprecated": false + "deprecated": true }, "lighter": { "value": "{color.base.gray.100.value}", @@ -15,7 +15,7 @@ "neutral": true, "usage": "Used for creating light backgrounds @ 90% white", "wcag": "n/a", - "deprecated": false + "deprecated": true }, "darker": { "value": "{color.brand.midnight.400.value}", @@ -23,7 +23,7 @@ "neutral": true, "usage": "Used for creating dark backgrounds", "wcag": "n/a", - "deprecated": false + "deprecated": true }, "darkest": { "value": "{color.brand.midnight.500.value}", @@ -31,7 +31,7 @@ "neutral": true, "usage": "Used for creating dark backgrounds @ 20% darker", "wcag": "n/a", - "deprecated": false + "deprecated": true }, "gradient": { "default": { @@ -40,7 +40,7 @@ "neutral": true, "usage": "Used for creating a gradient against all backgrounds", "wcag": "n/a", - "deprecated": false + "deprecated": true } } } diff --git a/src/color/base.json b/src/color/base.json index b185908..22189b5 100644 --- a/src/color/base.json +++ b/src/color/base.json @@ -5,41 +5,41 @@ "value": "ffffff", "comment": "{comments.color.base.value.comment}", "public": true, - "deprecated": false + "deprecated": true }, "white-opacity-50": { "value": "ffffff80", "comment": "white @ 50%", "public": true, "opacity": true, - "deprecated": false + "deprecated": true }, "white-opacity-40": { "value": "ffffff66", "comment": "white @ 40%", "public": true, "opacity": true, - "deprecated": false + "deprecated": true }, "white-opacity-0": { "value": "ffffff00", "comment": "white @ 0%", "public": true, "opacity": true, - "deprecated": false + "deprecated": true }, "black": { "value": "000000", "comment": "{comments.color.base.value.comment}", "public": true, - "deprecated": false + "deprecated": true }, "black-opacity-15": { "value": "00000026", "comment": "black @ 15%", "public": true, "opacity": true, - "deprecated": false + "deprecated": true }, "gray": { "100": { @@ -64,28 +64,6 @@ "reference": "color-brand-gray-200", "comment": "{comments.reference.comment} color-brand-gray-200" }, - "300": { - "value": "b2b2b2", - "public": false, - "neutral": true, - "usage": "Neutral accent", - "wcag": "n/a", - "deprecated": true, - "version": "3.1.0", - "reference": "color-brand-gray-300", - "comment": "{comments.reference.comment} color-brand-gray-300" - }, - "400": { - "value": "767676", - "public": false, - "neutral": true, - "usage": "Neutral accent", - "wcag": "n/a", - "deprecated": true, - "version": "3.1.0", - "reference": "color-brand-gray-400", - "comment": "{comments.reference.comment} color-brand-gray-400" - }, "500": { "value": "222222", "public": false, @@ -122,31 +100,31 @@ "100": { "value": "ff999b", "public": true, - "deprecated": false + "deprecated": true }, "500": { "value": "df0b37", "public": true, - "deprecated": false + "deprecated": true } }, "success": { "100": { "value": "69cf96", "public": true, - "deprecated": false + "deprecated": true }, "500": { "value": "00805d", "public": true, - "deprecated": false + "deprecated": true } }, "warning": { "500": { "value": "de750c", "public": true, - "deprecated": false + "deprecated": true } } } diff --git a/src/color/border.json b/src/color/border.json index 909f2bb..ad2cb54 100644 --- a/src/color/border.json +++ b/src/color/border.json @@ -2,218 +2,78 @@ "color": { "border": { "primary": { - "onLight": { - "value": "{color.brand.neutral.500.value}", - "public": false, - "onLight": true, - "usage": "Primary border color on light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-border-primary-default", - "version": "3.15.0" - }, - "default": { - "value": "{color.brand.neutral.500.value}", - "public": true, - "default": true, - "usage": "Primary border color on light backgrounds", - "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.neutral.400.value}", - "public": false, - "onDark": true, - "usage": "Primary border color on dark background", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-border-primary-inverse", - "version": "3.15.0" - }, "inverse": { "value": "{color.brand.neutral.400.value}", "public": true, "inverse": true, "usage": "Primary border color on dark background", "wcag": "n/a", - "deprecated": false + "deprecated": true } }, "active": { - "onLight": { - "value": "{color.brand.atlas.400.value}", - "public": false, - "onLight": true, - "usage": "Active border color on light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-border-active-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.atlas.400.value}", "public": true, "default": true, "usage": "Active border color on light backgrounds", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.breeze.300.value}", - "public": false, - "onDark": true, - "usage": "Active border color on dark backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true }, "inverse": { "value": "{color.brand.breeze.300.value}", "public": true, "inverse": true, "usage": "Active border color on dark backgrounds", - "deprecated": false + "deprecated": true } }, "error": { - "onLight": { - "value": "{color.state.error.500.value}", - "public": false, - "onLight": true, - "usage": "Error states border color on light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-border-error-default", - "version": "3.15.0" - }, "default": { "value": "{color.state.error.500.value}", "public": true, "default": true, "usage": "Error states border color on light backgrounds", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.state.error.100.value}", - "public": false, - "onDark": true, - "usage": "Error states border color on dark background", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "disabled": { - "onLight": { - "value": "{color.base.gray.200.value}", - "public": false, - "onLight": true, - "usage": "Disabled border color on light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-border-disabled-default", - "version": "3.15.0" - }, "default": { "value": "{color.base.gray.200.value}", "public": true, "default": true, "usage": "Disabled border color on light backgrounds", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.base.gray.200.value}", - "public": false, - "onDark": true, - "usage": "Disabled border color on dark background", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "Focus": { - "onLight": { - "value": "{color.base.gray.500.value}", - "public": false, - "onLight": true, - "usage": "Focus border color for light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-border-focus-default", - "version": "3.15.0" - }, "default": { "value": "{color.base.gray.500.value}", "public": true, "default": true, "usage": "Focus border color for light backgrounds", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.base.white.value}", - "public": false, - "onDark": true, - "usage": "Focus border color for dark backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "divider": { - "onLight": { - "value": "{color.base.black-opacity-15.value}", - "public": false, - "onLight": true, - "usage": "Strict use as divider between elements on light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-border-divider-default", - "version": "3.15.0" - }, "default": { "value": "{color.base.black-opacity-15.value}", "public": true, "default": true, "usage": "Strict use as divider between elements on light backgrounds", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.base.white.value}", - "public": false, - "onDark": true, - "usage": "Strict use as divider between elements on dark backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-border-divider-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { - "value": "{color.base.white.value}", + "value": "{color.base.white.100.value}", "public": true, "inverse": true, "usage": "Strict use as divider between elements on dark backgrounds", "wcag": "n/a", - "deprecated": false + "deprecated": true } } } diff --git a/src/color/icon.json b/src/color/icon.json index d788d44..ba9c730 100644 --- a/src/color/icon.json +++ b/src/color/icon.json @@ -2,35 +2,13 @@ "color": { "icon": { "primary": { - "onLight": { - "value": "{color.base.neutral.500.value}", - "public": false, - "onLight": true, - "usage": "Primary color for icons on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-icon-primary-default", - "version": "3.15.0" - }, "default": { "value": "{color.base.neutral.500.value}", "public": true, "default": true, "usage": "Primary color for icons on light backgrounds", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.base.neutral.400.value}", - "public": false, - "onDark": true, - "usage": "Primary color for icons on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-icon-primary-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { "value": "{color.base.neutral.400.value}", @@ -38,111 +16,45 @@ "inverse": true, "usage": "Primary color for icons on dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "emphasis": { - "onLight": { - "value": "{color.base.gray.500.value}", - "public": false, - "onLight": true, - "usage": "Emphasis or darkest icon color on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-icon-emphasis-default", - "version": "3.15.0" - }, "default": { "value": "{color.base.gray.500.value}", "public": true, "default": true, "usage": "Emphasis or darkest icon color on light backgrounds", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.base.white.value}", - "public": false, - "onDark": true, - "usage": "Emphasis or lightest icon color on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-icon-emphasis-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { - "value": "{color.base.white.value}", + "value": "{color.base.white.100.value}", "public": true, "inverse": true, "usage": "Emphasis or lightest icon color on dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "accent": { - "onLight": { - "value": "{color.brand.atlas.400.value}", - "public": false, - "onLight": true, - "usage": "Accent color for icon color on light backgrounds", - "wcag": "AA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-icon-accent-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.atlas.400.value}", "public": true, "default": true, "usage": "Accent color for icon color on light backgrounds", "wcag": "AA", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.breeze.300.value}", - "public": false, - "onDark": true, - "usage": "Accent color for icon color on dark backgrounds", - "wcag": "AA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "disabled": { - "onLight": { - "value": "{color.base.black-opacity-15.value}", - "public": false, - "onLight": true, - "usage": "Disabled icon color on light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-icon-disabled-default", - "version": "3.15.0" - }, "default": { "value": "{color.base.black-opacity-15.value}", "public": true, "default": true, "usage": "Disabled icon color on light backgrounds", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.base.white-opacity-40.value}", - "public": false, - "onDark": true, - "usage": "Disabled icon color on dark backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } } } diff --git a/src/color/text.json b/src/color/text.json index d4c4e6b..11ec6b3 100644 --- a/src/color/text.json +++ b/src/color/text.json @@ -2,75 +2,31 @@ "color": { "text": { "primary": { - "onLight": { - "value": "{color.base.gray.500.value}", - "public": false, - "onLight": true, - "usage": "Primary color for body and header text on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-primary-default", - "version": "3.15.0" - }, "default": { "value": "{color.base.gray.500.value}", "public": true, "default": true, "usage": "Primary color for body and header text light mode and light backgrounds", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.base.white.value}", - "public": false, - "onDark": true, - "usage": "Primary color for body and header text on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-primary-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { - "value": "{color.base.white.value}", + "value": "{color.base.white.100.value}", "public": true, "inverse": true, "usage": "Primary color for body and header text for dark mode and dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "secondary": { - "onLight": { - "value": "{color.base.neutral.500.value}", - "public": false, - "onLight": true, - "usage": "Secondary color for body text on light backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-secondary-default", - "version": "3.15.0" - }, "default": { "value": "{color.base.neutral.500.value}", "public": true, "default": true, "usage": "Secondary color for body text on light backgrounds", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.base.neutral.400.value}", - "public": false, - "onDark": true, - "usage": "Secondary color for body text on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-secondary-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { "value": "{color.base.neutral.400.value}", @@ -78,38 +34,17 @@ "inverse": true, "usage": "Secondary color for body text on dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "link": { - "onLight": { - "value": "{color.brand.atlas.400.value}", - "public": false, - "onLight": true, - "usage": "Link text color on light backgrounds", - "wcag": "AA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-link-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.atlas.400.value}", "public": true, "default": true, "usage": "Link text color on light backgrounds", "wcag": "AA", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.breeze.300.value}", - "public": false, - "onDark": true, - "usage": "Link text color on light backgrounds", - "wcag": "AA", - "deprecated": true, - "reference": "color-text-link-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { "value": "{color.brand.breeze.300.value}", @@ -117,39 +52,17 @@ "inverse": true, "usage": "Link text color on light backgrounds", "wcag": "AA", - "deprecated": false + "deprecated": true } }, "error": { - "onLight": { - "value": "{color.state.error.500.value}", - "public": false, - "onLight": true, - "usage": "Error text color on light backgrounds", - "wcag": "AA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-error-default", - "version": "3.15.0" - }, "default": { "value": "{color.state.error.500.value}", "public": true, "default": true, "usage": "Error text color on light backgrounds", "wcag": "AA", - "deprecated": false - }, - "onDark": { - "value": "{color.state.error.100.value}", - "public": false, - "onDark": true, - "usage": "Error text color on dark backgrounds", - "wcag": "AA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-error-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { "value": "{color.state.error.100.value}", @@ -157,71 +70,27 @@ "inverse": true, "usage": "Error text color on dark backgrounds", "wcag": "AA", - "deprecated": false + "deprecated": true } }, "disabled": { - "onLight": { - "value": "{color.base.gray.200.value}", - "public": false, - "onLight": true, - "usage": "Disabled text color on light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-disabled", - "version": "3.15.0" - }, "default": { "value": "{color.base.gray.200.value}", "public": true, "onLight": true, "usage": "Disabled text color on light backgrounds", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.base.gray.200.value}", - "public": false, - "onDark": true, - "usage": "Disabled text color on dark backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "emphasis": { - "onLight": { - "value": "{color.brand.midnight.400.value}", - "public": false, - "onLight": true, - "usage": "Emphasized text color on light backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-emphasis-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.midnight.400.value}", "public": true, "default": true, "usage": "Emphasized text color on light backgrounds", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.midnight.100.value}", - "public": false, - "onDark": true, - "usage": "Emphasized text color on dark backgrounds", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-text-emphasis-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { "value": "{color.brand.midnight.100.value}", @@ -229,7 +98,7 @@ "inverse": true, "usage": "Emphasized text color on dark backgrounds", "wcag": "n/a", - "deprecated": false + "deprecated": true } } } diff --git a/src/color/tier.json b/src/color/tier.json index c5c7346..1bf5c79 100644 --- a/src/color/tier.json +++ b/src/color/tier.json @@ -3,35 +3,13 @@ "tier": { "alaska": { "mvp": { - "onLight": { - "value": "{color.brand.goldgray.200.value}", - "public": false, - "onLight": true, - "usage": "MVP tier color for Alaska Airlines", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-tier-alaska-mvp-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.goldgray.200.value}", "public": true, "default": true, "usage": "MVP tier color for Alaska Airlines", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.goldgray.100.value}", - "public": false, - "onDark": true, - "usage": "MVP tier color for Alaska Airlines", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-tier-alaska-mvp-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { "value": "{color.brand.goldgray.100.value}", @@ -39,39 +17,17 @@ "inverse": true, "usage": "MVP tier color for Alaska Airlines", "wcag": "n/a", - "deprecated": false + "deprecated": true } }, "mvpgold": { - "onLight": { - "value": "{color.brand.gold.200.value}", - "public": false, - "onLight": true, - "usage": "MVP Gold tier color for Alaska Airlines", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-tier-alaska-mvpgold-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.gold.200.value}", "public": true, "default": true, "usage": "MVP Gold tier color for Alaska Airlines", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.gold.100.value}", - "public": false, - "onDark": true, - "usage": "MVP Gold tier color for Alaska Airlines", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-tier-alaska-mvpgold-inverse", - "version": "3.15.0" + "deprecated": true }, "inverse": { "value": "{color.brand.gold.100.value}", @@ -79,7 +35,7 @@ "inverse": true, "usage": "MVP Gold tier color for Alaska Airlines", "wcag": "n/a", - "deprecated": false + "deprecated": true } } }, @@ -90,7 +46,7 @@ "onLight": true, "usage": "Emerald tier color for Oneworld", "wcag": "n/a", - "deprecated": false + "deprecated": true }, "sapphire": { "value": "{color.brand.sapphire.value}", @@ -98,7 +54,7 @@ "onDark": true, "usage": "Sapphire tier color for Oneworld", "wcag": "n/a", - "deprecated": false + "deprecated": true }, "ruby": { "value": "{color.brand.ruby.value}", @@ -106,7 +62,7 @@ "onDark": true, "usage": "Ruby tier color for Oneworld", "wcag": "n/a", - "deprecated": false + "deprecated": true } } } diff --git a/src/color/ui.json b/src/color/ui.json index 8066c00..7c4e27c 100644 --- a/src/color/ui.json +++ b/src/color/ui.json @@ -2,35 +2,13 @@ "color": { "ui": { "default": { - "onLight": { - "value": "{color.brand.atlas.400.value}", - "public": false, - "onLight": true, - "usage": "Default interaction color affordance", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-ui-default-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.atlas.400.value}", "public": true, "default": true, "usage": "Default interaction color affordance", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.breeze.300.value}", - "public": false, - "onDark": true, - "usage": "OnDark interaction color affordance", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true }, "inverse": { "value": "{color.brand.breeze.300.value}", @@ -38,39 +16,17 @@ "inverse": true, "usage": "OnDark interaction color affordance", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "hover": { - "onLight": { - "value": "{color.brand.atlas.500.value}", - "public": false, - "onLight": true, - "usage": "Default hover color affordance", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-ui-hover-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.atlas.500.value}", "public": true, "default": true, "usage": "Default hover color affordance", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.breeze.200.value}", - "public": false, - "onDark": true, - "usage": "Hover interaction color on dark backgrounds", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true }, "inverse": { "value": "{color.brand.breeze.200.value}", @@ -78,78 +34,34 @@ "inverse": true, "usage": "Hover interaction color on dark backgrounds", "wcag": "AAA", - "deprecated": false + "deprecated": true } }, "active": { - "onLight": { - "value": "{color.brand.atlas.500.value}", - "public": false, - "onLight": true, - "usage": "Active state color affordance", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-ui-active-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.atlas.500.value}", "public": true, "default": true, "usage": "Active state color affordance", "wcag": "AAA", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.breeze.200.value}", - "public": false, - "onDark": true, - "usage": "OnDark active state color affordance", - "wcag": "AAA", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true }, "inverse": { "value": "{color.brand.breeze.200.value}", "public": true, "inverse": true, "usage": "Active state color affordance on dark backgrounds", - "deprecated": false + "deprecated": true } }, "disabled": { - "onLight": { - "value": "{color.brand.atlas.400-opacity-20.value}", - "public": false, - "onLight": true, - "usage": "Disabled state color affordance", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-ui-disabled-default", - "version": "3.15.0" - }, "default": { "value": "{color.brand.atlas.400-opacity-20.value}", "public": true, "default": true, "usage": "Disabled state color affordance", "wcag": "n/a", - "deprecated": false - }, - "onDark": { - "value": "{color.brand.breeze.300-opacity-30.value}", - "public": false, - "onDark": true, - "usage": "OnDark disabled state color affordance", - "wcag": "n/a", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" + "deprecated": true } }, "bkg": { @@ -159,50 +71,30 @@ "public": true, "default": true, "usage": "Default affordance for background colors", - "deprecated": false + "deprecated": true }, "inverse": { "value": "ffffff08", "public": true, "inverse": true, "usage": "Default affordance for dark background colors", - "deprecated": false + "deprecated": true } }, "hover": { - "onDark": { - "value": "5de3f71a", - "public": false, - "onDark": true, - "usage": "Default hover affordance for background colors onDark", - "deprecated": true, - "comment": "Deprecated token", - "reference": "n/a", - "version": "3.12.0" - }, - "onLight": { - "value": "0000000f", - "public": false, - "onLight": true, - "usage": "Default hover affordance for background colors", - "deprecated": true, - "comment": "Deprecated token", - "reference": "color-ui-bkg-hover-default", - "version": "3.15.0" - }, "default": { "value": "0000000f", "public": true, "default": true, "usage": "Default hover affordance for background colors", - "deprecated": false + "deprecated": true }, "inverse": { "value": "ffffff0f", "public": true, "inverse": true, "usage": "Default hover affordance for dark background colors", - "deprecated": false + "deprecated": true } } } diff --git a/src/depth.json b/src/depth.json index 7920761..9bce5b8 100644 --- a/src/depth.json +++ b/src/depth.json @@ -3,13 +3,6 @@ "hidden": { "value": "-1" }, - "dialog": { - "value": "100", - "public": false, - "deprecated": true, - "reference": "depth-modal", - "version": "3.2.1" - }, "overlay": { "value": "200", "public": true, diff --git a/src/shadow.json b/src/shadow.json deleted file mode 100644 index 7401ef0..0000000 --- a/src/shadow.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "shadow": { - "boxShadow": { - "classic": { - "value": "0 0 3px 0 rgba(0, 0, 0, 0.35)", - "public": false, - "deprecated": true, - "reference": "n/a", - "version": "3.2.1" - } - } - } -} diff --git a/src/size/scale.json b/src/size/scale.json index f6bcf0f..d3643ca 100644 --- a/src/size/scale.json +++ b/src/size/scale.json @@ -146,14 +146,6 @@ } } }, - "none": { - "value": "0", - "comment": "Deprecated token, use 0 value", - "public": false, - "deprecated": true, - "reference": "n/a", - "version": "3.10.0" - }, "25": { "value": 0.125, "comment": "2px", @@ -231,78 +223,6 @@ "comment": "80px", "public": true, "deprecated": false - }, - "xxxs": { - "value": 0.125, - "comment": "{comments.reference.comment} auro-size-25", - "public": false, - "reference": "size-25", - "deprecated": true, - "version": "3.10.0" - }, - "xxs": { - "value": 0.25, - "comment": "{comments.reference.comment} auro-size-50", - "public": false, - "reference": "size-50", - "deprecated": true, - "version": "3.10.0" - }, - "xs": { - "value": 0.5, - "comment": "{comments.reference.comment} auro-size-100", - "public": false, - "reference": "size-100", - "deprecated": true, - "version": "3.10.0" - }, - "sm": { - "value": 0.75, - "comment": "{comments.reference.comment} auro-size-150", - "public": false, - "reference": "size-150", - "deprecated": true, - "version": "3.10.0" - }, - "md": { - "value": 1, - "comment": "{comments.reference.comment} auro-size-200", - "public": false, - "reference": "size-200", - "deprecated": true, - "version": "3.10.0" - }, - "lg": { - "value": 1.5, - "comment": "{comments.reference.comment} auro-size-300", - "public": false, - "reference": "size-300", - "deprecated": true, - "version": "3.10.0" - }, - "xl": { - "value": 2, - "comment": "{comments.reference.comment} auro-size-400", - "public": false, - "reference": "size-400", - "deprecated": true, - "version": "3.10.0" - }, - "xxl": { - "value": 3, - "comment": "{comments.reference.comment} auro-size-600", - "reference": "size-600", - "public": false, - "deprecated": true, - "version": "3.10.0" - }, - "xxxl": { - "value": 4, - "public": false, - "deprecated": true, - "version": "3.10.0", - "comment": "{comments.reference.comment} auro-size-800", - "reference": "size-800" } } }