:root {
color-scheme: light dark;
--text: light-dark(#000, #FFF);
--bg: light-dark(#EEE, #242936);
}
Hmm, I guess the advantage of that over
@media (prefers-color-scheme: dark) {
/*set different values for variables*/
}
is that you can set the color scheme via a button much more easily then.
Had to think about that for a moment, because the old way of doing things seemed fine, but that is a pretty good reason, I guess.
They had to throw out lots of customization options, because Google made a ton of changes to Android/AOSP and it wasn’t compatible anymore.
Like, LineageOS is still a more feature-rich and cleaner OS than what comes preinstalled on most phones. But yeah, even relatively simple stuff like setting a system font never got a real replacement.
No idea, if it is still easily possible to implement that. You can fake it by replacing the Roboto font file with a different font, but you get weird font issues in various apps then.