File size: 1,654 Bytes
55306cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Colors as "r g b", so Tailwind can add opacity. Dark is the default: most hosts are dark. */
:root {
  --cl-bg: 17 19 23;
  --cl-surface: 26 29 35;
  --cl-raised: 36 40 48;
  --cl-border: 58 63 74;
  --cl-text: 232 234 238;
  --cl-muted: 148 155 168;
  --cl-accent: 76 155 232;
  --cl-accent-text: 150 200 250;
  --cl-on-accent: 12 22 36;
  --cl-hand: 196 140 255;
  --cl-warning: 224 160 48;
  --cl-danger: 240 110 110;
  color-scheme: dark;
}

:root[data-theme='light'] {
  --cl-bg: 240 241 244;
  --cl-surface: 255 255 255;
  --cl-raised: 248 249 251;
  --cl-border: 214 218 226;
  --cl-text: 28 31 38;
  --cl-muted: 100 108 122;
  --cl-accent: 36 112 196;
  --cl-accent-text: 24 86 160;
  --cl-on-accent: 255 255 255;
  --cl-hand: 124 58 204;
  --cl-warning: 176 112 16;
  --cl-danger: 196 48 48;
  color-scheme: light;
}

html,
body,
#root {
  height: 100%;
  margin: 0;
}

body {
  font-family: system-ui, 'Segoe UI', sans-serif;
}

/* The swatch of a color field: the browser's own color input, with nothing of its own frame left. */
.cl-swatch::-webkit-color-swatch-wrapper {
  padding: 0;
}
.cl-swatch::-webkit-color-swatch {
  border: 0;
  border-radius: 3px;
}
.cl-swatch::-moz-color-swatch {
  border: 0;
  border-radius: 3px;
}

/* Over the swatch while the color is left to the script: a checker, as where no color is set. */
.cl-checker {
  background-color: rgb(var(--cl-surface));
  background-image: repeating-conic-gradient(rgb(var(--cl-border)) 0% 25%, transparent 0% 50%);
  background-size: 8px 8px;
}