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

Light/dark mode theming #3

Open
mattrosno opened this issue Jun 4, 2021 · 1 comment
Open

Light/dark mode theming #3

mattrosno opened this issue Jun 4, 2021 · 1 comment
Labels
carbon elements Library: IBM Design Language elements like colors, type, iconography, and more
Milestone

Comments

@mattrosno
Copy link
Member

mattrosno commented Jun 4, 2021

Summary

Carbon currently has four color themes, but it is difficult to switch the themes at runtime (light/dark mode) or use different colors themes in different parts of a web page (aka inline theming, zoned theming.) With Carbon v11 dropping IE11 support, the experimental custom properties can become the primary means apply color.

Job stories

  1. When delivering a light/dark mode feature, I want to do it without duplicated styles or stylesheet swapping to increase the performance of the application.
  2. When delivering a light/dark mode feature, I want to reference the officially-supported way to achieve this without having to use experimental features so I can focus my time on what really matters.

Success measures

  1. Product teams can implement light/dark mode by referencing the docs
  2. Product teams can migrate light variants to the new theming layer tokens or contextual tokens

Sponsoring team

Carbon team

@mattrosno mattrosno added the carbon elements Library: IBM Design Language elements like colors, type, iconography, and more label Jun 4, 2021
@carbon-design-system carbon-design-system locked and limited conversation to collaborators Jun 4, 2021
@mattrosno mattrosno added this to the v11 release milestone Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
carbon elements Library: IBM Design Language elements like colors, type, iconography, and more
Projects
None yet
Development

No branches or pull requests

1 participant