@floegence/floe-webapp-core 0.56.14 → 0.56.15
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.
|
@@ -88,8 +88,8 @@ export declare const builtInShellThemePresets: readonly [{
|
|
|
88
88
|
monaco?: Partial<Record<"light" | "dark", import("./index").FloeMonacoThemeDefinition>>;
|
|
89
89
|
}, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset, FloeThemePreset];
|
|
90
90
|
export declare const BUILT_IN_SHELL_THEME_DEFAULTS: {
|
|
91
|
-
readonly light: "
|
|
92
|
-
readonly dark: "
|
|
91
|
+
readonly light: "porcelain-light";
|
|
92
|
+
readonly dark: "porcelain-dark";
|
|
93
93
|
};
|
|
94
94
|
export declare function presetSupportsMode(preset: FloeThemePreset, mode: FloeShellThemeMode): boolean;
|
|
95
95
|
export declare function getShellThemePresetsForMode(presets: readonly FloeThemePreset[], mode: FloeShellThemeMode): readonly FloeThemePreset[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createProgressTokens as b } from "./progressTokens.js";
|
|
2
|
-
import { DARK_WINDOW_TOKENS as B, LIGHT_WINDOW_TOKENS as
|
|
2
|
+
import { DARK_WINDOW_TOKENS as B, LIGHT_WINDOW_TOKENS as E } from "./windowTokens.js";
|
|
3
3
|
import { CLASSIC_LIGHT_SEMANTIC_TOKENS as d, CLASSIC_DARK_SEMANTIC_TOKENS as F } from "./classicSemanticTokens.js";
|
|
4
4
|
const T = [
|
|
5
5
|
"--floe-window-background",
|
|
@@ -71,7 +71,7 @@ const T = [
|
|
|
71
71
|
"--selection-code-bg",
|
|
72
72
|
"--selection-code-fg",
|
|
73
73
|
"--glow"
|
|
74
|
-
],
|
|
74
|
+
], k = {
|
|
75
75
|
success: "#287A4B",
|
|
76
76
|
successForeground: "#FFFFFF",
|
|
77
77
|
warning: "#835800",
|
|
@@ -82,7 +82,7 @@ const T = [
|
|
|
82
82
|
infoForeground: "#FFFFFF",
|
|
83
83
|
note: "#6847A0",
|
|
84
84
|
tip: "#1E6F73"
|
|
85
|
-
},
|
|
85
|
+
}, A = {
|
|
86
86
|
success: "#72D39C",
|
|
87
87
|
successForeground: "#07160E",
|
|
88
88
|
warning: "#F0C36A",
|
|
@@ -95,7 +95,7 @@ const T = [
|
|
|
95
95
|
tip: "#71C8C0"
|
|
96
96
|
};
|
|
97
97
|
function o(r) {
|
|
98
|
-
const e = r.mode === "light" ?
|
|
98
|
+
const e = r.mode === "light" ? k : A, n = r.mode === "light" ? { background: "#F4C95D", foreground: "#243447" } : {
|
|
99
99
|
background: r.background,
|
|
100
100
|
foreground: r.foreground
|
|
101
101
|
}, [t, c, u, i, s] = r.chart, a = r.syntax ?? {
|
|
@@ -107,7 +107,7 @@ function o(r) {
|
|
|
107
107
|
function: s,
|
|
108
108
|
constant: i
|
|
109
109
|
}, g = {
|
|
110
|
-
...r.mode === "dark" ? B :
|
|
110
|
+
...r.mode === "dark" ? B : E,
|
|
111
111
|
"--background": r.background,
|
|
112
112
|
"--foreground": r.foreground,
|
|
113
113
|
"--primary": r.primary,
|
|
@@ -287,7 +287,7 @@ const y = {
|
|
|
287
287
|
inheritsBaseTokens: !0,
|
|
288
288
|
semanticTokens: d,
|
|
289
289
|
tokens: void 0
|
|
290
|
-
},
|
|
290
|
+
}, h = {
|
|
291
291
|
...o({
|
|
292
292
|
name: "classic-dark",
|
|
293
293
|
displayName: "Classic Dark",
|
|
@@ -321,7 +321,7 @@ const y = {
|
|
|
321
321
|
inheritsBaseTokens: !0,
|
|
322
322
|
semanticTokens: F,
|
|
323
323
|
tokens: void 0
|
|
324
|
-
},
|
|
324
|
+
}, C = [
|
|
325
325
|
y,
|
|
326
326
|
o({
|
|
327
327
|
name: "paper",
|
|
@@ -578,7 +578,7 @@ const y = {
|
|
|
578
578
|
constant: "#745500"
|
|
579
579
|
}
|
|
580
580
|
}),
|
|
581
|
-
|
|
581
|
+
h,
|
|
582
582
|
o({
|
|
583
583
|
name: "ink",
|
|
584
584
|
displayName: "Ink",
|
|
@@ -936,26 +936,26 @@ const y = {
|
|
|
936
936
|
o({
|
|
937
937
|
name: "porcelain-dark",
|
|
938
938
|
displayName: "Porcelain Dark",
|
|
939
|
-
description: "Warm
|
|
939
|
+
description: "Warm white text and neutral controls on a near-black canvas with quiet charcoal surfaces.",
|
|
940
940
|
mode: "dark",
|
|
941
|
-
background: "#
|
|
942
|
-
foreground: "#
|
|
943
|
-
card: "#
|
|
944
|
-
muted: "#
|
|
945
|
-
mutedForeground: "#
|
|
946
|
-
primary: "#
|
|
947
|
-
primaryForeground: "#
|
|
948
|
-
border: "#
|
|
949
|
-
input: "#
|
|
950
|
-
ring: "#
|
|
951
|
-
sidebar: "#
|
|
952
|
-
terminalBackground: "#
|
|
953
|
-
terminalForeground: "#
|
|
954
|
-
selectionBackground: "#
|
|
941
|
+
background: "#0C0C0D",
|
|
942
|
+
foreground: "#F2F1EE",
|
|
943
|
+
card: "#1A1A1B",
|
|
944
|
+
muted: "#252526",
|
|
945
|
+
mutedForeground: "#B7B6B3",
|
|
946
|
+
primary: "#E8E7E3",
|
|
947
|
+
primaryForeground: "#161617",
|
|
948
|
+
border: "#343435",
|
|
949
|
+
input: "#787877",
|
|
950
|
+
ring: "#BDBCB8",
|
|
951
|
+
sidebar: "#111112",
|
|
952
|
+
terminalBackground: "#09090A",
|
|
953
|
+
terminalForeground: "#F2F1EE",
|
|
954
|
+
selectionBackground: "#454544",
|
|
955
955
|
selectionForeground: "#FFFFFF",
|
|
956
|
-
chart: ["#
|
|
956
|
+
chart: ["#E8E7E3", "#79B8FF", "#C19BE8", "#72D39C", "#F0C36A"],
|
|
957
957
|
syntax: {
|
|
958
|
-
comment: "#
|
|
958
|
+
comment: "#B7B6B3",
|
|
959
959
|
keyword: "#C19BE8",
|
|
960
960
|
string: "#9AD49D",
|
|
961
961
|
number: "#F0C36A",
|
|
@@ -965,8 +965,8 @@ const y = {
|
|
|
965
965
|
}
|
|
966
966
|
})
|
|
967
967
|
], x = {
|
|
968
|
-
light: "
|
|
969
|
-
dark: "
|
|
968
|
+
light: "porcelain-light",
|
|
969
|
+
dark: "porcelain-dark"
|
|
970
970
|
};
|
|
971
971
|
function D(r, e) {
|
|
972
972
|
const n = r.mode ?? "both";
|
|
@@ -995,12 +995,12 @@ function L(r, e, n = {}) {
|
|
|
995
995
|
dark: m(e, "dark", i, n.dark)
|
|
996
996
|
};
|
|
997
997
|
}
|
|
998
|
-
w(
|
|
998
|
+
w(C);
|
|
999
999
|
export {
|
|
1000
1000
|
x as BUILT_IN_SHELL_THEME_DEFAULTS,
|
|
1001
1001
|
T as REQUIRED_SHELL_THEME_TOKENS,
|
|
1002
1002
|
w as assertUniqueThemePresetNames,
|
|
1003
|
-
|
|
1003
|
+
C as builtInShellThemePresets,
|
|
1004
1004
|
o as createShellThemePreset,
|
|
1005
1005
|
f as getShellThemePresetsForMode,
|
|
1006
1006
|
L as normalizeShellThemeSelection,
|