Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CSS inside noscript when JS is disabled to detect preferred color…
… theme (#308) - Makes auto theme work when JS is disabled - Only applies if the 'theme' configuration parameter is set to 'auto' or is unset.
- Loading branch information
e01b521
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.
@kdkasad scroll bar is displayed with a border around ? (in dark mode only on list pages)
e01b521
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.
Thanks, I didn't notice that. Try b395219. I'll look for other things that specifically use
:not(.dark)
to detect light mode, too.Edit: the only other thing that uses
:not(.dark)
is the theme toggle button, but that's hidden when JS is disabled anyways, so it doesn't matter.