As a CSS criminal, it'd be nice if the background color of the current post were a variable that I could reference in my style rules, so I could more easily make crimes that look good in both dark mode and light mode (as well as any future color schemes). I'm imagining something like
Ran into a related issue - there's a `--color-background` CSS variable, but it's only set based on a media query for `prefers-color-scheme: dark` and ignores my actual cohost settings
E.g. I have cohost set to use light mode, but my phone has dark mode set at the system level. The color-background` CSS variable ends up being black, even though that doesn't match the actual background color for posts
xenofem
As a CSS criminal, it'd be nice if the background color of the current post were a variable that I could reference in my style rules, so I could more easily make crimes that look good in both dark mode and light mode (as well as any future color schemes). I'm imagining something like
5 people like this idea