aboutsummaryrefslogtreecommitdiffstats
path: root/client/src/ui/theme.js
blob: 89777915a88fcebc96bb6975f19fae7244ab84a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
}
`;