@floegence/floe-webapp-core 0.105.0 → 0.105.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.
package/dist/chat.css CHANGED
@@ -510,12 +510,12 @@ pre.chat-md-code-block code {
510
510
  }
511
511
 
512
512
  .chat-md-blockquote {
513
- border-left: 3px solid var(--primary);
513
+ border-left: 3px solid var(--floe-quote-edge, var(--primary));
514
514
  padding-left: 1rem;
515
515
  margin: 0.75rem 0;
516
- color: var(--muted-foreground);
516
+ color: var(--floe-quote-ink, var(--muted-foreground));
517
517
  font-style: italic;
518
- background-color: color-mix(in srgb, var(--muted) 30%, transparent);
518
+ background-color: var(--floe-quote-fill, color-mix(in srgb, var(--muted) 30%, transparent));
519
519
  padding: 0.75rem 1rem;
520
520
  border-radius: 0 0.375rem 0.375rem 0;
521
521
  }
@@ -1,6 +1,6 @@
1
- import { createProgressTokens as B } from "./progressTokens.js";
2
- import { DARK_WINDOW_TOKENS as k, LIGHT_WINDOW_TOKENS as E } from "./windowTokens.js";
3
- import { CLASSIC_LIGHT_SEMANTIC_TOKENS as t, CLASSIC_DARK_SEMANTIC_TOKENS as c } from "./classicSemanticTokens.js";
1
+ import { createProgressTokens as k } from "./progressTokens.js";
2
+ import { DARK_WINDOW_TOKENS as B, LIGHT_WINDOW_TOKENS as E } from "./windowTokens.js";
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",
6
6
  "--floe-window-foreground",
