-
Notifications
You must be signed in to change notification settings - Fork 221
Add dark mode support 🌗 #199
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
Conversation
…itor.. next time will less commits.
Outline buttons
Switch components
…irefox Navbar fix for FireFox
Feature Breadcrumb
Looks really nice! |
Sounds great, @seifsay3d! Thank you for all of your work on this, and please let me know if I can help out in any way! |
Hi @rhyneav, I've finally managed to fix the remaining issues, it looks good to me, but I would love to have a second eye just in case something slipped. |
Awesome! Thank you for taking care of those! I went through each page to see the changes and double check that there were not any styles that changed using light mode (since it should all be the same after the refactor) and found a couple of minor issues. Totally to be expected with such a major change, I'm impressed that this was all I found! Please let me know if you need any assistance with getting these last updates! Alert textTo keep backward compatibility we'll want to keep the text the same dark color. Card bordersSimilar to the alert text, but the border colors changed. I do like the dark borders, but think that we'll want to keep the old colors for now. Code StylesIt looks like some of the code styles were lost Input FocusIt looks like we lost colors on the input focus Link UnderlineIn some places (but not all for some reason) we lost the link underline Popover bordersBorder styles on the popover appear to be less papery, maybe it's the border color? |
Thanks for not only noticing these but also for the great report and your very supportive attitude. I've added all the necessary changes to address these. I've kept the blue in links to Other than that, I hope we have everything fixed 🤞🏽 |
This is fantastic, thank you again for all of your work in making this happen! I'm personally really excited to see dark mode in PaperCSS! I'm going to merge this in to |
Misspoke in my last comment. This was released yesterday in |
Brief description
This PR addressed issue #187 and adds support to dark mode by adding
.dark
to the<html>
tag....
Developer Certificate of Origin
Sample pictures
...

Further details
This PR is not ready for merge as I assume I have missed some variable references, I opened it so that we can have a point of discussion as I need some guidance to make sure I'm on the right track.
The goal is to support dark mode using CSS variables and at the same time keep supporting IE 'light mode only' using this mixin.
I have some concerns that I'm not sure how to deal with.
1 - this mixin allows for typos that are not spotted by the linter
2- this mixin has a limitation as it requires property and color name, thus struggles when trying to be used in gradients for example
I would love to hear your opinion on these.
...