diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2021-02-05 18:32:12 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2021-02-05 18:42:02 +0000 |
| commit | 464174b7e5e4e5c389c896173e8c7ab21badda8a (patch) | |
| tree | 0f88ffc3db86026f86cb2941e4a05bd8a2753903 /src/ui/theme.js | |
| parent | links leave shadow (diff) | |
| download | fedidag-464174b7e5e4e5c389c896173e8c7ab21badda8a.tar.gz fedidag-464174b7e5e4e5c389c896173e8c7ab21badda8a.zip | |
clean up UI code
Diffstat (limited to 'src/ui/theme.js')
| -rw-r--r-- | src/ui/theme.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ui/theme.js b/src/ui/theme.js new file mode 100644 index 0000000..372cd46 --- /dev/null +++ b/src/ui/theme.js @@ -0,0 +1,26 @@ +import css from './css'; + +css` +body { + --theme-backdrop: #1e1e1e; + --theme-fg: #eeeeee; + --theme-note-bg: #eeeeee; + --theme-note-fg: #363636; + --theme-header-fg: #121212; +} + +body.darktheme { + --theme-backdrop: #1e1e1e; + --theme-note-bg: #363636; + --theme-note-fg: #eeeeee; + --theme-header-fg: #121212; +} + +body { + color: var(--theme-fg); + background: var(--theme-backdrop); + font-family: sans-serif; + font-size: 11px; +} +`; + |
