-
Notifications
You must be signed in to change notification settings - Fork 597
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
doc: improve dark theme #3735
doc: improve dark theme #3735
Conversation
This commit aims to fix some readability issues in regards to those are visually impaired, mainly colorblindness. - contrast of the fg/bg have been increased - link and text have been brightened - container objects (like the nav, <pre> background) contrast the primary background more. Signed-off-by: Evan Sarris <evan@theoryware.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @Theory-of-Everything, for the PR.
I'm fine with these changes.
Since you worked on the doc themes recently, @raven2cz, I'd like to also have your input here.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3735 +/- ##
==========================================
- Coverage 90.93% 90.87% -0.06%
==========================================
Files 897 901 +4
Lines 56682 58960 +2278
==========================================
+ Hits 51542 53581 +2039
- Misses 5140 5379 +239
Flags with carried forward coverage won't be shown. Click here to find out more. |
Mainly depends on @actionless The problem with every dark mode is settings of your LCD brightness and eyes problems. According to this problem I created three colorschemes:
I don't know if the proposal is not in the middle level now. It means we haven't low level after the accepting this MR. Depends on @actionless. From my side, I like all @Theory-of-Everything designed colors except two:
|
That dark theme was an automatically generated (with Themix-Gui app) palette from main AwesomeWM color (used on the logo). I mentioned that would appreciate if anyone would like to manually improve it. also @raven2cz, just noticed a problem with dark.css: /* background: #222222 */
......
--background-color: #222222; it should be: --background: #222222;
.....
--background-color: var(--background); (and same for other 17 colors) |
This comment was marked as off-topic.
This comment was marked as off-topic.
the only requirement regarding palettes, is to preserve AwesomeWM brand color ( |
Maybe we should just default to the NordTheme palette? Having it auto-generated is nice, but in the end it also has some issue with some of my devices. There are plenty of dark version of websites like GitHub which seem to work just fine regardless of the hardware. |
We can add more themes, nord, dracula can be added. It is not problem. If you prefer nord, you can just select it and it is stored in your local storage, after it, the nord will be opened as default for you. But in common, it is better to keep similar colorscheme between web page and documentation. @Theory-of-Everything the changes are good. We just don't fully agree with two colors of background and titles. The brightness will be increased by this MR. |
Thanks for the feedback, to address some concerns @raven2cz brought up:
There were a couple of reasons that I did radically change those colors. First of all, I never noticed the dark purple(?) background at first until I pulled up inspect element. Its way too similar to the background in brightness that makes it (quite literally) impossible to see. As for the heading, dark red usually isn't a great color on top of a dark background and in general, dark on dark is never the way to go when making colorblind accessible design. Hue isn't as powerful a communicating tool as brightness in the context of color blindness. Its bumped up to have more of a brightness contrast since the hue really doesn't help. I also don't think adding more themes fixes the problem. The dark could be changed to something like nord as @Elv13 mentioned, but with all the work done with awesome-dark, I feel that might be a waste.
@raven2cz if @actionless does approve of these changes, I don't think it will be too difficult to change the website as well, being that It will amount to a couple of css changes. @actionless as for the brand color, I haven't changed it yet, but thanks for the heads up. I'll also look at the two files you mentioned for color changes as well. |
as from my side - i'd like theme be synced in |
Cool, I'll get to that at some point today. |
@actionless I'm little bit lost goal now. Xresources is your previous colorscheme? If not, is it mean some global change of dark theme? Maybe I will wait to final change to see the result. It will be better :-) @Theory-of-Everything Ok. We will see the result. Look and feel is always complicated. My advice is to use some standardized solution/colorscheme, not your own solution, because:
|
@raven2cz i think it's important to maintain the seamless visual experience everywhere |
Still I don't understand. Which palette? I know just defined palette which you provided in webpage issue. What is this This is palette, which you defined:
Expect to two last colores (it was added, because requirements from ldoc palette coverage). So, if I understand it, it means that you want new colorscheme defined in fallback parameter in |
yes, and in case of further improvement to keep it synchronized |
@actionless Sorry, that I ask again, but still don't understand it. In issue, awesomeWM/awesome-www#175 (comment) you wrote
It means that you defined awesome palette which I attached here in previous post and you wanted to apply it to the xresources too. Not, to take actual xresources palette and use it for awesome theme, webpage and default ldoc. Or do you mean to take @Theory-of-Everything actual changed colors, change the actual defined awesome palette and replace xresources, webpage and ldoc default? I'm very confused now. |
nothing else |
Thanks! I understand now. It makes sense. |
This patch aims to fix some readability issues in regards to those are visually impaired, mainly colorblindness.
I have tried to keep the modified colors as close to the original scheme as possible, however there was need for a couple of larger changes.
original (left) new (right)