Closed metalmatze closed 2 years ago
We can set a dark-mode selection color to fix the highlighting. Everything else stayed the same for the dark mode.
This snippet sets a more readable highlight color in dark mode.
[data-dark-mode] ::selection { background: darken($primary, 25%); }
In light mode it's 25% lighter than the primary color (blue) and in dark mode it's 25% darker. Looked pretty good locally.
We can set a dark-mode selection color to fix the highlighting. Everything else stayed the same for the dark mode.
This snippet sets a more readable highlight color in dark mode.
In light mode it's 25% lighter than the primary color (blue) and in dark mode it's 25% darker. Looked pretty good locally.