-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add a dark mode #70
Comments
KhronosGroup/antora-ui-khronos#11 <-- when that's merged it will display dark mode if your browser preferences are set to display dark mode. |
As mentioned on the call, other things to consider while offering configurable CSS: Atkinson Hyperlegible was designed to maximise legibility for people who have visual limitations. There are also some fonts like OpenDyslexic and Dyslexie which are intended to be easier to read for those with dyslexia. Supposedly reducing contrast can sometimes help there, although since the reverse is true of my vision and I had a load of low-contrast whiteboards imposed on me without consultation, probably options are the way in all things. At least we don't have a lot of animation to hide. I'm not particularly a fan of the aesthetics of any of those, so I'm not advocating using them as a default, but it might be nice to have them as options? (I'll be adding that functionality to a website I host soon, if I can report back on whether they work. Although actually the biggest problem I've had with a font choice is finding one whose fractions actually match the appearance of the main numerals, which is for some reason extremely rare, and very annoying if you're trying to make 1⁄10 look like ½.) |
Thanks. I don't know if there's a preference we can take advantage of if the user has specified they prefer a specific font in their browser the way we do with darkmode. I think it's going to be a cookie or something along with a drop down to select the font; but it's certainly doable. The only preference that I'm aware of is: @media (prefers-contrast:...) I think the normal usecase there is to increase/decrease the base-weight; however, we could change the default font? |
Been requested e.g. here: KhronosGroup/Vulkan-Tutorial#33 (Can't move the issue over here due to missing permissions)
The text was updated successfully, but these errors were encountered: