-
Notifications
You must be signed in to change notification settings - Fork 7
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
Color Theming Tokens #147
Comments
This was referenced Mar 11, 2024
2 tasks
2 tasks
This was referenced Jul 9, 2024
This was referenced Jul 17, 2024
This was referenced Jul 29, 2024
2 tasks
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a themer
I want to be able to theme any auro components
So that I can theme our design system
AC:
Find all hard coded color values and create an issue in each repo
Find all tier 1 color tokens
Find all instances of
background-lighter
,background-lightest
,background-darker
,background-darkest
NOTE: Using the theme switcher demo to will help in finding some of these.
Next steps to be taken (in follow up story):
Replace all hard coded color values with the appropriate token
Find all tier 1 color tokens and replace with tier 2 equivalent.
Find all instances of
background-lighter
,background-lightest
,background-darker
,background-darkest
and create issues and assign to the Color Theming global milestone.Replace all background color values with the appropriate token
CONSIDERATIONS FOR NEW TOKEN NAMES
semantic context
state context
New Color Token Sugguestions
--ds-color-ui-transparent-default
:transparent;
--ds-color-border-heavy-default
:--ds-color-brand-neutral-500
--ds-color-icon-error-default
:--ds-color-alert-error-default
--ds-color-icon-warning-default
:--ds-color-alert-warning-default
--ds-color-icon-notification-default
:--ds-color-alert-notification-default
--ds-color-icon-success-default
:--ds-color-alert-success-default
NAV
--ds-color-background-lightest
&&--ds-color-ui-transparent-default
--ds-color-border-heavy-default
ALERT/ICON
Components that have been looked through and issues have been created:
--ds-color-ui-disabled-default, rgba(0, 116, 200, 0.2)
(New border token?)error
,warning
,information
(ornotification
),success
alert
tier 2 tokens?rgba(0, 0, 0, 0.2)
,rgba(0, 0, 0, 0.5)
,rgba(0, 0, 0, 0.12)
,rgba(0, 0, 0, 0.1)
rgba(0, 0, 0, 0.2)
,rgba(0, 0, 0, 0.5)
,rgba(0, 0, 0, 0.12)
,rgba(0, 0, 0, 0.1)
rgba(0, 0, 0, 0.8)
rgba(178 178 178 / .1)
--ds-color-text-disabled-default
box-shadow
rule usesui
tokens andborder
tokens in multiple places. Should the semantic token names be consistent?icon
tokens forsuccess
,error
,advisory
andwarning
statesicon
tokens which map to#01426a
(--ds-color-brand-midnight-400
) and#ffffff
(--ds-color-base-white
) values#f9fbfc
(--ds-color-brand-neutral-100
)#e2eaef
(--ds-color-brand-neutral-200
)#767676
(--ds-color-brand-gray-400
)icon
colors forerror
andsuccess
statesCommon use case needs:
transparent
ui (and maybe border as it is used in many places) colornone
color token?box-shadow
usesui
tokens orborder
tokens depending on what tokens we have availableThe text was updated successfully, but these errors were encountered: