@floegence/floe-webapp-core 0.87.1 → 0.87.3
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: {
|
|
@@ -958,7 +965,8 @@ const C = {
|
|
|
958
965
|
muted: "#3A3B34",
|
|
959
966
|
mutedForeground: "#C5C8B5",
|
|
960
967
|
primary: "#F92672",
|
|
961
|
-
|
|
968
|
+
// Preserve the pink action fill while keeping its darker hover state readable.
|
|
969
|
+
primaryForeground: "#050604",
|
|
962
970
|
border: "#494A42",
|
|
963
971
|
input: "#7B7D6E",
|
|
964
972
|
sidebar: "#20211C",
|
|
@@ -1156,7 +1164,7 @@ function l(r, e, n, d) {
|
|
|
1156
1164
|
const c = D(r, e);
|
|
1157
1165
|
return n && c.some((u) => u.name === n) ? n : d && c.some((u) => u.name === d) ? d : c[0]?.name;
|
|
1158
1166
|
}
|
|
1159
|
-
function
|
|
1167
|
+
function H(r, e, n = {}) {
|
|
1160
1168
|
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
1169
|
return {
|
|
1162
1170
|
version: 1,
|
|
@@ -1172,7 +1180,7 @@ export {
|
|
|
1172
1180
|
h as builtInShellThemePresets,
|
|
1173
1181
|
o as createShellThemePreset,
|
|
1174
1182
|
D as getShellThemePresetsForMode,
|
|
1175
|
-
|
|
1183
|
+
H as normalizeShellThemeSelection,
|
|
1176
1184
|
f as presetSupportsMode,
|
|
1177
1185
|
l as resolveShellThemePresetName
|
|
1178
1186
|
};
|