@floegence/floe-webapp-core 0.87.1 → 0.87.2
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { createProgressTokens as
|
|
2
|
-
import { DARK_WINDOW_TOKENS as
|
|
1
|
+
import { createProgressTokens as B } from "./progressTokens.js";
|
|
2
|
+
import { DARK_WINDOW_TOKENS as k, LIGHT_WINDOW_TOKENS as E } from "./windowTokens.js";
|
|
3
3
|
import { CLASSIC_LIGHT_SEMANTIC_TOKENS as t, CLASSIC_DARK_SEMANTIC_TOKENS as F } from "./classicSemanticTokens.js";
|
|
4
4
|
const T = [
|
|
5
5
|
"--floe-window-background",
|
|
@@ -112,7 +112,7 @@ function o(r) {
|
|
|
112
112
|
function: s,
|
|
113
113
|
constant: i
|
|
114
114
|
}, g = {
|
|
115
|
-
...r.mode === "dark" ?
|
|
115
|
+
...r.mode === "dark" ? k : E,
|
|
116
116
|
...r.windowTokens,
|
|
117
117
|
"--background": r.background,
|
|
118
118
|
"--foreground": r.foreground,
|
|
@@ -182,7 +182,7 @@ function o(r) {
|
|
|
182
182
|
// selectionBackground so we don't inherit a near-white primary as glow source.
|
|
183
183
|
"--glow": r.glow ?? (r.mode === "light" ? r.primary : r.selectionBackground)
|
|
184
184
|
};
|
|
185
|
-
Object.assign(g,
|
|
185
|
+
Object.assign(g, B(r.mode, g));
|
|
186
186
|
for (const [m, b] of Object.entries(r.fileIconColors ?? {}))
|
|
187
187
|
g[`--floe-file-icon-${m}`] = b;
|
|
188
188
|
return Object.assign(g, r.semanticTokens), {
|
|
@@ -408,7 +408,14 @@ const C = {
|
|
|
408
408
|
"editor.selectionHighlightBackground": "#EAEAEA",
|
|
409
409
|
"editor.findMatchBackground": "#EAEAEA",
|
|
410
410
|
"editor.findMatchHighlightBackground": "#EEEEEE",
|
|
411
|
-
"editor.findMatchBorder": "#343434"
|
|
411
|
+
"editor.findMatchBorder": "#343434",
|
|
412
|
+
"editorBracketHighlight.foreground1": "#005FB8",
|
|
413
|
+
"editorBracketHighlight.foreground2": "#26736F",
|
|
414
|
+
"editorBracketHighlight.foreground3": "#674778",
|
|
415
|
+
"editorBracketHighlight.foreground4": "#8A5A00",
|
|
416
|
+
"editorBracketHighlight.foreground5": "#245B9B",
|
|
417
|
+
"editorBracketHighlight.foreground6": "#9C225E",
|
|
418
|
+
"editorBracketHighlight.unexpectedBracket.foreground": "#B32635"
|
|
412
419
|
}
|
|
413
420
|
},
|
|
414
421
|
syntax: {
|
|
@@ -1156,7 +1163,7 @@ function l(r, e, n, d) {
|
|
|
1156
1163
|
const c = D(r, e);
|
|
1157
1164
|
return n && c.some((u) => u.name === n) ? n : d && c.some((u) => u.name === d) ? d : c[0]?.name;
|
|
1158
1165
|
}
|
|
1159
|
-
function
|
|
1166
|
+
function H(r, e, n = {}) {
|
|
1160
1167
|
const d = typeof r == "object" && r !== null && !Array.isArray(r) ? r : void 0, c = d?.version === 1, u = c && typeof d.light == "string" ? d.light : void 0, i = c && typeof d.dark == "string" ? d.dark : void 0;
|
|
1161
1168
|
return {
|
|
1162
1169
|
version: 1,
|
|
@@ -1172,7 +1179,7 @@ export {
|
|
|
1172
1179
|
h as builtInShellThemePresets,
|
|
1173
1180
|
o as createShellThemePreset,
|
|
1174
1181
|
D as getShellThemePresetsForMode,
|
|
1175
|
-
|
|
1182
|
+
H as normalizeShellThemeSelection,
|
|
1176
1183
|
f as presetSupportsMode,
|
|
1177
1184
|
l as resolveShellThemePresetName
|
|
1178
1185
|
};
|