Skip to content

Commit

Permalink
feat: add new and depcrecate old tier 2 color tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 authored and blackfalcon committed May 23, 2024
1 parent 4a40ba2 commit e3b946c
Show file tree
Hide file tree
Showing 13 changed files with 1,822 additions and 99 deletions.
8 changes: 6 additions & 2 deletions src/color-darkmode/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@
"value": "000000",
"comment": "{comments.color.base.value.comment}",
"public": true,
"deprecated": false,
"deprecated": true,
"version": "4.5.0",
"reference": "n/a",
"darkmode": true
},
"black": {
"value": "ffffff",
"comment": "{comments.color.base.value.comment}",
"public": true,
"deprecated": false,
"deprecated": true,
"version": "4.5.0",
"reference": "n/a",
"darkmode": true
}
}
Expand Down
8 changes: 6 additions & 2 deletions src/color-darkmode/border.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"default": true,
"usage": "Primary border color on dark background",
"wcag": "n/a",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"divider": {
Expand All @@ -20,7 +22,9 @@
"default": true,
"usage": "Strict use as divider between elements on dark backgrounds",
"wcag": "n/a",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
}
}
Expand Down
8 changes: 6 additions & 2 deletions src/color-darkmode/icon.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"default": true,
"usage": "Primary color for icons on dark backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"emphasis": {
Expand All @@ -20,7 +22,9 @@
"default": true,
"usage": "Emphasis or lightest icon color on dark backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
}
}
Expand Down
20 changes: 15 additions & 5 deletions src/color-darkmode/text.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"default": true,
"usage": "Primary color for body and header text on dark backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"secondary": {
Expand All @@ -20,7 +22,9 @@
"default": true,
"usage": "Secondary color for body text on dark backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"link": {
Expand All @@ -31,7 +35,9 @@
"default": true,
"usage": "Link text color on light backgrounds",
"wcag": "AA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"error": {
Expand All @@ -42,7 +48,9 @@
"default": true,
"usage": "Error text color on dark backgrounds",
"wcag": "AA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"emphasis": {
Expand All @@ -53,7 +61,9 @@
"default": true,
"usage": "Emphasized text color on dark backgrounds",
"wcag": "n/a",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
}
}
Expand Down
8 changes: 6 additions & 2 deletions src/color-darkmode/tier.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"default": true,
"usage": "MVP tier color for Alaska Airlines",
"wcag": "n/a",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"mvpgold": {
Expand All @@ -21,7 +23,9 @@
"default": true,
"usage": "MVP Gold tier color for Alaska Airlines",
"wcag": "n/a",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
}
}
Expand Down
28 changes: 21 additions & 7 deletions src/color/alert.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"default": true,
"usage": "Notification color on light backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"warning": {
Expand All @@ -18,7 +20,9 @@
"default": true,
"usage": "Warning color on light backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"error": {
Expand All @@ -28,7 +32,9 @@
"default": true,
"usage": "Error color on light backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"success": {
Expand All @@ -38,7 +44,9 @@
"default": true,
"usage": "Success color on light backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"advisory": {
Expand All @@ -48,7 +56,9 @@
"default": true,
"usage": "Travel advisory or system maintenance color on light backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"bkgSuccess": {
Expand All @@ -58,7 +68,9 @@
"default": true,
"usage": "Background success color on light backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
},
"bkgError": {
Expand All @@ -68,7 +80,9 @@
"default": true,
"usage": "Background error color on light backgrounds",
"wcag": "AAA",
"deprecated": false
"deprecated": true,
"version": "4.5.0",
"reference": "n/a"
}
}
}
Expand Down
Loading

0 comments on commit e3b946c

Please sign in to comment.