One line of CSS to add basic dark/light mode

added by DotNetKicks
6/21/2022 4:34:59 PM

216 Views

When you have your OS set up in dark mode seeing bright form elements is grating. By starting your style sheet with a single line of CSS, you can make sure that people using dark mode get dark form elements and backgrounds and those using light mode, light ones.


0 comments