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

Dark mode design tokens #88

Closed
blackfalcon opened this issue Nov 17, 2022 · 0 comments · Fixed by #89
Closed

Dark mode design tokens #88

blackfalcon opened this issue Nov 17, 2022 · 0 comments · Fixed by #89
Assignees

Comments

@blackfalcon
Copy link
Member

blackfalcon commented Nov 17, 2022

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

As part of the theming work, support for generating dark mode design tokens is needed.

Describe the solution you'd like

From the design token repo we need to export a series of values to be used in dark mode. A preferred method of use is to conditional load them in the global scope of the app.

<link rel="stylesheet" href="/dark-tokens.css" media="(prefers-color-scheme: dark)" />

For token management, we need to understand this post more https://dbanks.design/blog/dark-mode-with-style-dictionary/

Specifically this part on the Multi-file method.

Exit criteria

For this issue to be closed a user must be able to subscribe to a series of darkmode design tokens for use within their project.

Dependency

@blackfalcon blackfalcon added Type: Feature New Feature not-reviewed Issue has not been reviewed by Auro team members labels Nov 17, 2022
@blackfalcon blackfalcon transferred this issue from AlaskaAirlines/auro-button Nov 17, 2022
@braven112 braven112 removed the not-reviewed Issue has not been reviewed by Auro team members label Nov 17, 2022
@jordanjones243 jordanjones243 self-assigned this Nov 22, 2022
@jordanjones243 jordanjones243 linked a pull request Nov 28, 2022 that will close this issue
6 tasks
AuroDesignSystem pushed a commit that referenced this issue Dec 13, 2022
# [3.12.0](v3.11.0...v3.12.0) (2022-12-13)

### Features

* **theme:** add build configuration for dark theme tokens [#88](#88) ([87d8d75](87d8d75))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants