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

auro-alert: Semantic token Aliases #45

Open
braven112 opened this issue Oct 26, 2023 · 0 comments
Open

auro-alert: Semantic token Aliases #45

braven112 opened this issue Oct 26, 2023 · 0 comments
Assignees
Labels

Comments

@braven112
Copy link
Member

braven112 commented Oct 26, 2023

Is your feature request related to a problem? Please describe.

I want to be able to customize the component by only changing design tokens names so that I can experiment with new designs or make customization that might be needed for just my implementation.

Describe the solution you'd like

All the tokens used should have a semantic name. i.e. --ds-alert-padding-left vs the direct --ds-size-100. Doing that allows the themer to easily change the padding of just the alert component instead of all references to ds-size-100

padding: var(--ds-size-100, $ds-size-100);

Describe alternatives you've considered

CSS parts can do some of this but we have to explicitly allow that and each element we want the implementer to access. Using design tokens will automatically allow theming.

Additional context

As we dive into more theming use cases this type of system will give implementers a ton of flexibility and remove the need for urgent updates on our side. It will also allow components to be themed for holidays or other special events.

@braven112 braven112 added Type: Feature New Feature not-reviewed Issue has not been reviewed by Auro team member auro-alert labels Oct 26, 2023
@Patrick-Daly-AA Patrick-Daly-AA removed the not-reviewed Issue has not been reviewed by Auro team member label Jan 3, 2024
@Patrick-Daly-AA Patrick-Daly-AA changed the title auro-alert: Semantic tokens auro-alert: Alias tokens Jan 3, 2024
@Patrick-Daly-AA Patrick-Daly-AA changed the title auro-alert: Alias tokens auro-alert: Semantic token Aliases Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants