@foone I do admit that I like tailwind ... but I also like real CSS.
Recently, I used CSS variables and a single '<body class="dark">' to add dark mode to an entire site. Smoove.
Top-level
@foone I do admit that I like tailwind ... but I also like real CSS. Recently, I used CSS variables and a single '<body class="dark">' to add dark mode to an entire site. Smoove. 1 comment
|
@foone (and yes, i know that there are other ways to approach dark mode - including automatically inferring device settings - but in this case it needed to be user controlled)