From 0c98276d324db649c4a15be7859a501588257972 Mon Sep 17 00:00:00 2001 From: s-ol Date: Thu, 13 Jan 2022 18:27:20 +0100 Subject: move everything into client/ --- client/src/ui/theme.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 client/src/ui/theme.js (limited to 'client/src/ui/theme.js') diff --git a/client/src/ui/theme.js b/client/src/ui/theme.js new file mode 100644 index 0000000..8977791 --- /dev/null +++ b/client/src/ui/theme.js @@ -0,0 +1,39 @@ +import css from './css'; + +css` +html { + margin: 0; + padding: 0; +} + +body { + --theme-backdrop: #1e1e1e; + --theme-fg: #eeeeee; + --theme-note-bg: #eeeeee; + --theme-note-fg: #363636; + --theme-note-bg-trans: rgba(238,238,238,0); + --theme-note-fg-trans: rgba(54,54,54,0); + --theme-header-fg: #121212; + + --theme-title-fg: #eeeeee; + --theme-title-bg: #363636; +} + +body.darktheme { + --theme-backdrop: #1e1e1e; + --theme-note-bg: #363636; + --theme-note-fg: #eeeeee; + --theme-note-bg-trans: rgba(54,54,54,0); + --theme-note-fg-trans: rgba(238,238,238,0); + --theme-header-fg: #121212; +} + +body { + color: var(--theme-fg); + background: var(--theme-backdrop); + font-family: sans-serif; + + margin: 0; + padding: 0; +} +`; -- cgit v1.2.3