aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/theme.js
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2021-02-12 11:59:17 +0000
committers-ol <s-ol@users.noreply.github.com>2021-02-12 11:59:17 +0000
commit6ff22d37d29a0e92167c368f6d2a68a95e653b8e (patch)
tree23aed290f052f323eec5acd622f05e4158a1c768 /src/ui/theme.js
parentremove JS proxy (diff)
downloadfedidag-6ff22d37d29a0e92167c368f6d2a68a95e653b8e.tar.gz
fedidag-6ff22d37d29a0e92167c368f6d2a68a95e653b8e.zip
selection bar, permalinks, avatar links
Diffstat (limited to 'src/ui/theme.js')
-rw-r--r--src/ui/theme.js21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/ui/theme.js b/src/ui/theme.js
index 372cd46..58c8397 100644
--- a/src/ui/theme.js
+++ b/src/ui/theme.js
@@ -1,11 +1,19 @@
import css from './css';
css`
+html {
+ font-size: 11px;
+ 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;
}
@@ -13,6 +21,8 @@ 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;
}
@@ -20,7 +30,16 @@ body {
color: var(--theme-fg);
background: var(--theme-backdrop);
font-family: sans-serif;
- font-size: 11px;
+
+ margin: 0;
+ padding: 0;
+ width: 100vw;
+ height: 100vh;
+ overflow: hidden;
+
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
}
`;