aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/theme.js
blob: 58c8397e5dd1c03e94a499829fba98a56e5a141a (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
40
41
42
43
44
45
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;
}

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;
	width: 100vw;
	height: 100vh;
	overflow: hidden;

	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
`;