Hacker News new | ask | show | jobs
by fphilipe 2453 days ago
Same here: https://phili.pe/

I've used CSS variables though, which make it even simpler. E.g. I have `--page-background-color` and `--text-color-primary` that are set to a certain default value. In dark mode, these variables are set to other values, removing the need to redefine the actual selectors.

1 comments

Me too! CSS variables rock.