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

Question: What would be the best way to support themes? #799

Closed
michaelstonis opened this issue May 16, 2024 · 1 comment
Closed

Question: What would be the best way to support themes? #799

michaelstonis opened this issue May 16, 2024 · 1 comment
Labels

Comments

@michaelstonis
Copy link

What would be the best way to approach automatically supporting a dark mode or other theme for the generated output? Would that require a custom renderer or extension to modify the output HTML and add additional CSS classes?

@xoofx xoofx added the question label May 16, 2024
@xoofx
Copy link
Owner

xoofx commented May 16, 2024

What would be the best way to approach automatically supporting a dark mode or other theme for the generated output? Would that require a custom renderer or extension to modify the output HTML and add additional CSS classes?

Nope. Any rendering related topics are delegated to CSS, especially dark mode that is usually implemented differently by the different CSS framework providers (CSS variables, SCSS...etc.) requiring often additional JavaScript.

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

2 participants