@floegence/floe-webapp-core 0.52.13 → 0.53.1
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/ChatProvider.js +31 -30
- package/dist/components/chat/hooks/useAttachments.js +27 -26
- package/dist/components/chat/hooks/useCodeDiff.js +24 -23
- package/dist/components/chat/hooks/useCodeHighlight.js +21 -20
- package/dist/components/chat/hooks/useMarkdown.js +27 -26
- package/dist/components/chat/hooks/useMermaid.js +21 -20
- package/dist/components/layout/BottomBar.js +22 -22
- package/dist/components/layout/TopBar.js +7 -7
- package/dist/components/ui/Button.js +1 -1
- package/dist/components/ui/Card.js +1 -1
- package/dist/components/ui/Checkbox.js +69 -69
- package/dist/components/ui/CommandPalette.js +29 -30
- package/dist/components/ui/Dialog.js +1 -1
- package/dist/components/ui/Dropdown.js +36 -38
- package/dist/components/ui/FloatingWindow.js +2 -3
- package/dist/components/ui/Input.js +3 -3
- package/dist/components/ui/Radio.js +26 -26
- package/dist/components/ui/SegmentedControl.js +6 -6
- package/dist/components/ui/Tabs.js +43 -43
- package/dist/components/ui/floatingPresence.js +1 -1
- package/dist/components/workbench/workbenchHelpers.js +96 -96
- package/dist/context/ThemeContext.js +75 -65
- package/dist/floe.css +27 -55
- package/dist/full.js +61 -59
- package/dist/index.js +26 -24
- package/dist/styles/themes/classicSemanticTokens.d.ts +142 -0
- package/dist/styles/themes/classicSemanticTokens.js +100 -94
- package/dist/styles/themes/presets.d.ts +3 -1
- package/dist/styles/themes/presets.js +126 -63
- package/dist/styles/tokens.d.ts +252 -252
- package/dist/styles/tokens.js +165 -164
- package/dist/styles.css +1 -1
- package/dist/surface.css +17 -42
- package/dist/themes/dark.css +41 -95
- package/dist/themes/light.css +43 -95
- package/dist/themes/shell-presets.generated.css +146 -4
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/secureRandom.d.ts +2 -0
- package/dist/utils/secureRandom.js +11 -0
- package/dist/utils/secureRandom.test.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,2 +1,144 @@
|
|
|
1
|
+
export declare const CLASSIC_LIGHT_CSS_TOKENS: {
|
|
2
|
+
readonly '--floe-window-background': "var(--popover)";
|
|
3
|
+
readonly '--floe-window-titlebar-background': "var(--popover)";
|
|
4
|
+
readonly '--background': "#f8f7f2";
|
|
5
|
+
readonly '--foreground': "#303a34";
|
|
6
|
+
readonly '--primary': "#465a43";
|
|
7
|
+
readonly '--primary-foreground': "#f8faf5";
|
|
8
|
+
readonly '--secondary': "#eeefe8";
|
|
9
|
+
readonly '--secondary-foreground': "#545f56";
|
|
10
|
+
readonly '--muted': "#e9ece3";
|
|
11
|
+
readonly '--muted-foreground': "#5e695c";
|
|
12
|
+
readonly '--accent': "#e0e7da";
|
|
13
|
+
readonly '--accent-foreground': "#303a34";
|
|
14
|
+
readonly '--border': "#d4d8cd";
|
|
15
|
+
readonly '--input': "#858e80";
|
|
16
|
+
readonly '--ring': "#56694f";
|
|
17
|
+
readonly '--chrome-border': "#dedfd7";
|
|
18
|
+
readonly '--top-bar-border': "var(--chrome-border)";
|
|
19
|
+
readonly '--activity-bar-border': "var(--chrome-border)";
|
|
20
|
+
readonly '--bottom-bar-border': "var(--chrome-border)";
|
|
21
|
+
readonly '--terminal-panel-border': "var(--chrome-border)";
|
|
22
|
+
readonly '--card': "#fcfbf7";
|
|
23
|
+
readonly '--card-foreground': "#303a34";
|
|
24
|
+
readonly '--popover': "#fffefa";
|
|
25
|
+
readonly '--popover-foreground': "#303a34";
|
|
26
|
+
readonly '--success': "#496744";
|
|
27
|
+
readonly '--success-foreground': "#f8faf5";
|
|
28
|
+
readonly '--warning': "#856828";
|
|
29
|
+
readonly '--warning-foreground': "#fffefa";
|
|
30
|
+
readonly '--error': "#b74744";
|
|
31
|
+
readonly '--error-foreground': "#fffefa";
|
|
32
|
+
readonly '--info': "#2671d9";
|
|
33
|
+
readonly '--info-foreground': "#fffefa";
|
|
34
|
+
readonly '--highlight-block-info-accent': "oklch(0.52 0.14 245)";
|
|
35
|
+
readonly '--highlight-block-warning-accent': "oklch(0.62 0.16 65)";
|
|
36
|
+
readonly '--highlight-block-success-accent': "oklch(0.55 0.14 155)";
|
|
37
|
+
readonly '--highlight-block-error-accent': "oklch(0.55 0.16 25)";
|
|
38
|
+
readonly '--highlight-block-note-accent': "oklch(0.52 0.16 285)";
|
|
39
|
+
readonly '--highlight-block-tip-accent': "oklch(0.52 0.12 175)";
|
|
40
|
+
readonly '--sidebar': "#efeee7";
|
|
41
|
+
readonly '--sidebar-foreground': "#303a34";
|
|
42
|
+
readonly '--sidebar-primary': "#465a43";
|
|
43
|
+
readonly '--sidebar-primary-foreground': "#f8faf5";
|
|
44
|
+
readonly '--sidebar-accent': "#e0e7da";
|
|
45
|
+
readonly '--sidebar-accent-foreground': "#303a34";
|
|
46
|
+
readonly '--sidebar-border': "#dedfd7";
|
|
47
|
+
readonly '--sidebar-ring': "#56694f";
|
|
48
|
+
readonly '--activity-bar': "#eeede6";
|
|
49
|
+
readonly '--activity-bar-foreground': "#5e695c";
|
|
50
|
+
readonly '--activity-bar-foreground-active': "#303a34";
|
|
51
|
+
readonly '--activity-bar-badge': "#465a43";
|
|
52
|
+
readonly '--activity-bar-badge-foreground': "#f8faf5";
|
|
53
|
+
readonly '--terminal-background': "hsl(214 26% 17%)";
|
|
54
|
+
readonly '--terminal-foreground': "hsl(0 0% 92%)";
|
|
55
|
+
readonly '--chart-1': "hsl(214 26% 17%)";
|
|
56
|
+
readonly '--chart-2': "hsl(215 16% 42%)";
|
|
57
|
+
readonly '--chart-3': "hsl(217 91% 60%)";
|
|
58
|
+
readonly '--chart-4': "oklch(0.68 0.16 150)";
|
|
59
|
+
readonly '--chart-5': "hsl(38 92% 50%)";
|
|
60
|
+
readonly '--selection-bg': "hsl(217 91% 60%)";
|
|
61
|
+
readonly '--selection-fg': "hsl(0 0% 100%)";
|
|
62
|
+
readonly '--selection-on-primary-bg': "hsl(38 92% 50%)";
|
|
63
|
+
readonly '--selection-on-primary-fg': "hsl(214 26% 17%)";
|
|
64
|
+
readonly '--selection-code-bg': "hsl(212 100% 67%)";
|
|
65
|
+
readonly '--selection-code-fg': "hsl(220 20% 8%)";
|
|
66
|
+
readonly '--glow': "#465a43";
|
|
67
|
+
readonly '--floe-window-foreground': "var(--foreground)";
|
|
68
|
+
readonly '--floe-window-muted-foreground': "var(--muted-foreground)";
|
|
69
|
+
readonly '--floe-window-border': "color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground))";
|
|
70
|
+
readonly '--floe-window-shadow': "0 1px 3px rgb(0 0 0 / 14%), 0 12px 28px -8px rgb(0 0 0 / 18%)";
|
|
71
|
+
};
|
|
72
|
+
export declare const CLASSIC_DARK_CSS_TOKENS: {
|
|
73
|
+
readonly '--floe-window-background': "var(--popover)";
|
|
74
|
+
readonly '--floe-window-titlebar-background': "var(--popover)";
|
|
75
|
+
readonly '--background': "#202223";
|
|
76
|
+
readonly '--foreground': "#e5e6e2";
|
|
77
|
+
readonly '--primary': "#bccbb8";
|
|
78
|
+
readonly '--primary-foreground': "#20291f";
|
|
79
|
+
readonly '--secondary': "#303435";
|
|
80
|
+
readonly '--secondary-foreground': "#b8bdb8";
|
|
81
|
+
readonly '--muted': "#343738";
|
|
82
|
+
readonly '--muted-foreground': "#9da4a0";
|
|
83
|
+
readonly '--accent': "#353a38";
|
|
84
|
+
readonly '--accent-foreground': "#e5e6e2";
|
|
85
|
+
readonly '--border': "#3e4142";
|
|
86
|
+
readonly '--input': "#6d7571";
|
|
87
|
+
readonly '--ring': "#acbdb3";
|
|
88
|
+
readonly '--chrome-border': "#292c2b";
|
|
89
|
+
readonly '--top-bar-border': "var(--chrome-border)";
|
|
90
|
+
readonly '--activity-bar-border': "var(--chrome-border)";
|
|
91
|
+
readonly '--bottom-bar-border': "var(--chrome-border)";
|
|
92
|
+
readonly '--terminal-panel-border': "var(--chrome-border)";
|
|
93
|
+
readonly '--card': "#282b2c";
|
|
94
|
+
readonly '--card-foreground': "#e5e6e2";
|
|
95
|
+
readonly '--popover': "#2b2e2f";
|
|
96
|
+
readonly '--popover-foreground': "#e5e6e2";
|
|
97
|
+
readonly '--success': "#a1b69e";
|
|
98
|
+
readonly '--success-foreground': "#20291f";
|
|
99
|
+
readonly '--warning': "#c8af84";
|
|
100
|
+
readonly '--warning-foreground': "#20291f";
|
|
101
|
+
readonly '--error': "oklch(0.7 0.22 25)";
|
|
102
|
+
readonly '--error-foreground': "#202223";
|
|
103
|
+
readonly '--info': "oklch(0.7 0.15 250)";
|
|
104
|
+
readonly '--info-foreground': "#202223";
|
|
105
|
+
readonly '--highlight-block-info-accent': "oklch(0.62 0.12 240)";
|
|
106
|
+
readonly '--highlight-block-warning-accent': "oklch(0.7 0.14 65)";
|
|
107
|
+
readonly '--highlight-block-success-accent': "oklch(0.62 0.12 155)";
|
|
108
|
+
readonly '--highlight-block-error-accent': "oklch(0.6 0.14 25)";
|
|
109
|
+
readonly '--highlight-block-note-accent': "oklch(0.62 0.14 285)";
|
|
110
|
+
readonly '--highlight-block-tip-accent': "oklch(0.6 0.1 175)";
|
|
111
|
+
readonly '--sidebar': "#1b1d1e";
|
|
112
|
+
readonly '--sidebar-foreground': "#e5e6e2";
|
|
113
|
+
readonly '--sidebar-primary': "#bccbb8";
|
|
114
|
+
readonly '--sidebar-primary-foreground': "#20291f";
|
|
115
|
+
readonly '--sidebar-accent': "#353a38";
|
|
116
|
+
readonly '--sidebar-accent-foreground': "#e5e6e2";
|
|
117
|
+
readonly '--sidebar-border': "#292c2b";
|
|
118
|
+
readonly '--sidebar-ring': "#acbdb3";
|
|
119
|
+
readonly '--activity-bar': "#17191a";
|
|
120
|
+
readonly '--activity-bar-foreground': "#9da4a0";
|
|
121
|
+
readonly '--activity-bar-foreground-active': "#e5e6e2";
|
|
122
|
+
readonly '--activity-bar-badge': "#bccbb8";
|
|
123
|
+
readonly '--activity-bar-badge-foreground': "#20291f";
|
|
124
|
+
readonly '--terminal-background': "hsl(222 32% 7%)";
|
|
125
|
+
readonly '--terminal-foreground': "hsl(210 15% 92%)";
|
|
126
|
+
readonly '--chart-1': "hsl(210 20% 98%)";
|
|
127
|
+
readonly '--chart-2': "hsl(215 20% 60%)";
|
|
128
|
+
readonly '--chart-3': "oklch(0.7 0.15 250)";
|
|
129
|
+
readonly '--chart-4': "oklch(0.72 0.19 150)";
|
|
130
|
+
readonly '--chart-5': "oklch(0.82 0.16 80)";
|
|
131
|
+
readonly '--selection-bg': "hsl(215 70% 50%)";
|
|
132
|
+
readonly '--selection-fg': "hsl(0 0% 100%)";
|
|
133
|
+
readonly '--selection-on-primary-bg': "hsl(215 80% 35%)";
|
|
134
|
+
readonly '--selection-on-primary-fg': "hsl(0 0% 100%)";
|
|
135
|
+
readonly '--selection-code-bg': "hsl(212 100% 67%)";
|
|
136
|
+
readonly '--selection-code-fg': "hsl(220 20% 8%)";
|
|
137
|
+
readonly '--glow': "hsl(217 65% 52%)";
|
|
138
|
+
readonly '--floe-window-foreground': "var(--foreground)";
|
|
139
|
+
readonly '--floe-window-muted-foreground': "color-mix(in srgb, var(--muted-foreground) 72%, var(--foreground))";
|
|
140
|
+
readonly '--floe-window-border': "color-mix(in srgb, var(--floe-window-background) 88%, var(--foreground))";
|
|
141
|
+
readonly '--floe-window-shadow': "0 1px 3px rgb(0 0 0 / 30%), 0 12px 28px -8px rgb(0 0 0 / 32%)";
|
|
142
|
+
};
|
|
1
143
|
export declare const CLASSIC_LIGHT_SEMANTIC_TOKENS: Readonly<Partial<Record<`--${string}`, string>>>;
|
|
2
144
|
export declare const CLASSIC_DARK_SEMANTIC_TOKENS: Readonly<Partial<Record<`--${string}`, string>>>;
|
|
@@ -1,66 +1,68 @@
|
|
|
1
|
-
import { LIGHT_WINDOW_TOKENS as
|
|
2
|
-
function
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
if (!
|
|
6
|
-
const
|
|
7
|
-
return
|
|
1
|
+
import { LIGHT_WINDOW_TOKENS as t, DARK_WINDOW_TOKENS as b } from "./windowTokens.js";
|
|
2
|
+
function i(c) {
|
|
3
|
+
const a = {}, n = (r, o = /* @__PURE__ */ new Set()) => {
|
|
4
|
+
const e = c[r];
|
|
5
|
+
if (!e || o.has(r)) return e;
|
|
6
|
+
const d = /^var\((--[\w-]+)\)$/u.exec(e)?.[1];
|
|
7
|
+
return d ? (o.add(r), n(d, o)) : e;
|
|
8
8
|
};
|
|
9
|
-
for (const r of Object.keys(
|
|
10
|
-
|
|
11
|
-
return Object.freeze(
|
|
9
|
+
for (const r of Object.keys(c))
|
|
10
|
+
a[r] = n(r);
|
|
11
|
+
return Object.freeze(a);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
14
|
-
...
|
|
15
|
-
"--background": "
|
|
16
|
-
"--
|
|
17
|
-
"--
|
|
18
|
-
"--
|
|
19
|
-
"--
|
|
20
|
-
"--
|
|
21
|
-
"--
|
|
22
|
-
"--
|
|
23
|
-
"--
|
|
24
|
-
"--
|
|
25
|
-
"--
|
|
26
|
-
"--
|
|
27
|
-
"--
|
|
28
|
-
"--
|
|
13
|
+
const f = {
|
|
14
|
+
...t,
|
|
15
|
+
"--floe-window-background": "var(--popover)",
|
|
16
|
+
"--floe-window-titlebar-background": "var(--popover)",
|
|
17
|
+
"--background": "#f8f7f2",
|
|
18
|
+
"--foreground": "#303a34",
|
|
19
|
+
"--primary": "#465a43",
|
|
20
|
+
"--primary-foreground": "#f8faf5",
|
|
21
|
+
"--secondary": "#eeefe8",
|
|
22
|
+
"--secondary-foreground": "#545f56",
|
|
23
|
+
"--muted": "#e9ece3",
|
|
24
|
+
"--muted-foreground": "#5e695c",
|
|
25
|
+
"--accent": "#e0e7da",
|
|
26
|
+
"--accent-foreground": "#303a34",
|
|
27
|
+
"--border": "#d4d8cd",
|
|
28
|
+
"--input": "#858e80",
|
|
29
|
+
"--ring": "#56694f",
|
|
30
|
+
"--chrome-border": "#dedfd7",
|
|
29
31
|
"--top-bar-border": "var(--chrome-border)",
|
|
30
32
|
"--activity-bar-border": "var(--chrome-border)",
|
|
31
33
|
"--bottom-bar-border": "var(--chrome-border)",
|
|
32
34
|
"--terminal-panel-border": "var(--chrome-border)",
|
|
33
|
-
"--card": "
|
|
34
|
-
"--card-foreground": "
|
|
35
|
-
"--popover": "
|
|
36
|
-
"--popover-foreground": "
|
|
37
|
-
"--success": "
|
|
38
|
-
"--success-foreground": "
|
|
39
|
-
"--warning": "
|
|
40
|
-
"--warning-foreground": "
|
|
41
|
-
"--error": "
|
|
42
|
-
"--error-foreground": "
|
|
43
|
-
"--info": "
|
|
44
|
-
"--info-foreground": "
|
|
35
|
+
"--card": "#fcfbf7",
|
|
36
|
+
"--card-foreground": "#303a34",
|
|
37
|
+
"--popover": "#fffefa",
|
|
38
|
+
"--popover-foreground": "#303a34",
|
|
39
|
+
"--success": "#496744",
|
|
40
|
+
"--success-foreground": "#f8faf5",
|
|
41
|
+
"--warning": "#856828",
|
|
42
|
+
"--warning-foreground": "#fffefa",
|
|
43
|
+
"--error": "#b74744",
|
|
44
|
+
"--error-foreground": "#fffefa",
|
|
45
|
+
"--info": "#2671d9",
|
|
46
|
+
"--info-foreground": "#fffefa",
|
|
45
47
|
"--highlight-block-info-accent": "oklch(0.52 0.14 245)",
|
|
46
48
|
"--highlight-block-warning-accent": "oklch(0.62 0.16 65)",
|
|
47
49
|
"--highlight-block-success-accent": "oklch(0.55 0.14 155)",
|
|
48
50
|
"--highlight-block-error-accent": "oklch(0.55 0.16 25)",
|
|
49
51
|
"--highlight-block-note-accent": "oklch(0.52 0.16 285)",
|
|
50
52
|
"--highlight-block-tip-accent": "oklch(0.52 0.12 175)",
|
|
51
|
-
"--sidebar": "
|
|
52
|
-
"--sidebar-foreground": "
|
|
53
|
-
"--sidebar-primary": "
|
|
54
|
-
"--sidebar-primary-foreground": "
|
|
55
|
-
"--sidebar-accent": "
|
|
56
|
-
"--sidebar-accent-foreground": "
|
|
57
|
-
"--sidebar-border": "
|
|
58
|
-
"--sidebar-ring": "
|
|
59
|
-
"--activity-bar": "
|
|
60
|
-
"--activity-bar-foreground": "
|
|
61
|
-
"--activity-bar-foreground-active": "
|
|
62
|
-
"--activity-bar-badge": "
|
|
63
|
-
"--activity-bar-badge-foreground": "
|
|
53
|
+
"--sidebar": "#efeee7",
|
|
54
|
+
"--sidebar-foreground": "#303a34",
|
|
55
|
+
"--sidebar-primary": "#465a43",
|
|
56
|
+
"--sidebar-primary-foreground": "#f8faf5",
|
|
57
|
+
"--sidebar-accent": "#e0e7da",
|
|
58
|
+
"--sidebar-accent-foreground": "#303a34",
|
|
59
|
+
"--sidebar-border": "#dedfd7",
|
|
60
|
+
"--sidebar-ring": "#56694f",
|
|
61
|
+
"--activity-bar": "#eeede6",
|
|
62
|
+
"--activity-bar-foreground": "#5e695c",
|
|
63
|
+
"--activity-bar-foreground-active": "#303a34",
|
|
64
|
+
"--activity-bar-badge": "#465a43",
|
|
65
|
+
"--activity-bar-badge-foreground": "#f8faf5",
|
|
64
66
|
"--terminal-background": "hsl(214 26% 17%)",
|
|
65
67
|
"--terminal-foreground": "hsl(0 0% 92%)",
|
|
66
68
|
"--chart-1": "hsl(214 26% 17%)",
|
|
@@ -74,58 +76,60 @@ const t = {
|
|
|
74
76
|
"--selection-on-primary-fg": "hsl(214 26% 17%)",
|
|
75
77
|
"--selection-code-bg": "hsl(212 100% 67%)",
|
|
76
78
|
"--selection-code-fg": "hsl(220 20% 8%)",
|
|
77
|
-
"--glow": "
|
|
78
|
-
},
|
|
79
|
-
...
|
|
80
|
-
"--background": "
|
|
81
|
-
"--
|
|
82
|
-
"--
|
|
83
|
-
"--
|
|
84
|
-
"--
|
|
85
|
-
"--
|
|
86
|
-
"--
|
|
87
|
-
"--
|
|
88
|
-
"--
|
|
89
|
-
"--
|
|
90
|
-
"--
|
|
91
|
-
"--
|
|
92
|
-
"--
|
|
93
|
-
"--
|
|
79
|
+
"--glow": "#465a43"
|
|
80
|
+
}, h = {
|
|
81
|
+
...b,
|
|
82
|
+
"--floe-window-background": "var(--popover)",
|
|
83
|
+
"--floe-window-titlebar-background": "var(--popover)",
|
|
84
|
+
"--background": "#202223",
|
|
85
|
+
"--foreground": "#e5e6e2",
|
|
86
|
+
"--primary": "#bccbb8",
|
|
87
|
+
"--primary-foreground": "#20291f",
|
|
88
|
+
"--secondary": "#303435",
|
|
89
|
+
"--secondary-foreground": "#b8bdb8",
|
|
90
|
+
"--muted": "#343738",
|
|
91
|
+
"--muted-foreground": "#9da4a0",
|
|
92
|
+
"--accent": "#353a38",
|
|
93
|
+
"--accent-foreground": "#e5e6e2",
|
|
94
|
+
"--border": "#3e4142",
|
|
95
|
+
"--input": "#6d7571",
|
|
96
|
+
"--ring": "#acbdb3",
|
|
97
|
+
"--chrome-border": "#292c2b",
|
|
94
98
|
"--top-bar-border": "var(--chrome-border)",
|
|
95
99
|
"--activity-bar-border": "var(--chrome-border)",
|
|
96
100
|
"--bottom-bar-border": "var(--chrome-border)",
|
|
97
101
|
"--terminal-panel-border": "var(--chrome-border)",
|
|
98
|
-
"--card": "
|
|
99
|
-
"--card-foreground": "
|
|
100
|
-
"--popover": "
|
|
101
|
-
"--popover-foreground": "
|
|
102
|
-
"--success": "
|
|
103
|
-
"--success-foreground": "
|
|
104
|
-
"--warning": "
|
|
105
|
-
"--warning-foreground": "
|
|
102
|
+
"--card": "#282b2c",
|
|
103
|
+
"--card-foreground": "#e5e6e2",
|
|
104
|
+
"--popover": "#2b2e2f",
|
|
105
|
+
"--popover-foreground": "#e5e6e2",
|
|
106
|
+
"--success": "#a1b69e",
|
|
107
|
+
"--success-foreground": "#20291f",
|
|
108
|
+
"--warning": "#c8af84",
|
|
109
|
+
"--warning-foreground": "#20291f",
|
|
106
110
|
"--error": "oklch(0.7 0.22 25)",
|
|
107
|
-
"--error-foreground": "
|
|
111
|
+
"--error-foreground": "#202223",
|
|
108
112
|
"--info": "oklch(0.7 0.15 250)",
|
|
109
|
-
"--info-foreground": "
|
|
113
|
+
"--info-foreground": "#202223",
|
|
110
114
|
"--highlight-block-info-accent": "oklch(0.62 0.12 240)",
|
|
111
115
|
"--highlight-block-warning-accent": "oklch(0.7 0.14 65)",
|
|
112
116
|
"--highlight-block-success-accent": "oklch(0.62 0.12 155)",
|
|
113
117
|
"--highlight-block-error-accent": "oklch(0.6 0.14 25)",
|
|
114
118
|
"--highlight-block-note-accent": "oklch(0.62 0.14 285)",
|
|
115
119
|
"--highlight-block-tip-accent": "oklch(0.6 0.1 175)",
|
|
116
|
-
"--sidebar": "
|
|
117
|
-
"--sidebar-foreground": "
|
|
118
|
-
"--sidebar-primary": "
|
|
119
|
-
"--sidebar-primary-foreground": "
|
|
120
|
-
"--sidebar-accent": "
|
|
121
|
-
"--sidebar-accent-foreground": "
|
|
122
|
-
"--sidebar-border": "
|
|
123
|
-
"--sidebar-ring": "
|
|
124
|
-
"--activity-bar": "
|
|
125
|
-
"--activity-bar-foreground": "
|
|
126
|
-
"--activity-bar-foreground-active": "
|
|
127
|
-
"--activity-bar-badge": "
|
|
128
|
-
"--activity-bar-badge-foreground": "
|
|
120
|
+
"--sidebar": "#1b1d1e",
|
|
121
|
+
"--sidebar-foreground": "#e5e6e2",
|
|
122
|
+
"--sidebar-primary": "#bccbb8",
|
|
123
|
+
"--sidebar-primary-foreground": "#20291f",
|
|
124
|
+
"--sidebar-accent": "#353a38",
|
|
125
|
+
"--sidebar-accent-foreground": "#e5e6e2",
|
|
126
|
+
"--sidebar-border": "#292c2b",
|
|
127
|
+
"--sidebar-ring": "#acbdb3",
|
|
128
|
+
"--activity-bar": "#17191a",
|
|
129
|
+
"--activity-bar-foreground": "#9da4a0",
|
|
130
|
+
"--activity-bar-foreground-active": "#e5e6e2",
|
|
131
|
+
"--activity-bar-badge": "#bccbb8",
|
|
132
|
+
"--activity-bar-badge-foreground": "#20291f",
|
|
129
133
|
"--terminal-background": "hsl(222 32% 7%)",
|
|
130
134
|
"--terminal-foreground": "hsl(210 15% 92%)",
|
|
131
135
|
"--chart-1": "hsl(210 20% 98%)",
|
|
@@ -140,8 +144,10 @@ const t = {
|
|
|
140
144
|
"--selection-code-bg": "hsl(212 100% 67%)",
|
|
141
145
|
"--selection-code-fg": "hsl(220 20% 8%)",
|
|
142
146
|
"--glow": "hsl(217 65% 52%)"
|
|
143
|
-
},
|
|
147
|
+
}, g = i(f), s = i(h);
|
|
144
148
|
export {
|
|
145
|
-
|
|
146
|
-
|
|
149
|
+
h as CLASSIC_DARK_CSS_TOKENS,
|
|
150
|
+
s as CLASSIC_DARK_SEMANTIC_TOKENS,
|
|
151
|
+
f as CLASSIC_LIGHT_CSS_TOKENS,
|
|
152
|
+
g as CLASSIC_LIGHT_SEMANTIC_TOKENS
|
|
147
153
|
};
|
|
@@ -17,11 +17,13 @@ interface ShellThemePaletteDefinition {
|
|
|
17
17
|
foreground: string;
|
|
18
18
|
card: string;
|
|
19
19
|
muted: string;
|
|
20
|
+
accent?: string;
|
|
20
21
|
mutedForeground: string;
|
|
21
22
|
primary: string;
|
|
22
23
|
primaryForeground: string;
|
|
23
24
|
border: string;
|
|
24
25
|
input: string;
|
|
26
|
+
ring?: string;
|
|
25
27
|
sidebar: string;
|
|
26
28
|
terminalBackground: string;
|
|
27
29
|
terminalForeground: string;
|
|
@@ -82,7 +84,7 @@ export declare const builtInShellThemePresets: readonly [{
|
|
|
82
84
|
colors: readonly [string, string, string, string, string];
|
|
83
85
|
};
|
|
84
86
|
monaco?: Partial<Record<"light" | "dark", import("./index").FloeMonacoThemeDefinition>>;
|
|
85
|
-
}, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset];
|
|
87
|
+
}, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset];
|
|
86
88
|
export declare const BUILT_IN_SHELL_THEME_DEFAULTS: {
|
|
87
89
|
readonly light: "classic-light";
|
|
88
90
|
readonly dark: "classic-dark";
|