@floegence/floe-webapp-core 0.56.3 → 0.56.7
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/dist/components/chat/blocks/CodeBlock.d.ts +3 -0
- package/dist/components/chat/blocks/CodeBlock.js +62 -46
- package/dist/styles/themes/classicSemanticTokens.d.ts +138 -138
- package/dist/styles/themes/classicSemanticTokens.js +14 -13
- package/dist/styles/themes/presets.js +38 -36
- package/dist/styles/themes/progressTokens.d.ts +5 -0
- package/dist/styles/themes/progressTokens.js +72 -0
- package/dist/styles.css +1 -1
- package/dist/themes/dark.css +4 -0
- package/dist/themes/light.css +4 -0
- package/dist/themes/shell-presets.generated.css +96 -0
- package/dist/ui.css +6 -16
- package/package.json +1 -1
|
@@ -1,85 +1,101 @@
|
|
|
1
|
-
import { insert as
|
|
2
|
-
import { createSignal as
|
|
3
|
-
import { cn as
|
|
4
|
-
import { highlightCode as
|
|
5
|
-
import { deferNonBlocking as
|
|
6
|
-
var
|
|
7
|
-
const
|
|
8
|
-
const [
|
|
9
|
-
let
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { insert as l, createComponent as o, memo as $, effect as x, className as I, setAttribute as L, template as r, delegateEvents as E } from "solid-js/web";
|
|
2
|
+
import { createSignal as b, createEffect as S, onCleanup as R, Show as v } from "solid-js";
|
|
3
|
+
import { cn as j } from "../../../utils/cn.js";
|
|
4
|
+
import { highlightCode as M } from "../hooks/useCodeHighlight.js";
|
|
5
|
+
import { deferNonBlocking as N } from "../../../utils/defer.js";
|
|
6
|
+
var A = /* @__PURE__ */ r("<span class=chat-code-filename>"), V = /* @__PURE__ */ r("<span class=chat-code-language>"), q = /* @__PURE__ */ r("<div>"), z = /* @__PURE__ */ r("<div><div class=chat-code-header><div class=chat-code-info></div><button type=button class=chat-code-copy-btn></button></div><span class=sr-only role=status aria-live=polite aria-atomic=true></span><div class=chat-code-content>"), D = /* @__PURE__ */ r("<pre class=chat-code-pre><code>"), F = /* @__PURE__ */ r('<svg xmlns=http://www.w3.org/2000/svg width=14 height=14 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><rect x=9 y=9 width=13 height=13 rx=2 ry=2></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1">'), G = /* @__PURE__ */ r('<svg xmlns=http://www.w3.org/2000/svg width=14 height=14 viewBox="0 0 24 24"fill=none stroke=currentColor stroke-width=2 stroke-linecap=round stroke-linejoin=round><polyline points="20 6 9 17 4 12">');
|
|
7
|
+
const X = (t) => {
|
|
8
|
+
const [p, f] = b(null), [T, s] = b(!0), [u, h] = b("idle");
|
|
9
|
+
let a = 0, g;
|
|
10
|
+
const w = () => u() === "copied" ? t.copiedLabel ?? "Copied!" : u() === "failed" ? t.copyErrorLabel ?? "Could not copy code" : t.copyLabel ?? "Copy code";
|
|
11
|
+
S(() => {
|
|
12
|
+
t.content, a++, clearTimeout(g), h("idle");
|
|
13
|
+
}), R(() => {
|
|
14
|
+
a++, clearTimeout(g);
|
|
15
|
+
});
|
|
16
|
+
let y = 0;
|
|
17
|
+
S(() => {
|
|
18
|
+
const n = ++y, c = t.content, d = t.language || "text";
|
|
19
|
+
if (!c) {
|
|
20
|
+
f(""), s(!1);
|
|
14
21
|
return;
|
|
15
22
|
}
|
|
16
|
-
s(!0),
|
|
17
|
-
|
|
18
|
-
n ===
|
|
23
|
+
s(!0), N(() => {
|
|
24
|
+
M(c, d).then((i) => {
|
|
25
|
+
n === y && (f(i), s(!1));
|
|
19
26
|
}).catch(() => {
|
|
20
|
-
n ===
|
|
27
|
+
n === y && (f(null), s(!1));
|
|
21
28
|
});
|
|
22
29
|
});
|
|
23
30
|
});
|
|
24
|
-
const
|
|
31
|
+
const H = async () => {
|
|
32
|
+
const n = ++a;
|
|
33
|
+
clearTimeout(g);
|
|
25
34
|
try {
|
|
26
|
-
await navigator.clipboard.writeText(t.content),
|
|
27
|
-
|
|
28
|
-
|
|
35
|
+
if (await navigator.clipboard.writeText(t.content), n !== a) return;
|
|
36
|
+
h("copied");
|
|
37
|
+
} catch {
|
|
38
|
+
if (n !== a) return;
|
|
39
|
+
h("failed");
|
|
29
40
|
}
|
|
41
|
+
g = setTimeout(() => h("idle"), 2e3);
|
|
30
42
|
};
|
|
31
43
|
return (() => {
|
|
32
|
-
var n =
|
|
33
|
-
return
|
|
44
|
+
var n = z(), c = n.firstChild, d = c.firstChild, i = d.nextSibling, k = c.nextSibling, B = k.nextSibling;
|
|
45
|
+
return l(d, o(v, {
|
|
34
46
|
get when() {
|
|
35
47
|
return t.filename;
|
|
36
48
|
},
|
|
37
49
|
get children() {
|
|
38
|
-
var e =
|
|
39
|
-
return
|
|
50
|
+
var e = A();
|
|
51
|
+
return l(e, () => t.filename), e;
|
|
40
52
|
}
|
|
41
|
-
}), null),
|
|
53
|
+
}), null), l(d, o(v, {
|
|
42
54
|
get when() {
|
|
43
|
-
return
|
|
55
|
+
return $(() => !t.filename)() && t.language;
|
|
44
56
|
},
|
|
45
57
|
get children() {
|
|
46
|
-
var e =
|
|
47
|
-
return
|
|
58
|
+
var e = V();
|
|
59
|
+
return l(e, () => t.language), e;
|
|
48
60
|
}
|
|
49
|
-
}), null),
|
|
61
|
+
}), null), i.$$click = H, l(i, o(v, {
|
|
50
62
|
get when() {
|
|
51
|
-
return
|
|
63
|
+
return u() === "copied";
|
|
52
64
|
},
|
|
53
65
|
get fallback() {
|
|
54
|
-
return o(
|
|
66
|
+
return o(J, {});
|
|
55
67
|
},
|
|
56
68
|
get children() {
|
|
57
|
-
return o(
|
|
69
|
+
return o(K, {});
|
|
58
70
|
}
|
|
59
|
-
})),
|
|
71
|
+
})), l(k, (() => {
|
|
72
|
+
var e = $(() => u() === "idle");
|
|
73
|
+
return () => e() ? "" : w();
|
|
74
|
+
})()), l(B, o(v, {
|
|
60
75
|
get when() {
|
|
61
|
-
return
|
|
76
|
+
return $(() => !T())() && p();
|
|
62
77
|
},
|
|
63
78
|
get fallback() {
|
|
64
79
|
return (() => {
|
|
65
|
-
var e =
|
|
66
|
-
return
|
|
80
|
+
var e = D(), m = e.firstChild;
|
|
81
|
+
return l(m, () => t.content), e;
|
|
67
82
|
})();
|
|
68
83
|
},
|
|
69
84
|
get children() {
|
|
70
|
-
var e =
|
|
71
|
-
return
|
|
85
|
+
var e = q();
|
|
86
|
+
return x(() => e.innerHTML = p()), e;
|
|
72
87
|
}
|
|
73
|
-
})),
|
|
74
|
-
var
|
|
75
|
-
return
|
|
88
|
+
})), x((e) => {
|
|
89
|
+
var m = j("chat-code-block", t.class), C = w(), _ = w();
|
|
90
|
+
return m !== e.e && I(n, e.e = m), C !== e.t && L(i, "title", e.t = C), _ !== e.a && L(i, "aria-label", e.a = _), e;
|
|
76
91
|
}, {
|
|
77
92
|
e: void 0,
|
|
78
|
-
t: void 0
|
|
93
|
+
t: void 0,
|
|
94
|
+
a: void 0
|
|
79
95
|
}), n;
|
|
80
96
|
})();
|
|
81
|
-
},
|
|
82
|
-
|
|
97
|
+
}, J = () => F(), K = () => G();
|
|
98
|
+
E(["click"]);
|
|
83
99
|
export {
|
|
84
|
-
|
|
100
|
+
X as CodeBlock
|
|
85
101
|
};
|
|
@@ -1,144 +1,144 @@
|
|
|
1
1
|
export declare const CLASSIC_LIGHT_CSS_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
|
-
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
|
|
2
|
+
'--floe-window-background': "var(--popover)";
|
|
3
|
+
'--floe-window-titlebar-background': "var(--popover)";
|
|
4
|
+
'--background': "#f8f7f2";
|
|
5
|
+
'--foreground': "#303a34";
|
|
6
|
+
'--primary': "#465a43";
|
|
7
|
+
'--primary-foreground': "#f8faf5";
|
|
8
|
+
'--secondary': "#eeefe8";
|
|
9
|
+
'--secondary-foreground': "#545f56";
|
|
10
|
+
'--muted': "#e9ece3";
|
|
11
|
+
'--muted-foreground': "#5e695c";
|
|
12
|
+
'--accent': "#e0e7da";
|
|
13
|
+
'--accent-foreground': "#303a34";
|
|
14
|
+
'--border': "#d4d8cd";
|
|
15
|
+
'--input': "#858e80";
|
|
16
|
+
'--ring': "#56694f";
|
|
17
|
+
'--chrome-border': "#dedfd7";
|
|
18
|
+
'--top-bar-border': "var(--chrome-border)";
|
|
19
|
+
'--activity-bar-border': "var(--chrome-border)";
|
|
20
|
+
'--bottom-bar-border': "var(--chrome-border)";
|
|
21
|
+
'--terminal-panel-border': "var(--chrome-border)";
|
|
22
|
+
'--card': "#fcfbf7";
|
|
23
|
+
'--card-foreground': "#303a34";
|
|
24
|
+
'--popover': "#fffefa";
|
|
25
|
+
'--popover-foreground': "#303a34";
|
|
26
|
+
'--success': "#496744";
|
|
27
|
+
'--success-foreground': "#f8faf5";
|
|
28
|
+
'--warning': "#856828";
|
|
29
|
+
'--warning-foreground': "#fffefa";
|
|
30
|
+
'--error': "#b74744";
|
|
31
|
+
'--error-foreground': "#fffefa";
|
|
32
|
+
'--info': "#2671d9";
|
|
33
|
+
'--info-foreground': "#fffefa";
|
|
34
|
+
'--highlight-block-info-accent': "oklch(0.52 0.14 245)";
|
|
35
|
+
'--highlight-block-warning-accent': "oklch(0.62 0.16 65)";
|
|
36
|
+
'--highlight-block-success-accent': "oklch(0.55 0.14 155)";
|
|
37
|
+
'--highlight-block-error-accent': "oklch(0.55 0.16 25)";
|
|
38
|
+
'--highlight-block-note-accent': "oklch(0.52 0.16 285)";
|
|
39
|
+
'--highlight-block-tip-accent': "oklch(0.52 0.12 175)";
|
|
40
|
+
'--sidebar': "#efeee7";
|
|
41
|
+
'--sidebar-foreground': "#303a34";
|
|
42
|
+
'--sidebar-primary': "#465a43";
|
|
43
|
+
'--sidebar-primary-foreground': "#f8faf5";
|
|
44
|
+
'--sidebar-accent': "#e0e7da";
|
|
45
|
+
'--sidebar-accent-foreground': "#303a34";
|
|
46
|
+
'--sidebar-border': "#dedfd7";
|
|
47
|
+
'--sidebar-ring': "#56694f";
|
|
48
|
+
'--activity-bar': "#eeede6";
|
|
49
|
+
'--activity-bar-foreground': "#5e695c";
|
|
50
|
+
'--activity-bar-foreground-active': "#303a34";
|
|
51
|
+
'--activity-bar-badge': "#465a43";
|
|
52
|
+
'--activity-bar-badge-foreground': "#f8faf5";
|
|
53
|
+
'--terminal-background': "hsl(214 26% 17%)";
|
|
54
|
+
'--terminal-foreground': "hsl(0 0% 92%)";
|
|
55
|
+
'--chart-1': "hsl(214 26% 17%)";
|
|
56
|
+
'--chart-2': "hsl(215 16% 42%)";
|
|
57
|
+
'--chart-3': "hsl(217 91% 60%)";
|
|
58
|
+
'--chart-4': "oklch(0.68 0.16 150)";
|
|
59
|
+
'--chart-5': "hsl(38 92% 50%)";
|
|
60
|
+
'--selection-bg': "hsl(217 91% 60%)";
|
|
61
|
+
'--selection-fg': "hsl(0 0% 100%)";
|
|
62
|
+
'--selection-on-primary-bg': "hsl(38 92% 50%)";
|
|
63
|
+
'--selection-on-primary-fg': "hsl(214 26% 17%)";
|
|
64
|
+
'--selection-code-bg': "hsl(212 100% 67%)";
|
|
65
|
+
'--selection-code-fg': "hsl(220 20% 8%)";
|
|
66
|
+
'--glow': "#465a43";
|
|
67
|
+
'--floe-window-foreground': "var(--foreground)";
|
|
68
|
+
'--floe-window-muted-foreground': "var(--muted-foreground)";
|
|
69
|
+
'--floe-window-border': "color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground))";
|
|
70
|
+
'--floe-window-shadow': "0 1px 3px rgb(0 0 0 / 14%), 0 12px 28px -8px rgb(0 0 0 / 18%)";
|
|
71
71
|
};
|
|
72
72
|
export declare const CLASSIC_DARK_CSS_TOKENS: {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
73
|
+
'--floe-window-background': "var(--popover)";
|
|
74
|
+
'--floe-window-titlebar-background': "var(--popover)";
|
|
75
|
+
'--background': "#202223";
|
|
76
|
+
'--foreground': "#e5e6e2";
|
|
77
|
+
'--primary': "#bccbb8";
|
|
78
|
+
'--primary-foreground': "#20291f";
|
|
79
|
+
'--secondary': "#303435";
|
|
80
|
+
'--secondary-foreground': "#b8bdb8";
|
|
81
|
+
'--muted': "#343738";
|
|
82
|
+
'--muted-foreground': "#9da4a0";
|
|
83
|
+
'--accent': "#353a38";
|
|
84
|
+
'--accent-foreground': "#e5e6e2";
|
|
85
|
+
'--border': "#3e4142";
|
|
86
|
+
'--input': "#6d7571";
|
|
87
|
+
'--ring': "#acbdb3";
|
|
88
|
+
'--chrome-border': "#292c2b";
|
|
89
|
+
'--top-bar-border': "var(--chrome-border)";
|
|
90
|
+
'--activity-bar-border': "var(--chrome-border)";
|
|
91
|
+
'--bottom-bar-border': "var(--chrome-border)";
|
|
92
|
+
'--terminal-panel-border': "var(--chrome-border)";
|
|
93
|
+
'--card': "#282b2c";
|
|
94
|
+
'--card-foreground': "#e5e6e2";
|
|
95
|
+
'--popover': "#2b2e2f";
|
|
96
|
+
'--popover-foreground': "#e5e6e2";
|
|
97
|
+
'--success': "#a1b69e";
|
|
98
|
+
'--success-foreground': "#20291f";
|
|
99
|
+
'--warning': "#c8af84";
|
|
100
|
+
'--warning-foreground': "#20291f";
|
|
101
|
+
'--error': "oklch(0.7 0.22 25)";
|
|
102
|
+
'--error-foreground': "#202223";
|
|
103
|
+
'--info': "oklch(0.7 0.15 250)";
|
|
104
|
+
'--info-foreground': "#202223";
|
|
105
|
+
'--highlight-block-info-accent': "oklch(0.62 0.12 240)";
|
|
106
|
+
'--highlight-block-warning-accent': "oklch(0.7 0.14 65)";
|
|
107
|
+
'--highlight-block-success-accent': "oklch(0.62 0.12 155)";
|
|
108
|
+
'--highlight-block-error-accent': "oklch(0.6 0.14 25)";
|
|
109
|
+
'--highlight-block-note-accent': "oklch(0.62 0.14 285)";
|
|
110
|
+
'--highlight-block-tip-accent': "oklch(0.6 0.1 175)";
|
|
111
|
+
'--sidebar': "#1b1d1e";
|
|
112
|
+
'--sidebar-foreground': "#e5e6e2";
|
|
113
|
+
'--sidebar-primary': "#bccbb8";
|
|
114
|
+
'--sidebar-primary-foreground': "#20291f";
|
|
115
|
+
'--sidebar-accent': "#353a38";
|
|
116
|
+
'--sidebar-accent-foreground': "#e5e6e2";
|
|
117
|
+
'--sidebar-border': "#292c2b";
|
|
118
|
+
'--sidebar-ring': "#acbdb3";
|
|
119
|
+
'--activity-bar': "#17191a";
|
|
120
|
+
'--activity-bar-foreground': "#9da4a0";
|
|
121
|
+
'--activity-bar-foreground-active': "#e5e6e2";
|
|
122
|
+
'--activity-bar-badge': "#bccbb8";
|
|
123
|
+
'--activity-bar-badge-foreground': "#20291f";
|
|
124
|
+
'--terminal-background': "hsl(222 32% 7%)";
|
|
125
|
+
'--terminal-foreground': "hsl(210 15% 92%)";
|
|
126
|
+
'--chart-1': "hsl(210 20% 98%)";
|
|
127
|
+
'--chart-2': "hsl(215 20% 60%)";
|
|
128
|
+
'--chart-3': "oklch(0.7 0.15 250)";
|
|
129
|
+
'--chart-4': "oklch(0.72 0.19 150)";
|
|
130
|
+
'--chart-5': "oklch(0.82 0.16 80)";
|
|
131
|
+
'--selection-bg': "hsl(215 70% 50%)";
|
|
132
|
+
'--selection-fg': "hsl(0 0% 100%)";
|
|
133
|
+
'--selection-on-primary-bg': "hsl(215 80% 35%)";
|
|
134
|
+
'--selection-on-primary-fg': "hsl(0 0% 100%)";
|
|
135
|
+
'--selection-code-bg': "hsl(212 100% 67%)";
|
|
136
|
+
'--selection-code-fg': "hsl(220 20% 8%)";
|
|
137
|
+
'--glow': "hsl(217 65% 52%)";
|
|
138
|
+
'--floe-window-foreground': "var(--foreground)";
|
|
139
|
+
'--floe-window-muted-foreground': "color-mix(in srgb, var(--muted-foreground) 72%, var(--foreground))";
|
|
140
|
+
'--floe-window-border': "color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground))";
|
|
141
|
+
'--floe-window-shadow': "0 1px 3px rgb(0 0 0 / 30%), 0 12px 28px -8px rgb(0 0 0 / 32%)";
|
|
142
142
|
};
|
|
143
143
|
export declare const CLASSIC_LIGHT_SEMANTIC_TOKENS: Readonly<Partial<Record<`--${string}`, string>>>;
|
|
144
144
|
export declare const CLASSIC_DARK_SEMANTIC_TOKENS: Readonly<Partial<Record<`--${string}`, string>>>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { createProgressTokens as b } from "./progressTokens.js";
|
|
2
|
+
import { LIGHT_WINDOW_TOKENS as l, DARK_WINDOW_TOKENS as h } from "./windowTokens.js";
|
|
3
|
+
function f(c) {
|
|
3
4
|
const a = {}, n = (r, o = /* @__PURE__ */ new Set()) => {
|
|
4
5
|
const e = c[r];
|
|
5
6
|
if (!e || o.has(r)) return e;
|
|
6
|
-
const
|
|
7
|
-
return
|
|
7
|
+
const t = /^var\((--[\w-]+)\)$/u.exec(e)?.[1];
|
|
8
|
+
return t ? (o.add(r), n(t, o)) : e;
|
|
8
9
|
};
|
|
9
10
|
for (const r of Object.keys(c))
|
|
10
11
|
a[r] = n(r);
|
|
11
12
|
return Object.freeze(a);
|
|
12
13
|
}
|
|
13
|
-
const
|
|
14
|
-
...
|
|
14
|
+
const i = {
|
|
15
|
+
...l,
|
|
15
16
|
"--floe-window-background": "var(--popover)",
|
|
16
17
|
"--floe-window-titlebar-background": "var(--popover)",
|
|
17
18
|
"--background": "#f8f7f2",
|
|
@@ -77,8 +78,8 @@ const f = {
|
|
|
77
78
|
"--selection-code-bg": "hsl(212 100% 67%)",
|
|
78
79
|
"--selection-code-fg": "hsl(220 20% 8%)",
|
|
79
80
|
"--glow": "#465a43"
|
|
80
|
-
},
|
|
81
|
-
...
|
|
81
|
+
}, d = {
|
|
82
|
+
...h,
|
|
82
83
|
"--floe-window-background": "var(--popover)",
|
|
83
84
|
"--floe-window-titlebar-background": "var(--popover)",
|
|
84
85
|
"--background": "#202223",
|
|
@@ -144,10 +145,10 @@ const f = {
|
|
|
144
145
|
"--selection-code-bg": "hsl(212 100% 67%)",
|
|
145
146
|
"--selection-code-fg": "hsl(220 20% 8%)",
|
|
146
147
|
"--glow": "hsl(217 65% 52%)"
|
|
147
|
-
}, g = i(
|
|
148
|
+
}, g = { ...i, ...b("light", i) }, s = { ...d, ...b("dark", d) }, p = f(g), v = f(s);
|
|
148
149
|
export {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
s as CLASSIC_DARK_CSS_TOKENS,
|
|
151
|
+
v as CLASSIC_DARK_SEMANTIC_TOKENS,
|
|
152
|
+
g as CLASSIC_LIGHT_CSS_TOKENS,
|
|
153
|
+
p as CLASSIC_LIGHT_SEMANTIC_TOKENS
|
|
153
154
|
};
|