bookshelf-doc/static
Calvin Lee 76a137dabc fix colors if media set to dark
This commit fixes a few edge-cases. First, if you `prefers-color-scheme`
is dark, your background will no longer be dark in light mode.
Furthermore, switching from dark to system theme now works. It did not
before, as we queried our iframe for color-scheme instead of the parent
window (our iframe inherited the color-scheme from the parent document).
Finally, the navbar iframe has its color-scheme set separately, which
caused issues in a few cases.
2023-06-09 23:39:59 +02:00
..
alectryon feat: Basic semantic highlighting support 2022-06-20 22:21:48 +02:00
find fix: #114 2023-02-16 18:14:40 +01:00
color-scheme.js fix colors if media set to dark 2023-06-09 23:39:59 +02:00
declaration-data.js Add filters for search results based on kind. 2023-02-01 15:15:45 +01:00
how-about.js refactor: change find syntax 2022-02-23 04:26:20 +08:00
importedBy.js feat: importedBy via Javascript 2022-07-22 16:56:51 +02:00
instances.js feat: instances for 2022-07-23 15:40:08 +02:00
mathjax-config.js refactor: clean up javascript code 2022-02-22 12:40:14 +08:00
nav.js refactor: clean up javascript code 2022-02-22 12:40:14 +08:00
search.js feat: trigger search input when event handler is added 2023-05-24 15:47:11 +02:00
site-root.js refactor: clean up javascript code 2022-02-22 12:40:14 +08:00
style.css fix colors if media set to dark 2023-06-09 23:39:59 +02:00
tactic.js refactor: clean up javascript code 2022-02-22 12:40:14 +08:00