diff options
author | Filip Figiel <figiel.filip@gmail.com> | 2024-03-06 15:41:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 14:41:04 +0000 |
commit | f791b2e6409a16f7436e8a603f44230bd7e33611 (patch) | |
tree | cf48fec07861cccf263dd3ce778f07f021c58fae /static/common.css | |
parent | b13ca3f54ee93d2a714073caec4aa4252e8b3f00 (diff) | |
download | tour-f791b2e6409a16f7436e8a603f44230bd7e33611.tar.gz tour-f791b2e6409a16f7436e8a603f44230bd7e33611.zip |
Add dark mode support (#26)
Diffstat (limited to 'static/common.css')
-rw-r--r-- | static/common.css | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/static/common.css b/static/common.css new file mode 100644 index 0000000..2c9a188 --- /dev/null +++ b/static/common.css @@ -0,0 +1,41 @@ +/* This file contains design tokens used in core Gleam projects */ +:root { + /* Branding */ + --faff-pink: #ffaff3; + --white: #fefefc; + --unnamed-blue: #a6f0fc; + --aged-plastic-yellow: #fffbe8; + --unexpected-aubergine: #584355; + --underwater-blue: #292d3e; + --charcoal: #2f2f2f; + --black: #1e1e1e; + --blacker: #151515; + + /* Other greys */ + --off-white: #f5f5f5; + + /* Other colors */ + --menthol: #c8ffa7; + --caramel: #ffd596; + --deep-saffron: #ff9d35; + --tomato: #ff6262; + + /* Semantic colors */ + --brand-success: var(--menthol); + --brand-warning: var(--caramel); + --brand-error: var(--tomato); + + /* Light theme */ + --light-theme-background: var(--white); + --light-theme-background-dim: var(--off-white); + --light-theme-text: var(--black); + --light-theme-text-secondary: var(--charcoal); + --light-theme-code: var(--black); + + /* Dark theme */ + --dark-theme-background: var(--underwater-blue); + --dark-theme-background-dim: var(--black); + --dark-theme-text: var(--white); + --dark-theme-text-secondary: var(--aged-plastic-yellow); + --dark-theme-code: var(--deep-saffron); +} |