@rathkit/rte-themes 0.1.0-alpha.4 → 0.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/css/auto.css +75 -75
- package/css/dark.css +37 -37
- package/css/density.css +15 -15
- package/css/high-contrast.css +37 -37
- package/css/light.css +37 -37
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +35 -35
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @rathkit/rte-themes
|
|
2
2
|
|
|
3
|
-
> **Alpha
|
|
3
|
+
> **Alpha.** Not for production: the APIs will change between releases. Published to the `next` tag only.
|
|
4
4
|
|
|
5
|
-
Preset themes (light, dark, auto, high contrast) and a density setting, as CSS files of `--
|
|
5
|
+
Preset themes (light, dark, auto, high contrast) and a density setting, as CSS files of `--rte-*` custom properties, with tests that every pair of colors meets its contrast ratio.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
package/css/auto.css
CHANGED
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
/* Rathkit RTE theme: auto. Token values only: no rules for any part. Load it after the base styles of @rathkit/rte-ui.
|
|
2
|
-
Scope: any element with data-
|
|
3
|
-
:where([data-
|
|
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
|
-
--
|
|
2
|
+
Scope: any element with data-rte-theme="auto" (normally the .rte-root of an editor), never :root. */
|
|
3
|
+
:where([data-rte-theme="auto"]) {
|
|
4
|
+
--rte-space-1: 4px;
|
|
5
|
+
--rte-space-2: 8px;
|
|
6
|
+
--rte-space-3: 12px;
|
|
7
|
+
--rte-space-4: 16px;
|
|
8
|
+
--rte-control-size: 32px;
|
|
9
|
+
--rte-radius-s: 4px;
|
|
10
|
+
--rte-radius-m: 8px;
|
|
11
|
+
--rte-border-width: 1px;
|
|
12
|
+
--rte-focus-width: 2px;
|
|
13
|
+
--rte-focus-offset: 2px;
|
|
14
|
+
--rte-font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
15
|
+
--rte-font-content: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
16
|
+
--rte-font-heading: "Archivo", "Instrument Sans", system-ui, sans-serif;
|
|
17
|
+
--rte-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
18
|
+
--rte-font-size: 16px;
|
|
19
|
+
--rte-line-height: 1.55;
|
|
20
|
+
--rte-motion-duration: 120ms;
|
|
21
|
+
--rte-shadow-popover: 0 6px 24px rgb(20 24 31 / 0.18), 0 1px 3px rgb(20 24 31 / 0.12);
|
|
22
|
+
--rte-bg: #ffffff;
|
|
23
|
+
--rte-surface: #f4f6f9;
|
|
24
|
+
--rte-surface-raised: #ffffff;
|
|
25
|
+
--rte-fg: #14181f;
|
|
26
|
+
--rte-fg-muted: #505b6b;
|
|
27
|
+
--rte-border: #78849a;
|
|
28
|
+
--rte-border-subtle: #d4dae3;
|
|
29
|
+
--rte-accent: #17408b;
|
|
30
|
+
--rte-accent-fg: #ffffff;
|
|
31
|
+
--rte-accent-subtle: #e3ecfa;
|
|
32
|
+
--rte-danger: #b3261e;
|
|
33
|
+
--rte-selection-bg: #cddffa;
|
|
34
|
+
--rte-control-hover: #e6ebf3;
|
|
35
|
+
--rte-control-active: #d3dcec;
|
|
36
|
+
--rte-brand: #b9812a;
|
|
37
|
+
--rte-brand-text: #86590f;
|
|
38
|
+
--rte-focus-color: #17408b;
|
|
39
39
|
color-scheme: light dark;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
@media (prefers-color-scheme: dark) {
|
|
43
|
-
:where([data-
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--
|
|
50
|
-
--
|
|
51
|
-
--
|
|
52
|
-
--
|
|
53
|
-
--
|
|
54
|
-
--
|
|
55
|
-
--
|
|
56
|
-
--
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
--
|
|
60
|
-
--
|
|
61
|
-
--
|
|
43
|
+
:where([data-rte-theme="auto"]:not([data-rte-scheme="light"])) {
|
|
44
|
+
--rte-bg: #10151d;
|
|
45
|
+
--rte-surface: #171e29;
|
|
46
|
+
--rte-surface-raised: #1d2633;
|
|
47
|
+
--rte-fg: #eaeef4;
|
|
48
|
+
--rte-fg-muted: #a9b4c3;
|
|
49
|
+
--rte-border: #6b7789;
|
|
50
|
+
--rte-border-subtle: #2b3646;
|
|
51
|
+
--rte-accent: #6fa0e8;
|
|
52
|
+
--rte-accent-fg: #0b1a33;
|
|
53
|
+
--rte-accent-subtle: #1d3257;
|
|
54
|
+
--rte-danger: #ff8f86;
|
|
55
|
+
--rte-selection-bg: #294a80;
|
|
56
|
+
--rte-control-hover: #243044;
|
|
57
|
+
--rte-control-active: #2f3e57;
|
|
58
|
+
--rte-brand: #e0a850;
|
|
59
|
+
--rte-brand-text: #e0a850;
|
|
60
|
+
--rte-focus-color: #9bc0f5;
|
|
61
|
+
--rte-shadow-popover: 0 6px 24px rgb(0 0 0 / 0.5), 0 1px 3px rgb(0 0 0 / 0.4);
|
|
62
62
|
color-scheme: dark;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
:where([data-
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
--
|
|
72
|
-
--
|
|
73
|
-
--
|
|
74
|
-
--
|
|
75
|
-
--
|
|
76
|
-
--
|
|
77
|
-
--
|
|
78
|
-
--
|
|
79
|
-
--
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--
|
|
83
|
-
--
|
|
84
|
-
--
|
|
66
|
+
:where([data-rte-theme="auto"][data-rte-scheme="dark"]) {
|
|
67
|
+
--rte-bg: #10151d;
|
|
68
|
+
--rte-surface: #171e29;
|
|
69
|
+
--rte-surface-raised: #1d2633;
|
|
70
|
+
--rte-fg: #eaeef4;
|
|
71
|
+
--rte-fg-muted: #a9b4c3;
|
|
72
|
+
--rte-border: #6b7789;
|
|
73
|
+
--rte-border-subtle: #2b3646;
|
|
74
|
+
--rte-accent: #6fa0e8;
|
|
75
|
+
--rte-accent-fg: #0b1a33;
|
|
76
|
+
--rte-accent-subtle: #1d3257;
|
|
77
|
+
--rte-danger: #ff8f86;
|
|
78
|
+
--rte-selection-bg: #294a80;
|
|
79
|
+
--rte-control-hover: #243044;
|
|
80
|
+
--rte-control-active: #2f3e57;
|
|
81
|
+
--rte-brand: #e0a850;
|
|
82
|
+
--rte-brand-text: #e0a850;
|
|
83
|
+
--rte-focus-color: #9bc0f5;
|
|
84
|
+
--rte-shadow-popover: 0 6px 24px rgb(0 0 0 / 0.5), 0 1px 3px rgb(0 0 0 / 0.4);
|
|
85
85
|
color-scheme: dark;
|
|
86
86
|
}
|
package/css/dark.css
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
/* Rathkit RTE theme: dark. Token values only: no rules for any part. Load it after the base styles of @rathkit/rte-ui.
|
|
2
|
-
Scope: any element with data-
|
|
3
|
-
:where([data-
|
|
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
|
-
--
|
|
2
|
+
Scope: any element with data-rte-theme="dark" (normally the .rte-root of an editor), never :root. */
|
|
3
|
+
:where([data-rte-theme="dark"]) {
|
|
4
|
+
--rte-space-1: 4px;
|
|
5
|
+
--rte-space-2: 8px;
|
|
6
|
+
--rte-space-3: 12px;
|
|
7
|
+
--rte-space-4: 16px;
|
|
8
|
+
--rte-control-size: 32px;
|
|
9
|
+
--rte-radius-s: 4px;
|
|
10
|
+
--rte-radius-m: 8px;
|
|
11
|
+
--rte-border-width: 1px;
|
|
12
|
+
--rte-focus-width: 2px;
|
|
13
|
+
--rte-focus-offset: 2px;
|
|
14
|
+
--rte-font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
15
|
+
--rte-font-content: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
16
|
+
--rte-font-heading: "Archivo", "Instrument Sans", system-ui, sans-serif;
|
|
17
|
+
--rte-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
18
|
+
--rte-font-size: 16px;
|
|
19
|
+
--rte-line-height: 1.55;
|
|
20
|
+
--rte-motion-duration: 120ms;
|
|
21
|
+
--rte-shadow-popover: 0 6px 24px rgb(0 0 0 / 0.5), 0 1px 3px rgb(0 0 0 / 0.4);
|
|
22
|
+
--rte-bg: #10151d;
|
|
23
|
+
--rte-surface: #171e29;
|
|
24
|
+
--rte-surface-raised: #1d2633;
|
|
25
|
+
--rte-fg: #eaeef4;
|
|
26
|
+
--rte-fg-muted: #a9b4c3;
|
|
27
|
+
--rte-border: #6b7789;
|
|
28
|
+
--rte-border-subtle: #2b3646;
|
|
29
|
+
--rte-accent: #6fa0e8;
|
|
30
|
+
--rte-accent-fg: #0b1a33;
|
|
31
|
+
--rte-accent-subtle: #1d3257;
|
|
32
|
+
--rte-danger: #ff8f86;
|
|
33
|
+
--rte-selection-bg: #294a80;
|
|
34
|
+
--rte-control-hover: #243044;
|
|
35
|
+
--rte-control-active: #2f3e57;
|
|
36
|
+
--rte-brand: #e0a850;
|
|
37
|
+
--rte-brand-text: #e0a850;
|
|
38
|
+
--rte-focus-color: #9bc0f5;
|
|
39
39
|
color-scheme: dark;
|
|
40
40
|
}
|
package/css/density.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/* Density: set data-
|
|
2
|
-
:where([data-
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
1
|
+
/* Density: set data-rte-density="compact" or "comfortable" on the root. It changes space and control size only, whatever the theme. */
|
|
2
|
+
:where([data-rte-density="compact"]) {
|
|
3
|
+
--rte-space-1: 2px;
|
|
4
|
+
--rte-space-2: 4px;
|
|
5
|
+
--rte-space-3: 8px;
|
|
6
|
+
--rte-space-4: 12px;
|
|
7
|
+
--rte-control-size: 28px;
|
|
8
|
+
--rte-font-size: 15px;
|
|
9
|
+
--rte-line-height: 1.5;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
:where([data-
|
|
13
|
-
--
|
|
14
|
-
--
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
12
|
+
:where([data-rte-density="comfortable"]) {
|
|
13
|
+
--rte-space-1: 6px;
|
|
14
|
+
--rte-space-2: 10px;
|
|
15
|
+
--rte-space-3: 14px;
|
|
16
|
+
--rte-space-4: 20px;
|
|
17
|
+
--rte-control-size: 40px;
|
|
18
18
|
}
|
package/css/high-contrast.css
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
/* Rathkit RTE theme: high-contrast. Token values only: no rules for any part. Load it after the base styles of @rathkit/rte-ui.
|
|
2
|
-
Scope: any element with data-
|
|
3
|
-
:where([data-
|
|
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
|
-
--
|
|
2
|
+
Scope: any element with data-rte-theme="high-contrast" (normally the .rte-root of an editor), never :root. */
|
|
3
|
+
:where([data-rte-theme="high-contrast"]) {
|
|
4
|
+
--rte-space-1: 4px;
|
|
5
|
+
--rte-space-2: 8px;
|
|
6
|
+
--rte-space-3: 12px;
|
|
7
|
+
--rte-space-4: 16px;
|
|
8
|
+
--rte-control-size: 32px;
|
|
9
|
+
--rte-radius-s: 4px;
|
|
10
|
+
--rte-radius-m: 8px;
|
|
11
|
+
--rte-border-width: 2px;
|
|
12
|
+
--rte-focus-width: 3px;
|
|
13
|
+
--rte-focus-offset: 2px;
|
|
14
|
+
--rte-font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
15
|
+
--rte-font-content: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
16
|
+
--rte-font-heading: "Archivo", "Instrument Sans", system-ui, sans-serif;
|
|
17
|
+
--rte-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
18
|
+
--rte-font-size: 16px;
|
|
19
|
+
--rte-line-height: 1.55;
|
|
20
|
+
--rte-motion-duration: 0ms;
|
|
21
|
+
--rte-shadow-popover: none;
|
|
22
|
+
--rte-bg: #000000;
|
|
23
|
+
--rte-surface: #000000;
|
|
24
|
+
--rte-surface-raised: #000000;
|
|
25
|
+
--rte-fg: #ffffff;
|
|
26
|
+
--rte-fg-muted: #e6e6e6;
|
|
27
|
+
--rte-border: #ffffff;
|
|
28
|
+
--rte-border-subtle: #ffffff;
|
|
29
|
+
--rte-accent: #ffd54a;
|
|
30
|
+
--rte-accent-fg: #000000;
|
|
31
|
+
--rte-accent-subtle: #2a2a00;
|
|
32
|
+
--rte-danger: #ff9a9a;
|
|
33
|
+
--rte-selection-bg: #0a3cff;
|
|
34
|
+
--rte-control-hover: #1f1f1f;
|
|
35
|
+
--rte-control-active: #3a3a3a;
|
|
36
|
+
--rte-brand: #ffd54a;
|
|
37
|
+
--rte-brand-text: #ffd54a;
|
|
38
|
+
--rte-focus-color: #ffd54a;
|
|
39
39
|
color-scheme: dark;
|
|
40
40
|
}
|
package/css/light.css
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
/* Rathkit RTE theme: light. Token values only: no rules for any part. Load it after the base styles of @rathkit/rte-ui.
|
|
2
|
-
Scope: any element with data-
|
|
3
|
-
:where([data-
|
|
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
|
-
--
|
|
2
|
+
Scope: any element with data-rte-theme="light" (normally the .rte-root of an editor), never :root. */
|
|
3
|
+
:where([data-rte-theme="light"]) {
|
|
4
|
+
--rte-space-1: 4px;
|
|
5
|
+
--rte-space-2: 8px;
|
|
6
|
+
--rte-space-3: 12px;
|
|
7
|
+
--rte-space-4: 16px;
|
|
8
|
+
--rte-control-size: 32px;
|
|
9
|
+
--rte-radius-s: 4px;
|
|
10
|
+
--rte-radius-m: 8px;
|
|
11
|
+
--rte-border-width: 1px;
|
|
12
|
+
--rte-focus-width: 2px;
|
|
13
|
+
--rte-focus-offset: 2px;
|
|
14
|
+
--rte-font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
15
|
+
--rte-font-content: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
16
|
+
--rte-font-heading: "Archivo", "Instrument Sans", system-ui, sans-serif;
|
|
17
|
+
--rte-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
18
|
+
--rte-font-size: 16px;
|
|
19
|
+
--rte-line-height: 1.55;
|
|
20
|
+
--rte-motion-duration: 120ms;
|
|
21
|
+
--rte-shadow-popover: 0 6px 24px rgb(20 24 31 / 0.18), 0 1px 3px rgb(20 24 31 / 0.12);
|
|
22
|
+
--rte-bg: #ffffff;
|
|
23
|
+
--rte-surface: #f4f6f9;
|
|
24
|
+
--rte-surface-raised: #ffffff;
|
|
25
|
+
--rte-fg: #14181f;
|
|
26
|
+
--rte-fg-muted: #505b6b;
|
|
27
|
+
--rte-border: #78849a;
|
|
28
|
+
--rte-border-subtle: #d4dae3;
|
|
29
|
+
--rte-accent: #17408b;
|
|
30
|
+
--rte-accent-fg: #ffffff;
|
|
31
|
+
--rte-accent-subtle: #e3ecfa;
|
|
32
|
+
--rte-danger: #b3261e;
|
|
33
|
+
--rte-selection-bg: #cddffa;
|
|
34
|
+
--rte-control-hover: #e6ebf3;
|
|
35
|
+
--rte-control-active: #d3dcec;
|
|
36
|
+
--rte-brand: #b9812a;
|
|
37
|
+
--rte-brand-text: #86590f;
|
|
38
|
+
--rte-focus-color: #17408b;
|
|
39
39
|
color-scheme: light;
|
|
40
40
|
}
|
package/dist/tokens.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const TOKENS: readonly ["--
|
|
1
|
+
export declare const TOKENS: readonly ["--rte-accent", "--rte-accent-fg", "--rte-accent-subtle", "--rte-bg", "--rte-border", "--rte-border-subtle", "--rte-border-width", "--rte-brand", "--rte-brand-text", "--rte-control-active", "--rte-control-hover", "--rte-control-size", "--rte-danger", "--rte-fg", "--rte-fg-muted", "--rte-focus-color", "--rte-focus-offset", "--rte-focus-width", "--rte-font-content", "--rte-font-heading", "--rte-font-mono", "--rte-font-size", "--rte-font-ui", "--rte-line-height", "--rte-motion-duration", "--rte-radius-m", "--rte-radius-s", "--rte-selection-bg", "--rte-shadow-popover", "--rte-space-1", "--rte-space-2", "--rte-space-3", "--rte-space-4", "--rte-surface", "--rte-surface-raised"];
|
|
2
2
|
export type TokenName = (typeof TOKENS)[number];
|
|
3
3
|
/** Themes that ship as CSS files in this package. */
|
|
4
4
|
export declare const THEMES: readonly ["light", "dark", "auto", "high-contrast"];
|
package/dist/tokens.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
export const TOKENS = [
|
|
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
|
-
"--
|
|
2
|
+
"--rte-accent",
|
|
3
|
+
"--rte-accent-fg",
|
|
4
|
+
"--rte-accent-subtle",
|
|
5
|
+
"--rte-bg",
|
|
6
|
+
"--rte-border",
|
|
7
|
+
"--rte-border-subtle",
|
|
8
|
+
"--rte-border-width",
|
|
9
|
+
"--rte-brand",
|
|
10
|
+
"--rte-brand-text",
|
|
11
|
+
"--rte-control-active",
|
|
12
|
+
"--rte-control-hover",
|
|
13
|
+
"--rte-control-size",
|
|
14
|
+
"--rte-danger",
|
|
15
|
+
"--rte-fg",
|
|
16
|
+
"--rte-fg-muted",
|
|
17
|
+
"--rte-focus-color",
|
|
18
|
+
"--rte-focus-offset",
|
|
19
|
+
"--rte-focus-width",
|
|
20
|
+
"--rte-font-content",
|
|
21
|
+
"--rte-font-heading",
|
|
22
|
+
"--rte-font-mono",
|
|
23
|
+
"--rte-font-size",
|
|
24
|
+
"--rte-font-ui",
|
|
25
|
+
"--rte-line-height",
|
|
26
|
+
"--rte-motion-duration",
|
|
27
|
+
"--rte-radius-m",
|
|
28
|
+
"--rte-radius-s",
|
|
29
|
+
"--rte-selection-bg",
|
|
30
|
+
"--rte-shadow-popover",
|
|
31
|
+
"--rte-space-1",
|
|
32
|
+
"--rte-space-2",
|
|
33
|
+
"--rte-space-3",
|
|
34
|
+
"--rte-space-4",
|
|
35
|
+
"--rte-surface",
|
|
36
|
+
"--rte-surface-raised",
|
|
37
37
|
];
|
|
38
38
|
export const THEMES = ["light", "dark", "auto", "high-contrast"];
|