Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(color): add missing support tokens #4193

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 72 additions & 9 deletions src/data/guidelines/color-tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -2087,22 +2087,22 @@ const colorTokens = {
},
},
'$support-warning': {
role: ['Warning', 'Caution'],
role: ['Warning'],
value: {
white: {
name: 'Yellow',
name: 'Yellow 30',
hex: '#f1c21b',
},
g10: {
name: 'Yellow',
name: 'Yellow 30',
hex: '#f1c21b',
},
g90: {
name: 'Yellow',
name: 'Yellow 30',
hex: '#f1c21b',
},
g100: {
name: 'Yellow',
name: 'Yellow 30',
hex: '#f1c21b',
},
},
Expand Down Expand Up @@ -2174,19 +2174,19 @@ const colorTokens = {
role: ['Warning in high contrast moments'],
value: {
white: {
name: 'Yellow',
name: 'Yellow 30',
hex: '#f1c21b',
},
g10: {
name: 'Yellow',
name: 'Yellow 30',
hex: '#f1c21b',
},
g90: {
name: 'Yellow',
name: 'Yellow 30',
hex: '#f1c21b',
},
g100: {
name: 'Yellow',
name: 'Yellow 30',
hex: '#f1c21b',
},
},
Expand All @@ -2212,6 +2212,69 @@ const colorTokens = {
},
},
},
'$support-caution-minor': {
role: ['Minor caution status'],
value: {
white: {
name: 'Yellow 30',
hex: '#f1c21b',
},
g10: {
name: 'Yellow 30',
hex: '#f1c21b',
},
g90: {
name: 'Yellow 30',
hex: '#f1c21b',
},
g100: {
name: 'Yellow 30',
hex: '#f1c21b',
},
},
},
'$support-caution-major': {
role: ['Major caution status'],
value: {
white: {
name: 'Orange 40',
hex: '#ff832b',
},
g10: {
name: 'Orange 40',
hex: '#ff832b',
},
g90: {
name: 'Orange 40',
hex: '#ff832b',
},
g100: {
name: 'Orange 40',
hex: '#ff832b',
},
},
},
'$support-caution-undefined': {
role: ['Undefined status'],
value: {
white: {
name: 'Purple 60',
hex: '#8a3ffc',
},
g10: {
name: 'Purple 60',
hex: '#8a3ffc',
},
g90: {
name: 'Purple 50',
hex: '#a56eff',
},
g100: {
name: 'Purple 50',
hex: '#a56eff',
},
},
},
},
'focus-tokens': {
$focus: {
Expand Down
Loading