@adamzea There is the (deprecated, don’t use this!) concept of CSS system colors: https://t.co/9iX3G3iT8i 🌈. For so… https://t.co/teOFXWfK7b
@designcoursecom Thanks for the shout-out to my article https://t.co/gXYzRzZNcl at https://t.co/ZCdNuxFA0w 😊. Cool video, too! Keep rockin’!
@MrGrigri @CodePen Have you seen https://t.co/Cypl59ryNV, specifically the `<dark-mode-toggle>` custom element?
@Rich_Clark @brucel @iandevlin @simevidas @stevefaulkner @internetarchive Confirmed working 🙌!
Also confirmed it’s… https://t.co/82QEIUCpqD
@davidhellmann Bei Interesse ist hier noch mehr relevantes Lesematerial: https://t.co/KQejURROVQ. 🌒
PS: Großartige… https://t.co/NStv8ATkZM
@symfony_en @suzuki Sorry, yeah, I just saw that (quoted tweet). Theme switches require a site reload though…
With… https://t.co/mxtP2NvNKM
@suzuki Oh, interesting, you’re right. They store the initial value:
“`
if (document.body.classList.contains(‘dark… https://t.co/Ae8w35su8N
@hotta_kosuke @suzuki Actually it’s not based on `prefers-color-scheme`, they use a manual theme switcher (see bott… https://t.co/w0m0EwDNxH
@hrdtbs_ch Consider avoiding pure white: https://t.co/osXJQ4bKXB.
@brucel @iandevlin @simevidas @stevefaulkner @Rich_Clark Should you close it for good, please put it on the… https://t.co/gG2boH8hcb
@donatj I half-suspected you were. But people actually implement it like that, so I thought just in case I’d advice against it. 😊
@macntaco_ebooks Check out https://t.co/0fSSSlDdET for a working example.
@donatj Inversion rarely is a solution: https://t.co/fIVzfi6MRV. It can work for icons, though: https://t.co/2mlhj9HKPn.