1
mirror of https://github.com/jakejarvis/dark-mode-example.git synced 2025-10-18 22:04:25 -04:00

Create dark-mode.css

This commit is contained in:
2020-04-29 12:56:17 -04:00
committed by GitHub
parent 8fd3f2b49a
commit a6354dd76a

16
dark-mode.css Normal file
View File

@@ -0,0 +1,16 @@
body.light {
background-color: #fff;
color: #222;
}
body.dark {
background-color: #222;
color: #fff;
}
.dark-mode-toggle {
cursor: pointer;
padding: 1em;
/* hide toggle until we're sure user has JS enabled */
visibility: hidden;
}