Having dark (and light) mode is trendy: 11ty Frame has it, automatically and akin to your color palette!
And even more: you can define the level of contrast between dark and light mode thanks to the LUM_CONTRAST_n
property. It defaults to 40
and should be kept between 30
and 49
for Web Content Accessibility Guidelines (WCAG) 2.0 conformance
under 30 you won’t a get a score of 100 when auditing your blog with Lighthouse in Chrome DevTools accessibility panel.
.