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

POC: theme switcher #224

Closed
jordanjones243 opened this issue Dec 5, 2022 · 0 comments
Closed

POC: theme switcher #224

jordanjones243 opened this issue Dec 5, 2022 · 0 comments
Assignees
Labels

Comments

@jordanjones243
Copy link
Contributor

jordanjones243 commented Dec 5, 2022

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

Switching a theme should be as easy as swapping out one design token lib for another.

Describe the solution you'd like

Use an auro-select element that allows the user to toggle which theme they would like to use and have Javascript that will load the correct design token script, depending on the user's selection.

Describe alternatives you've considered

Refer to this original ticket for an alternate component and implementation idea:

Exit criteria

For this issue to be closed, a user must be able to subscribe to an alternate set of design tokens and HTML custom elements within the scope of that project will change themes based on those tokens.

@jordanjones243 jordanjones243 added Type: Feature New Feature auro-input not-reviewed Issue has not been reviewed by Auro team members labels Dec 5, 2022
@jordanjones243 jordanjones243 removed the not-reviewed Issue has not been reviewed by Auro team members label Dec 5, 2022
@blackfalcon blackfalcon changed the title Design token value map POC: theme switcher Dec 13, 2022
@braven112 braven112 added this to the Theme and darkmode support milestone Dec 28, 2022
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