-
Notifications
You must be signed in to change notification settings - Fork 725
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
How to set dark theme #257
Comments
For the record: After doing a bit trial, it seems there's no real "one-liner" for that. I wen't down the path of just overriding and swapping (in my Not too much of a hassle honestly. |
Try this, it's awesome https://dev.to/dip15739/dark-mode-with-only-1-css-property-17fl |
Hi, this is a first step to Dark theme: https://djibe.github.io/material/docs/4.5/material/dark-theme/ |
I'd like to use a dark theme (eg. dark body background, light text colors) and I assume there's some simple way to define this in a custom sass, but I can't figure out how.
I was able to override variables, eg. override
$body-bg
in my custom.scss (also modifyingpackage.json
anddocs.scss
to use/import mycustom.scss
so I could also see the rebuilt docs reflect my color changes, but of course this is just cherry-picking$body-bg
...Am I wrong assuming there is an easy way to swich from light to dark easily?
The text was updated successfully, but these errors were encountered: