@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, F, d, c, g] = r.chart, a = r.syntax ?? {
93
+ }, [t, d, F, c, g] = r.chart, a = r.syntax ?? {
94
94
  comment: r.mutedForeground,
95
95
  keyword: t,
96
- string: F,
96
+ string: d,
97
97
  number: c,
98
- type: d,
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": F,
155
- "--chart-3": d,
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
- }, A = [
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: "Near-black canvas with subtle violet cast for deep focus sessions.",
828
+ description: "Neutral near-black workspace: clean dark surfaces with zero color cast.",
829
829
  mode: "dark",
830
- background: "#111116",
831
- foreground: "#E2E2EC",
832
- card: "#18181F",
833
- muted: "#20202B",
834
- mutedForeground: "#8888A8",
835
- primary: "#9580FF",
836
- primaryForeground: "#111116",
837
- border: "#2A2A3C",
838
- input: "#7070A8",
839
- sidebar: "#13131A",
840
- terminalBackground: "#0C0C12",
841
- terminalForeground: "#D8D8E8",
842
- selectionBackground: "#4840A0",
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: ["#9580FF", "#79D5F7", "#8BE08E", "#F0C060", "#F06090"],
844
+ chart: ["#E0E0E4", "#B0B0B8", "#7AB7FF", "#4E7FC4", "#E8A430"],
845
845
  syntax: {
846
- comment: "#6868A0",
847
- keyword: "#FF79C6",
848
- string: "#8BE08E",
849
- number: "#F0C060",
850
- type: "#79D5F7",
851
- function: "#9580FF",
852
- constant: "#F06090"
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: "Pure neutral dark surfaces with macOS system blue for operations.",
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: ["#0A84FF", "#32ADE6", "#34C759", "#FF9F0A", "#FF453A"],
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 k(r, e) {
889
+ function A(r, e) {
890
890
  const n = r.mode ?? "both";
891
891
  return n === "both" || n === e;
892
892
  }
893
- function E(r, e) {
894
- return r.filter((n) => k(n, e));
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 F = E(r, e);
906
- return n && F.some((d) => d.name === n) ? n : t && F.some((d) => d.name === t) ? t : F[0]?.name;
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, F = t?.version === 1, d = F && typeof t.light == "string" ? t.light : void 0, c = F && typeof t.dark == "string" ? t.dark : 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", d, n.light),
912
+ light: i(e, "light", F, n.light),
913
913
  dark: i(e, "dark", c, n.dark)
914
914
  };
915
915
  }
916
- y(A);
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
- A as builtInShellThemePresets,
921
+ E as builtInShellThemePresets,
922
922
  o as createShellThemePreset,
923
- E as getShellThemePresetsForMode,
923
+ k as getShellThemePresetsForMode,
924
924
  f as normalizeShellThemeSelection,
925
- k as presetSupportsMode,
925
+ A as presetSupportsMode,
926
926
  i as resolveShellThemePresetName
927
927
  };