-
Please add a light color theme like presented in the [blog post](https://blog.glyphdrawing.club/font-with-built-in-syntax-highlighting/#changing-the-color-theme) and enable it with `@media (prefers-co…
-
I had a random idea and tried this, but have only quickly tested in on Windows 11 with the latest release of Slint (using the Rust Cargo template).
I'll try and upload a sample project later
Essen…
-
The prefers-color-scheme CSS media query is used to detect if the user has requested the system use a light or dark color theme.
Does Modernizr have a method to detect whether the browser is "Dark …
-
How do one use the prefers-color-scheme feature?
-
A dark mode for the website would be great.
There is a relatively new CSS media query feature called [`prefers-color-scheme`](https://developer.mozilla.org/docs/Web/CSS/@media/prefers-color-scheme)…
rugk updated
6 months ago
-
The below code outputs `.foo{color:red;@light{&{color:green}}@dark{&{color:#ff0}}}`. Each rule works on their own, for example if I delete the light rule then the dark rule works: `.foo{color:red;@lig…
-
Add prefers-color-scheme media query in CSS
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
We can auto switch to dark / light mode to user based on their default syste…
-
**Describe the bug**
Light/Dark mode cannot detect user's settings
**To Reproduce**
Change system and browser settings to Dark, and access the project. You will see that the it defaults to light…
-
The XDG Desktop Portal specification provides the [`org.freedesktop.appearance.color-scheme` preference](https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Settings.html) to …
-
**Describe the bug**
bahn.expert doesn't seem to use the theme sent by my browser.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to bahn.expert
2. Make your browser "request" light th…