@@ -103,16 +103,16 @@ function o(r) {
103
103
  }, n = r.mode === "light" ? { background: "#F4C95D", foreground: "#243447" } : {
104
104
  background: r.background,
105
105
  foreground: r.foreground
106
- }, [d, F, u, i, s] = r.chart, a = r.syntax ?? {
106
+ }, [d, c, u, i, s] = r.chart, a = r.syntax ?? {
107
107
  comment: r.mutedForeground,
108
108
  keyword: d,
109
- string: F,
109
+ string: c,
110
110
  number: i,
111
111
  type: u,
112
112
  function: s,
113
113
  constant: i
114
114
  }, g = {
115
- ...r.mode === "dark" ? k : E,
115
+ ...r.mode === "dark" ? B : E,
116
116
  ...r.windowTokens,
117
117
  "--background": r.background,
118
118
  "--foreground": r.foreground,
@@ -168,7 +168,7 @@ function o(r) {
168
168
  "--terminal-background": r.terminalBackground,
169
169
  "--terminal-foreground": r.terminalForeground,
170
170
  "--chart-1": d,
171
- "--chart-2": F,
171
+ "--chart-2": c,
172
172
  "--chart-3": u,
173
173
  "--chart-4": i,
174
174
  "--chart-5": s,
@@ -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, B(r.mode, g));
185
+ Object.assign(g, k(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), {
@@ -298,22 +298,22 @@ const C = {
298
298
  inheritsBaseTokens: !0,
299
299
  semanticTokens: t,
300
300
  tokens: void 0
301
- }, y = {
301
+ }, h = {
302
302
  ...o({
303
303
  name: "classic-dark",
304
304
  displayName: "Classic Dark",
305
305
  description: "Near-black canvas, hairline layers and a single mint accent.",
306
306
  mode: "dark",
307
- background: c["--background"],
308
- foreground: c["--foreground"],
309
- card: c["--card"],
310
- muted: c["--muted"],
311
- mutedForeground: c["--muted-foreground"],
312
- primary: c["--primary"],
313
- primaryForeground: c["--primary-foreground"],
314
- border: c["--border"],
315
- input: c["--input"],
316
- sidebar: c["--sidebar"],
307
+ background: F["--background"],
308
+ foreground: F["--foreground"],
309
+ card: F["--card"],
310
+ muted: F["--muted"],
311
+ mutedForeground: F["--muted-foreground"],
312
+ primary: F["--primary"],
313
+ primaryForeground: F["--primary-foreground"],
314
+ border: F["--border"],
315
+ input: F["--input"],
316
+ sidebar: F["--sidebar"],
317
317
  terminalBackground: "#08080a",
318
318
  terminalForeground: "#e4e4e6",
319
319
  selectionBackground: "#2f5fa8",
@@ -330,15 +330,15 @@ const C = {
330
330
  }
331
331
  }),
332
332
  inheritsBaseTokens: !0,
333
- semanticTokens: c,
333
+ semanticTokens: F,
334
334
  tokens: void 0
335
- }, h = [
335
+ }, y = [
336
336
  o({
337
337
  name: "porcelain-light",
338
338
  features: ["opaque-muted-ink"],
339
- inlineCode: { foreground: "#742D45", background: "#F4E7EB" },
339
+ inlineCode: { foreground: "#464541", background: "#F1F1F0" },
340
340
  displayName: "Porcelain Light",
341
- description: "Clean porcelain whites, neutral layers, and restrained charcoal.",
341
+ description: "White reading surfaces, warm porcelain navigation, and graphite references.",
342
342
  fileIconColors: {
343
343
  primary: "#343434",
344
344
  warning: "hsl(38 92% 50%)",
@@ -347,17 +347,18 @@ const C = {
347
347
  error: "oklch(0.65 0.2 25)"
348
348
  },
349
349
  mode: "light",
350
- background: "#FAFAFA",
351
- foreground: "#292929",
350
+ background: "#FFFFFF",
351
+ foreground: "#292927",
352
352
  card: "#FFFFFF",
353
- muted: "#F4F4F4",
354
- accent: "#EEEEEE",
355
- mutedForeground: "#686868",
353
+ muted: "#F7F7F6",
354
+ accent: "#F1F1F0",
355
+ mutedForeground: "#696864",
356
356
  primary: "#343434",
357
357
  primaryForeground: "#FFFFFF",
358
- border: "#DEDEDE",
358
+ ring: "#2684FF",
359
+ border: "#E9E8E6",
359
360
  input: "#878787",
360
- sidebar: "#F7F7F7",
361
+ sidebar: "#FCFBFA",
361
362
  terminalBackground: "#202A37",
362
363
  terminalForeground: "#EBEBEB",
363
364
  selectionBackground: "#343434",
@@ -365,7 +366,11 @@ const C = {
365
366
  chart: ["#343434", "#626262", "#2671D9", "#287A4B", "#835800"],
366
367
  semanticTokens: {
367
368
  "--accent-foreground": "#353535",
368
- "--sidebar-accent": "#E9E9E9",
369
+ "--sidebar-accent": "#F1F1F0",
370
+ "--floe-choice-selected-edge": "var(--ring)",
371
+ "--floe-quote-ink": "#51504D",
372
+ "--floe-quote-fill": "#F9F9F8",
373
+ "--floe-quote-edge": "#CECDC9",
369
374
  "--sidebar-accent-foreground": "#353535",
370
375
  "--activity-bar-foreground-active": "#343434",
371
376
  "--selection-on-primary-bg": "#EAEAEA",
@@ -384,10 +389,10 @@ const C = {
384
389
  "--floe-field-edge-hover": "#A3A3A3",
385
390
  "--floe-control-edge": "#878787",
386
391
  "--floe-control-edge-hover": "#686868",
387
- "--floe-well": "#F6F6F6",
388
- "--floe-well-strong": "#F0F0F0",
389
- "--floe-well-on-plane": "#F6F6F6",
390
- "--floe-workbench-canvas": "#F4F4F4"
392
+ "--floe-well": "#F7F7F6",
393
+ "--floe-well-strong": "#F1F1F0",
394
+ "--floe-well-on-plane": "#F7F7F6",
395
+ "--floe-workbench-canvas": "#F7F7F6"
391
396
  },
392
397
  monaco: {
393
398
  rules: [
@@ -818,7 +823,7 @@ const C = {
818
823
  constant: "#D29292"
819
824
  }
820
825
  }),
821
- y,
826
+ h,
822
827
  o({
823
828
  name: "ink",
824
829
  inlineCode: { foreground: "#F3BE62", background: "#1C2125" },
@@ -1168,23 +1173,23 @@ function w(r) {
1168
1173
  }
1169
1174
  }
1170
1175
  function l(r, e, n, d) {
1171
- const F = D(r, e);
1172
- return n && F.some((u) => u.name === n) ? n : d && F.some((u) => u.name === d) ? d : F[0]?.name;
1176
+ const c = D(r, e);
1177
+ return n && c.some((u) => u.name === n) ? n : d && c.some((u) => u.name === d) ? d : c[0]?.name;
1173
1178
  }
1174
1179
  function H(r, e, n = {}) {
1175
- const d = typeof r == "object" && r !== null && !Array.isArray(r) ? r : void 0, F = d?.version === 1, u = F && typeof d.light == "string" ? d.light : void 0, i = F && typeof d.dark == "string" ? d.dark : void 0;
1180
+ 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;
1176
1181
  return {
1177
1182
  version: 1,
1178
1183
  light: l(e, "light", u, n.light),
1179
1184
  dark: l(e, "dark", i, n.dark)
1180
1185
  };
1181
1186
  }
1182
- w(h);
1187
+ w(y);
1183
1188
  export {
1184
1189
  x as BUILT_IN_SHELL_THEME_DEFAULTS,
1185
1190
  T as REQUIRED_SHELL_THEME_TOKENS,
1186
1191
  w as assertUniqueThemePresetNames,
1187
- h as builtInShellThemePresets,
1192
+ y as builtInShellThemePresets,
1188
1193
  o as createShellThemePreset,
1189
1194
  D as getShellThemePresetsForMode,
1190
1195
  H as normalizeShellThemeSelection,