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

fix(colors): add decorative tokens #144

Merged
merged 2 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions tokens/source/color/background.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
"value": "{color.alias.red.10}"
}
},
"decorative": {
"purple": {
"weakest": {
"comment": "Weakest background color for decorative purposes (purple.10).",
"value": "{color.alias.purple.10}"
}
}
},
"disabled": {
"comment": "Background color for disabled elements (gray.20).",
"value": "{color.alias.gray.20}"
Expand Down
10 changes: 8 additions & 2 deletions tokens/source/color/border.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@
}
},
"decorative": {
"comment": "Border color for decorative purposes (purple.60).",
"value": "{color.alias.purple.60}"
"_": {
"comment": "This token has been deprecated and will be removed soon. Please use the `purple` token instead.",
"value": "{color.alias.purple.60}"
},
portikM marked this conversation as resolved.
Show resolved Hide resolved
"purple": {
"comment": "Border color for decorative purposes (purple.60).",
"value": "{color.alias.purple.60}"
}
},
"disabled": {
"comment": "Border color for disabled elements (gray.20).",
Expand Down
14 changes: 12 additions & 2 deletions tokens/source/color/text.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,18 @@
}
},
"decorative": {
"comment": "Text color for decorative purposes (aqua.50).",
"value": "{color.alias.aqua.50}"
"_": {
"comment": "This token has been deprecated and will be removed soon. Please use the `aqua` token instead.",
"value": "{color.alias.aqua.50}"
},
"aqua": {
"comment": "Text color for decorative purposes (aqua.50).",
"value": "{color.alias.aqua.50}"
},
"purple": {
"comment": "Text color for decorative purposes (purple.60).",
"value": "{color.alias.purple.60}"
}
},
"disabled": {
"comment": "Text color for disabled elements (gray.50).",
Expand Down