@floegence/floe-webapp-core 0.40.0 → 0.40.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.
|
@@ -90,12 +90,12 @@ function o(r) {
|
|
|
90
90
|
const e = r.mode === "light" ? l : b, n = r.mode === "light" ? { background: "#F4C95D", foreground: "#243447" } : {
|
|
91
91
|
background: r.background,
|
|
92
92
|
foreground: r.foreground
|
|
93
|
-
}, [t,
|
|
93
|
+
}, [t, d, F, c, g] = r.chart, a = r.syntax ?? {
|
|
94
94
|
comment: r.mutedForeground,
|
|
95
95
|
keyword: t,
|
|
96
|
-
string:
|
|
96
|
+
string: d,
|
|
97
97
|
number: c,
|
|
98
|
-
type:
|
|
98
|
+
type: F,
|
|
99
99
|
function: g,
|
|
100
100
|
constant: c
|
|
101
101
|
}, u = {
|
|
@@ -151,8 +151,8 @@ function o(r) {
|
|
|
151
151
|
"--terminal-background": r.terminalBackground,
|
|
152
152
|
"--terminal-foreground": r.terminalForeground,
|
|
153
153
|
"--chart-1": t,
|
|
154
|
-
"--chart-2":
|
|
155
|
-
"--chart-3":
|
|
154
|
+
"--chart-2": d,
|
|
155
|
+
"--chart-3": F,
|
|
156
156
|
"--chart-4": c,
|
|
157
157
|
"--chart-5": g,
|
|
158
158
|
"--selection-bg": r.selectionBackground,
|
|
@@ -309,7 +309,7 @@ const p = {
|
|
|
309
309
|
inheritsBaseTokens: !0,
|
|
310
310
|
semanticTokens: m,
|
|
311
311
|
tokens: void 0
|
|
312
|
-
},
|
|
312
|
+
}, E = [
|
|
313
313
|
p,
|
|
314
314
|
o({
|
|
315
315
|
name: "paper",
|
|
@@ -825,37 +825,37 @@ const p = {
|
|
|
825
825
|
o({
|
|
826
826
|
name: "studio",
|
|
827
827
|
displayName: "Studio",
|
|
828
|
-
description: "
|
|
828
|
+
description: "Neutral near-black workspace: clean dark surfaces with zero color cast.",
|
|
829
829
|
mode: "dark",
|
|
830
|
-
background: "#
|
|
831
|
-
foreground: "#
|
|
832
|
-
card: "#
|
|
833
|
-
muted: "#
|
|
834
|
-
mutedForeground: "#
|
|
835
|
-
primary: "#
|
|
836
|
-
primaryForeground: "#
|
|
837
|
-
border: "#
|
|
838
|
-
input: "#
|
|
839
|
-
sidebar: "#
|
|
840
|
-
terminalBackground: "#
|
|
841
|
-
terminalForeground: "#
|
|
842
|
-
selectionBackground: "#
|
|
830
|
+
background: "#1A1A1C",
|
|
831
|
+
foreground: "#E0E0E4",
|
|
832
|
+
card: "#222226",
|
|
833
|
+
muted: "#2C2C30",
|
|
834
|
+
mutedForeground: "#909098",
|
|
835
|
+
primary: "#E0E0E4",
|
|
836
|
+
primaryForeground: "#1A1A1C",
|
|
837
|
+
border: "#323236",
|
|
838
|
+
input: "#888890",
|
|
839
|
+
sidebar: "#141416",
|
|
840
|
+
terminalBackground: "#0E0E10",
|
|
841
|
+
terminalForeground: "#CCCCCC",
|
|
842
|
+
selectionBackground: "#2060C0",
|
|
843
843
|
selectionForeground: "#FFFFFF",
|
|
844
|
-
chart: ["#
|
|
844
|
+
chart: ["#E0E0E4", "#B0B0B8", "#7AB7FF", "#4E7FC4", "#E8A430"],
|
|
845
845
|
syntax: {
|
|
846
|
-
comment: "#
|
|
847
|
-
keyword: "#
|
|
848
|
-
string: "#
|
|
849
|
-
number: "#
|
|
850
|
-
type: "#
|
|
851
|
-
function: "#
|
|
852
|
-
constant: "#
|
|
846
|
+
comment: "#5A6880",
|
|
847
|
+
keyword: "#7AB7FF",
|
|
848
|
+
string: "#A8C97A",
|
|
849
|
+
number: "#E8A838",
|
|
850
|
+
type: "#5DB8D8",
|
|
851
|
+
function: "#82B4D8",
|
|
852
|
+
constant: "#E88060"
|
|
853
853
|
}
|
|
854
854
|
}),
|
|
855
855
|
o({
|
|
856
856
|
name: "graphite",
|
|
857
857
|
displayName: "Graphite",
|
|
858
|
-
description: "
|
|
858
|
+
description: "macOS system dark: neutral warm surfaces, system-blue active state, teal and amber chart palette.",
|
|
859
859
|
mode: "dark",
|
|
860
860
|
background: "#1C1C1E",
|
|
861
861
|
foreground: "#F2F2F7",
|
|
@@ -871,7 +871,7 @@ const p = {
|
|
|
871
871
|
terminalForeground: "#E5E5EA",
|
|
872
872
|
selectionBackground: "#0070E0",
|
|
873
873
|
selectionForeground: "#FFFFFF",
|
|
874
|
-
chart: ["#
|
|
874
|
+
chart: ["#2DD4D4", "#FF9500", "#007AFF", "#34C759", "#FF453A"],
|
|
875
875
|
syntax: {
|
|
876
876
|
comment: "#6C6C70",
|
|
877
877
|
keyword: "#FF375F",
|
|
@@ -886,12 +886,12 @@ const p = {
|
|
|
886
886
|
light: "classic-light",
|
|
887
887
|
dark: "classic-dark"
|
|
888
888
|
};
|
|
889
|
-
function
|
|
889
|
+
function A(r, e) {
|
|
890
890
|
const n = r.mode ?? "both";
|
|
891
891
|
return n === "both" || n === e;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
894
|
-
return r.filter((n) =>
|
|
893
|
+
function k(r, e) {
|
|
894
|
+
return r.filter((n) => A(n, e));
|
|
895
895
|
}
|
|
896
896
|
function y(r) {
|
|
897
897
|
const e = /* @__PURE__ */ new Set();
|
|
@@ -902,26 +902,26 @@ function y(r) {
|
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
904
|
function i(r, e, n, t) {
|
|
905
|
-
const
|
|
906
|
-
return n &&
|
|
905
|
+
const d = k(r, e);
|
|
906
|
+
return n && d.some((F) => F.name === n) ? n : t && d.some((F) => F.name === t) ? t : d[0]?.name;
|
|
907
907
|
}
|
|
908
908
|
function f(r, e, n = {}) {
|
|
909
|
-
const t = typeof r == "object" && r !== null && !Array.isArray(r) ? r : void 0,
|
|
909
|
+
const t = typeof r == "object" && r !== null && !Array.isArray(r) ? r : void 0, d = t?.version === 1, F = d && typeof t.light == "string" ? t.light : void 0, c = d && typeof t.dark == "string" ? t.dark : void 0;
|
|
910
910
|
return {
|
|
911
911
|
version: 1,
|
|
912
|
-
light: i(e, "light",
|
|
912
|
+
light: i(e, "light", F, n.light),
|
|
913
913
|
dark: i(e, "dark", c, n.dark)
|
|
914
914
|
};
|
|
915
915
|
}
|
|
916
|
-
y(
|
|
916
|
+
y(E);
|
|
917
917
|
export {
|
|
918
918
|
D as BUILT_IN_SHELL_THEME_DEFAULTS,
|
|
919
919
|
C as REQUIRED_SHELL_THEME_TOKENS,
|
|
920
920
|
y as assertUniqueThemePresetNames,
|
|
921
|
-
|
|
921
|
+
E as builtInShellThemePresets,
|
|
922
922
|
o as createShellThemePreset,
|
|
923
|
-
|
|
923
|
+
k as getShellThemePresetsForMode,
|
|
924
924
|
f as normalizeShellThemeSelection,
|
|
925
|
-
|
|
925
|
+
A as presetSupportsMode,
|
|
926
926
|
i as resolveShellThemePresetName
|
|
927
927
|
};
|