aboutsummaryrefslogtreecommitdiffstats
path: root/client/src/ui/theme.js
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2022-01-13 17:27:20 +0000
committers-ol <s+removethis@s-ol.nu>2022-01-13 17:27:20 +0000
commit0c98276d324db649c4a15be7859a501588257972 (patch)
tree8e2ee4784730e16290b043ee4b38418fa5166106 /client/src/ui/theme.js
parentMenu, DiscDAG loading (diff)
downloadfedidag-0c98276d324db649c4a15be7859a501588257972.tar.gz
fedidag-0c98276d324db649c4a15be7859a501588257972.zip
move everything into client/
Diffstat (limited to 'client/src/ui/theme.js')
-rw-r--r--client/src/ui/theme.js39
1 files changed, 39 insertions, 0 deletions
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;
+}
+`;