-
Notifications
You must be signed in to change notification settings - Fork 347
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 mode in selected sections #1771
base: main
Are you sure you want to change the base?
Conversation
Marked as controversial, not because I think anyone has any objection, but because I know @cart will have opinions on the palette etc. I think it looks really nice :) He's heads-down in BSN work right now though, so it may be a while until you get a review. |
I really like this!! Definitely a big improvement haha :) I've rebuilt the docs from the latest commit and I'm hosting the latest version here, for anyone who would like to demo it: https://bevydocs.lynndotpy.dev/ |
…-css-var-tokens # Conflicts: # sass/pages/_content.scss
This PR builds on top of #1603 and hence on the huge effort spearheaded by @lynnpepin.
There are some changes though:
main
commit.--color-white: #000;
.docs.html
which means that the quickstart, book, contributing guide and migration guides will show the light theme IF the user prefers light themes.layouts/base.html
. This will add thelight-mode
class to the<html/>
element.bevy-maybe-light-mode.mp4