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

Support for themes #10

Open
4 tasks
HadrienGardeur opened this issue Oct 13, 2024 · 0 comments
Open
4 tasks

Support for themes #10

HadrienGardeur opened this issue Oct 13, 2024 · 0 comments
Assignees
Milestone

Comments

@HadrienGardeur
Copy link
Contributor

HadrienGardeur commented Oct 13, 2024

Our philosophy for themes is based on a continuity between content and reading app. This means that any theme applied to the content will also impact the playground itself in terms of:

  • background color
  • text color
  • primary color
  • and secondary color

We'll need to decide if that's the case of fonts too. This can be a little more risky, but in the case of specialized fonts, it could make a lot of sense as well.

Throughout this Epic, we will:

  • Set-up support for themes through the use of CSS custom properties
  • Implement a default that follows system settings for dark/light modes
  • Set up additional themes: light, dark, sepia and high contrast themes
  • Add support for theme-switching in user settings

Themes will be a global setting across all publications read by the user, but we might consider differentiating between reflow and FXL though (TBD).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants