-
Notifications
You must be signed in to change notification settings - Fork 30
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 in DCAR for Dotcom and Apps #8729
Milestone
Comments
jamesgorrie
modified the milestones:
[P6] Have a DCR article working in Prod ,
DCR for Apps
Sep 5, 2023
JamieB-gu
changed the title
[Epic]: DCR for Apps - Dark Mode
Dark Mode in DCAR for Dotcom and Apps
Oct 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The apps support dark mode, so in order for DCR to render articles in the apps it must support dark mode too. Dotcom and Editions do not support dark mode, so DCR components have to include dark mode conditionally, depending on the target currently being rendered for.
How?
We completed a spike on this in #7071 and came up with a proposal for how this might work in #7766. This can be built upon to complete this issue and implement dark mode.
Outstanding Questions
We still need to figure out how to handle "sub-palettes" on articles. While the main content of an article has a single
ArticleFormat
from which a palette can be derived, the cards in onward content do not and can have a range of different palettes. More information in:The text was updated successfully, but these errors were encountered: