@contentful/experience-design-system-cli 2.37.1-dev-build-a7704a7f.0 → 2.37.1-dev-build-7314a760.0

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/index.js CHANGED
@@ -19586,6 +19586,52 @@ var init_analytics_store = __esm({
19586
19586
  }
19587
19587
  });
19588
19588
 
19589
+ // packages/experience-design-system-cli/src/tui/theme.ts
19590
+ function detectColorMode(env = process.env) {
19591
+ const bg = env.COLORFGBG?.split(";").pop();
19592
+ if (bg === "7" || bg === "15") return "light";
19593
+ return "dark";
19594
+ }
19595
+ var DARK, LIGHT, PALETTE;
19596
+ var init_theme = __esm({
19597
+ "packages/experience-design-system-cli/src/tui/theme.ts"() {
19598
+ "use strict";
19599
+ DARK = {
19600
+ text: "#f7f9fa",
19601
+ // gray100
19602
+ muted: "#aec1cc",
19603
+ // gray400
19604
+ border: "#aec1cc",
19605
+ // gray400
19606
+ accent: "#40a0ff",
19607
+ // blue400
19608
+ error: "#ff707d",
19609
+ // red400
19610
+ success: "#5DB057",
19611
+ // green400
19612
+ warning: "#FFC835"
19613
+ // yellow500
19614
+ };
19615
+ LIGHT = {
19616
+ text: "#111B2B",
19617
+ // gray900
19618
+ muted: "#5A657C",
19619
+ // gray600
19620
+ border: "#5A657C",
19621
+ // gray600
19622
+ accent: "#0059c8",
19623
+ // semantic primary
19624
+ error: "#bd002a",
19625
+ // semantic negative
19626
+ success: "#006D23",
19627
+ // semantic positive
19628
+ warning: "#CC4500"
19629
+ // semantic warning
19630
+ };
19631
+ PALETTE = detectColorMode() === "light" ? LIGHT : DARK;
19632
+ }
19633
+ });
19634
+
19589
19635
  // packages/experience-design-system-cli/src/tui/home/home.theme.ts
19590
19636
  function brandBar(width, ramp = BRAND_RAMP) {
19591
19637
  if (width <= 0 || ramp.length === 0) return [];
@@ -19596,28 +19642,11 @@ function brandBar(width, ramp = BRAND_RAMP) {
19596
19642
  color
19597
19643
  })).filter((segment) => segment.text.length > 0);
19598
19644
  }
19599
- var BRAND, PALETTE, BRAND_RAMP, BAR_CELL, FOCUS_MARKER;
19645
+ var BRAND_RAMP, BAR_CELL, FOCUS_MARKER;
19600
19646
  var init_home_theme = __esm({
19601
19647
  "packages/experience-design-system-cli/src/tui/home/home.theme.ts"() {
19602
19648
  "use strict";
19603
- BRAND = {
19604
- blue: "#1773EB",
19605
- green: "#00C459",
19606
- orange: "#E44F20",
19607
- yellow: "#FFDA00",
19608
- white: "#FFFFFF",
19609
- slate: "#8B8D91",
19610
- steel: "#C4D1DE"
19611
- };
19612
- PALETTE = {
19613
- accent: BRAND.blue,
19614
- success: BRAND.green,
19615
- error: BRAND.orange,
19616
- warning: BRAND.yellow,
19617
- muted: BRAND.slate,
19618
- border: BRAND.steel
19619
- };
19620
- BRAND_RAMP = [BRAND.blue, BRAND.orange, BRAND.yellow];
19649
+ BRAND_RAMP = ["#1773EB", "#E44F20", "#FFDA00"];
19621
19650
  BAR_CELL = "\u2501";
19622
19651
  FOCUS_MARKER = "\u276F";
19623
19652
  }
@@ -19697,11 +19726,12 @@ var init_use_terminal_width = __esm({
19697
19726
  import { Text } from "ink";
19698
19727
  import { jsx } from "react/jsx-runtime";
19699
19728
  function ControlHints({ hints }) {
19700
- return /* @__PURE__ */ jsx(Text, { children: hints.map((hint) => `[${hint.keys}] ${hint.label}`).join(" \xB7 ") });
19729
+ return /* @__PURE__ */ jsx(Text, { color: PALETTE.muted, children: hints.map((hint) => `[${hint.keys}] ${hint.label}`).join(" \xB7 ") });
19701
19730
  }
19702
19731
  var init_control_hints = __esm({
19703
19732
  "packages/experience-design-system-cli/src/tui/control-hints.tsx"() {
19704
19733
  "use strict";
19734
+ init_theme();
19705
19735
  }
19706
19736
  });
19707
19737
 
@@ -19799,6 +19829,7 @@ var VERSION, HEADING, SUBTITLE, MIN_TERMINAL_WIDTH, START_ITEMS;
19799
19829
  var init_home = __esm({
19800
19830
  "packages/experience-design-system-cli/src/tui/home/home.tsx"() {
19801
19831
  "use strict";
19832
+ init_theme();
19802
19833
  init_home_theme();
19803
19834
  init_version();
19804
19835
  init_use_terminal_width();
@@ -19839,7 +19870,7 @@ function ImportScreen({ exitCode, onDone }) {
19839
19870
  var init_PageContainer = __esm({
19840
19871
  "packages/experience-design-system-cli/src/tui/import/PageContainer.tsx"() {
19841
19872
  "use strict";
19842
- init_home_theme();
19873
+ init_theme();
19843
19874
  }
19844
19875
  });
19845
19876
 
@@ -19889,20 +19920,19 @@ function WelcomeScreen({ onContinue, onQuit, initialPath = "" }) {
19889
19920
  if (path5) onContinue(path5);
19890
19921
  };
19891
19922
  return /* @__PURE__ */ jsxs3(Box3, { flexDirection: "column", gap: 1, paddingX: 2, paddingY: 1, children: [
19892
- /* @__PURE__ */ jsx4(Text4, { bold: true, color: PALETTE.success, children: "\u{1F44B} Hey! Let's import your design system into Contentful." }),
19893
- /* @__PURE__ */ jsx4(Text4, { color: PALETTE.muted, children: "I'll walk you through 5 steps to get your components into Contentful ExO." }),
19923
+ /* @__PURE__ */ jsx4(Text4, { bold: true, color: PALETTE.success, children: "Let's import your design system into Contentful." }),
19894
19924
  /* @__PURE__ */ jsxs3(Box3, { flexDirection: "column", children: [
19895
- /* @__PURE__ */ jsx4(Text4, { dimColor: true, children: RULE }),
19925
+ /* @__PURE__ */ jsx4(Text4, { color: PALETTE.muted, children: RULE }),
19896
19926
  OVERVIEW.map((item) => /* @__PURE__ */ jsxs3(Box3, { gap: 1, children: [
19897
19927
  /* @__PURE__ */ jsx4(Text4, { bold: true, children: item.label }),
19898
19928
  /* @__PURE__ */ jsx4(Text4, { color: PALETTE.muted, children: item.description })
19899
19929
  ] }, item.label)),
19900
- /* @__PURE__ */ jsx4(Text4, { dimColor: true, children: RULE })
19930
+ /* @__PURE__ */ jsx4(Text4, { color: PALETTE.muted, children: RULE })
19901
19931
  ] }),
19902
19932
  /* @__PURE__ */ jsxs3(Box3, { flexDirection: "column", gap: 1, children: [
19903
19933
  /* @__PURE__ */ jsx4(Text4, { children: "Where is your component library?" }),
19904
- /* @__PURE__ */ jsxs3(Box3, { gap: 1, children: [
19905
- /* @__PURE__ */ jsx4(Text4, { color: PALETTE.accent, children: "?" }),
19934
+ /* @__PURE__ */ jsxs3(Box3, { children: [
19935
+ /* @__PURE__ */ jsx4(Text4, { color: PALETTE.text, children: "?" }),
19906
19936
  /* @__PURE__ */ jsx4(Text4, { children: "Project path:" }),
19907
19937
  /* @__PURE__ */ jsx4(TextInput, { value: projectPath, onChange: setProjectPath, onSubmit: submit })
19908
19938
  ] })
@@ -19919,7 +19949,7 @@ var RULE, OVERVIEW;
19919
19949
  var init_screen = __esm({
19920
19950
  "packages/experience-design-system-cli/src/tui/import/steps/01-welcome/screen.tsx"() {
19921
19951
  "use strict";
19922
- init_home_theme();
19952
+ init_theme();
19923
19953
  init_controls();
19924
19954
  init_logic();
19925
19955
  RULE = "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500";
@@ -20068,7 +20098,7 @@ function TokenInputScreen({ onConfirm, onBack, initialPath = "" }) {
20068
20098
  var init_screen2 = __esm({
20069
20099
  "packages/experience-design-system-cli/src/tui/import/steps/02-token-input/screen.tsx"() {
20070
20100
  "use strict";
20071
- init_home_theme();
20101
+ init_theme();
20072
20102
  init_controls2();
20073
20103
  init_logic2();
20074
20104
  init_validate_path();
@@ -20212,7 +20242,7 @@ import { useEffect as useEffect3, useMemo, useState as useState5 } from "react";
20212
20242
  import { Box as Box5, Text as Text6 } from "ink";
20213
20243
  import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
20214
20244
  function Row({ row }) {
20215
- return /* @__PURE__ */ jsxs5(Text6, { color: row.tone === "accent" ? PALETTE.accent : void 0, dimColor: row.tone === "muted", children: [
20245
+ return /* @__PURE__ */ jsxs5(Text6, { color: row.tone === "accent" ? PALETTE.accent : row.tone === "muted" ? PALETTE.muted : void 0, children: [
20216
20246
  " \u2022 ",
20217
20247
  String(row.count).padStart(3),
20218
20248
  " ",
@@ -20226,7 +20256,7 @@ function Failure({ scan, path: path5 }) {
20226
20256
  "\u2717 ",
20227
20257
  headline
20228
20258
  ] }),
20229
- hints.map((hint) => /* @__PURE__ */ jsx6(Text6, { dimColor: true, children: hint }, hint))
20259
+ hints.map((hint) => /* @__PURE__ */ jsx6(Text6, { color: PALETTE.muted, children: hint }, hint))
20230
20260
  ] });
20231
20261
  }
20232
20262
  function Summary({ scan, path: path5 }) {
@@ -20271,14 +20301,14 @@ function PathValidationScreen({
20271
20301
  onBack
20272
20302
  });
20273
20303
  return /* @__PURE__ */ jsxs5(Box5, { flexDirection: "column", gap: 1, paddingX: 2, paddingY: 1, children: [
20274
- scan === void 0 && /* @__PURE__ */ jsxs5(Text6, { dimColor: true, children: [
20304
+ scan === void 0 && /* @__PURE__ */ jsxs5(Text6, { color: PALETTE.muted, children: [
20275
20305
  "Scanning ",
20276
20306
  /* @__PURE__ */ jsx6(Text6, { bold: true, children: resolvedPath }),
20277
20307
  "..."
20278
20308
  ] }),
20279
20309
  scan?.ok === false && /* @__PURE__ */ jsx6(Failure, { scan, path: resolvedPath }),
20280
20310
  scan?.ok === true && /* @__PURE__ */ jsx6(Summary, { scan, path: resolvedPath }),
20281
- /* @__PURE__ */ jsx6(Box5, { marginTop: 1, gap: 3, children: controlsFor(phase).map((control) => /* @__PURE__ */ jsxs5(Text6, { dimColor: true, children: [
20311
+ /* @__PURE__ */ jsx6(Box5, { marginTop: 1, gap: 3, children: controlsFor(phase).map((control) => /* @__PURE__ */ jsxs5(Text6, { color: PALETTE.muted, children: [
20282
20312
  "[",
20283
20313
  control.keys,
20284
20314
  "] ",
@@ -20289,7 +20319,7 @@ function PathValidationScreen({
20289
20319
  var init_screen3 = __esm({
20290
20320
  "packages/experience-design-system-cli/src/tui/import/steps/03-path-validation/screen.tsx"() {
20291
20321
  "use strict";
20292
- init_home_theme();
20322
+ init_theme();
20293
20323
  init_resolve_user_path();
20294
20324
  init_controls3();
20295
20325
  init_scan_files();
@@ -20457,8 +20487,8 @@ function CredentialsScreen({
20457
20487
  /* @__PURE__ */ jsx7(Text7, { bold: true, children: "Contentful credentials" }),
20458
20488
  /* @__PURE__ */ jsx7(Text7, { children: prefilled ? "Credentials pre-filled from the configuration settings." : "Enter the Contentful space you want to import into." }),
20459
20489
  !prefilled && /* @__PURE__ */ jsxs6(Fragment, { children: [
20460
- /* @__PURE__ */ jsx7(Text7, { dimColor: true, children: "We use it to check what components already exist and to push your import. If you skip, files are saved locally and nothing is pushed." }),
20461
- /* @__PURE__ */ jsx7(Text7, { dimColor: true, children: "Tip: save these under Settings \u2192 Configuration so they pre-fill here." })
20490
+ /* @__PURE__ */ jsx7(Text7, { color: PALETTE.muted, children: "We use it to check what components already exist and to push your import. If you skip, files are saved locally and nothing is pushed." }),
20491
+ /* @__PURE__ */ jsx7(Text7, { color: PALETTE.muted, children: "Tip: save these under Settings \u2192 Configuration so they pre-fill here." })
20462
20492
  ] })
20463
20493
  ] }),
20464
20494
  /* @__PURE__ */ jsx7(Box6, { flexDirection: "column", children: FIELDS.map((field) => /* @__PURE__ */ jsxs6(Box6, { gap: 1, children: [
@@ -20479,14 +20509,14 @@ function CredentialsScreen({
20479
20509
  }
20480
20510
  )
20481
20511
  ] }, field)) }),
20482
- active === "host" && /* @__PURE__ */ jsx7(Text7, { dimColor: true, children: "Default: api.contentful.com \xB7 EU spaces: api.eu.contentful.com" }),
20512
+ active === "host" && /* @__PURE__ */ jsx7(Text7, { color: PALETTE.muted, children: "Default: api.contentful.com \xB7 EU spaces: api.eu.contentful.com" }),
20483
20513
  error && /* @__PURE__ */ jsxs6(Text7, { color: PALETTE.error, children: [
20484
20514
  "\u2717 ",
20485
20515
  error
20486
20516
  ] }),
20487
20517
  validating && /* @__PURE__ */ jsx7(Text7, { color: PALETTE.accent, children: "Validating credentials..." }),
20488
- !validating && !error && !isUnchanged(normalize(values), initialValues) && /* @__PURE__ */ jsx7(Text7, { dimColor: true, children: "Changed values are saved after they validate." }),
20489
- /* @__PURE__ */ jsx7(Box6, { marginTop: 1, gap: 3, children: CREDENTIALS_CONTROLS.map((control) => /* @__PURE__ */ jsxs6(Text7, { dimColor: true, children: [
20518
+ !validating && !error && !isUnchanged(normalize(values), initialValues) && /* @__PURE__ */ jsx7(Text7, { color: PALETTE.muted, children: "Changed values are saved after they validate." }),
20519
+ /* @__PURE__ */ jsx7(Box6, { marginTop: 1, gap: 3, children: CREDENTIALS_CONTROLS.map((control) => /* @__PURE__ */ jsxs6(Text7, { color: PALETTE.muted, children: [
20490
20520
  "[",
20491
20521
  control.keys,
20492
20522
  "] ",
@@ -20498,7 +20528,7 @@ var LABELS;
20498
20528
  var init_screen4 = __esm({
20499
20529
  "packages/experience-design-system-cli/src/tui/import/steps/04-credentials/screen.tsx"() {
20500
20530
  "use strict";
20501
- init_home_theme();
20531
+ init_theme();
20502
20532
  init_controls4();
20503
20533
  init_src4();
20504
20534
  init_logic4();
@@ -20574,7 +20604,7 @@ function ErrorStep({
20574
20604
  " failed"
20575
20605
  ] }),
20576
20606
  /* @__PURE__ */ jsx8(Text8, { color: PALETTE.error, children: message }),
20577
- /* @__PURE__ */ jsx8(Box7, { marginTop: 1, gap: 3, children: controls.map((control) => /* @__PURE__ */ jsxs7(Text8, { dimColor: true, children: [
20607
+ /* @__PURE__ */ jsx8(Box7, { marginTop: 1, gap: 3, children: controls.map((control) => /* @__PURE__ */ jsxs7(Text8, { color: PALETTE.muted, children: [
20578
20608
  "[",
20579
20609
  control.keys,
20580
20610
  "] ",
@@ -20585,7 +20615,7 @@ function ErrorStep({
20585
20615
  var init_error_step = __esm({
20586
20616
  "packages/experience-design-system-cli/src/tui/import/shared/error-step/error-step.tsx"() {
20587
20617
  "use strict";
20588
- init_home_theme();
20618
+ init_theme();
20589
20619
  init_controls5();
20590
20620
  init_logic5();
20591
20621
  }
@@ -20654,7 +20684,7 @@ function GateStep({
20654
20684
  ] }),
20655
20685
  summary && /* @__PURE__ */ jsx9(Text9, { color: PALETTE.muted, children: summary }),
20656
20686
  context && /* @__PURE__ */ jsx9(Box8, { marginTop: 1, children: /* @__PURE__ */ jsx9(Text9, { children: context }) }),
20657
- /* @__PURE__ */ jsx9(Box8, { marginTop: 1, gap: 3, children: gateControls(continueLabel, skipLabel2, onSkip !== void 0).map((control) => /* @__PURE__ */ jsxs8(Text9, { dimColor: true, children: [
20687
+ /* @__PURE__ */ jsx9(Box8, { marginTop: 1, gap: 3, children: gateControls(continueLabel, skipLabel2, onSkip !== void 0).map((control) => /* @__PURE__ */ jsxs8(Text9, { color: PALETTE.muted, children: [
20658
20688
  "[",
20659
20689
  control.keys,
20660
20690
  "] ",
@@ -20665,7 +20695,7 @@ function GateStep({
20665
20695
  var init_gate_step = __esm({
20666
20696
  "packages/experience-design-system-cli/src/tui/import/shared/gate-step/gate-step.tsx"() {
20667
20697
  "use strict";
20668
- init_home_theme();
20698
+ init_theme();
20669
20699
  init_controls6();
20670
20700
  init_logic6();
20671
20701
  }
@@ -20693,14 +20723,15 @@ var init_logic7 = __esm({
20693
20723
  // packages/experience-design-system-cli/src/tui/import/shared/running-step/theme.ts
20694
20724
  import { defaultTheme, extendTheme } from "@inkjs/ui";
20695
20725
  var PROGRESS_THEME;
20696
- var init_theme = __esm({
20726
+ var init_theme2 = __esm({
20697
20727
  "packages/experience-design-system-cli/src/tui/import/shared/running-step/theme.ts"() {
20698
20728
  "use strict";
20729
+ init_theme();
20699
20730
  PROGRESS_THEME = extendTheme(defaultTheme, {
20700
20731
  components: {
20701
20732
  ProgressBar: {
20702
20733
  styles: {
20703
- completed: () => ({ color: "blue" })
20734
+ completed: () => ({ color: PALETTE.accent })
20704
20735
  }
20705
20736
  }
20706
20737
  }
@@ -20758,9 +20789,9 @@ function RunningStep({
20758
20789
  const elapsed = useElapsed();
20759
20790
  return /* @__PURE__ */ jsxs9(Box9, { flexDirection: "column", gap: 1, paddingX: 2, paddingY: 1, children: [
20760
20791
  /* @__PURE__ */ jsxs9(Box9, { flexDirection: "column", children: [
20761
- /* @__PURE__ */ jsx10(Text10, { dimColor: true, children: RULE2 }),
20792
+ /* @__PURE__ */ jsx10(Text10, { color: PALETTE.muted, children: RULE2 }),
20762
20793
  /* @__PURE__ */ jsx10(Text10, { bold: true, children: stepLabel(stepNumber, totalSteps, title) }),
20763
- /* @__PURE__ */ jsx10(Text10, { dimColor: true, children: RULE2 })
20794
+ /* @__PURE__ */ jsx10(Text10, { color: PALETTE.muted, children: RULE2 })
20764
20795
  ] }),
20765
20796
  /* @__PURE__ */ jsx10(Text10, { children: description }),
20766
20797
  /* @__PURE__ */ jsx10(Box9, { marginTop: 1, flexDirection: "column", gap: 1, children: lines.map((line, index) => /* @__PURE__ */ jsx10(Line, { line }, index)) }),
@@ -20774,9 +20805,9 @@ var RULE2;
20774
20805
  var init_running_step = __esm({
20775
20806
  "packages/experience-design-system-cli/src/tui/import/shared/running-step/running-step.tsx"() {
20776
20807
  "use strict";
20777
- init_home_theme();
20778
- init_logic7();
20779
20808
  init_theme();
20809
+ init_logic7();
20810
+ init_theme2();
20780
20811
  init_use_elapsed();
20781
20812
  RULE2 = "\u2500".repeat(40);
20782
20813
  }
@@ -21323,10 +21354,10 @@ var init_use_extraction = __esm({
21323
21354
 
21324
21355
  // packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/theme.ts
21325
21356
  var PALETTE2;
21326
- var init_theme2 = __esm({
21357
+ var init_theme3 = __esm({
21327
21358
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/theme.ts"() {
21328
21359
  "use strict";
21329
- init_home_theme();
21360
+ init_theme();
21330
21361
  PALETTE2 = {
21331
21362
  info: PALETTE.accent,
21332
21363
  success: PALETTE.success,
@@ -21438,7 +21469,7 @@ var TWO_COLUMN_MIN_WIDTH, SCOPE_GATE_MAIN_COLUMN_WIDTH, ACCEPTED_COMPONENTS_COLU
21438
21469
  var init_columns = __esm({
21439
21470
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/columns.ts"() {
21440
21471
  "use strict";
21441
- init_theme2();
21472
+ init_theme3();
21442
21473
  TWO_COLUMN_MIN_WIDTH = 100;
21443
21474
  SCOPE_GATE_MAIN_COLUMN_WIDTH = 54;
21444
21475
  ACCEPTED_COMPONENTS_COLUMN_WIDTH = 36;
@@ -21504,7 +21535,7 @@ function WindowedPanelHeader({
21504
21535
  }) {
21505
21536
  return /* @__PURE__ */ jsxs10(Box10, { flexDirection: "column", children: [
21506
21537
  /* @__PURE__ */ jsx13(Text11, { bold: true, color: PALETTE2.info, inverse: focused, children: title }),
21507
- /* @__PURE__ */ jsx13(Text11, { dimColor: true, children: "\u2500".repeat(Math.max(0, width - 2)) })
21538
+ /* @__PURE__ */ jsx13(Text11, { color: PALETTE2.muted, children: "\u2500".repeat(Math.max(0, width - 2)) })
21508
21539
  ] });
21509
21540
  }
21510
21541
  function formatWindowIndicator(direction, count) {
@@ -21518,7 +21549,7 @@ var MIN_TERMINAL_PANEL_HEIGHT;
21518
21549
  var init_windowed_panel = __esm({
21519
21550
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/components/windowed-panel.tsx"() {
21520
21551
  "use strict";
21521
- init_theme2();
21552
+ init_theme3();
21522
21553
  MIN_TERMINAL_PANEL_HEIGHT = 5;
21523
21554
  }
21524
21555
  });
@@ -21543,7 +21574,7 @@ function AddedColumn(props) {
21543
21574
  const showSeparator = firstNonCycleIdx > 0 && i === firstNonCycleIdx;
21544
21575
  const style = sideColumnLabelStyle({ isCycle: entry.isCycle, isSelected, focused });
21545
21576
  return /* @__PURE__ */ jsxs11(React6.Fragment, { children: [
21546
- showSeparator && /* @__PURE__ */ jsx14(Text12, { dimColor: true, children: "\u2500".repeat(Math.max(0, width - 2)) }),
21577
+ showSeparator && /* @__PURE__ */ jsx14(Text12, { color: PALETTE2.muted, children: "\u2500".repeat(Math.max(0, width - 2)) }),
21547
21578
  /* @__PURE__ */ jsxs11(Box11, { children: [
21548
21579
  isCursor ? /* @__PURE__ */ jsx14(Text12, { color: PALETTE2.info, bold: true, children: figures.pointer }) : /* @__PURE__ */ jsx14(Text12, { children: " " }),
21549
21580
  reserveAiBadge && (aiFlagged ? /* @__PURE__ */ jsx14(Text12, { color: PALETTE2.warning, bold: true, children: " [\xD7]" }) : /* @__PURE__ */ jsx14(Text12, { children: " " })),
@@ -21569,7 +21600,7 @@ var init_added_column = __esm({
21569
21600
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/panels/added-column.tsx"() {
21570
21601
  "use strict";
21571
21602
  init_columns();
21572
- init_theme2();
21603
+ init_theme3();
21573
21604
  init_windowed_panel();
21574
21605
  }
21575
21606
  });
@@ -21604,7 +21635,7 @@ function CyclesPanel({ cycles, cursor }) {
21604
21635
  var init_cycles_panel = __esm({
21605
21636
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/panels/cycles-panel.tsx"() {
21606
21637
  "use strict";
21607
- init_theme2();
21638
+ init_theme3();
21608
21639
  }
21609
21640
  });
21610
21641
 
@@ -21622,7 +21653,7 @@ function RejectPrompt({ pending }) {
21622
21653
  var init_reject_prompt = __esm({
21623
21654
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/panels/reject-prompt.tsx"() {
21624
21655
  "use strict";
21625
- init_theme2();
21656
+ init_theme3();
21626
21657
  }
21627
21658
  });
21628
21659
 
@@ -21638,7 +21669,7 @@ function legendEntry(keyBracket, label, active = false) {
21638
21669
  var init_LegendEntry = __esm({
21639
21670
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/components/LegendEntry.tsx"() {
21640
21671
  "use strict";
21641
- init_theme2();
21672
+ init_theme3();
21642
21673
  }
21643
21674
  });
21644
21675
 
@@ -21659,7 +21690,7 @@ function CompactControlBar({ hasGroupRoots, searchActive }) {
21659
21690
  var init_CompactControlBar = __esm({
21660
21691
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/components/CompactControlBar.tsx"() {
21661
21692
  "use strict";
21662
- init_theme2();
21693
+ init_theme3();
21663
21694
  init_LegendEntry();
21664
21695
  }
21665
21696
  });
@@ -21698,7 +21729,7 @@ function CounterStrip(props) {
21698
21729
  var init_CounterStrip = __esm({
21699
21730
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/components/CounterStrip.tsx"() {
21700
21731
  "use strict";
21701
- init_theme2();
21732
+ init_theme3();
21702
21733
  }
21703
21734
  });
21704
21735
 
@@ -21763,7 +21794,7 @@ var DEFAULT_MAX_ROWS;
21763
21794
  var init_GotoBanner = __esm({
21764
21795
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/components/GotoBanner.tsx"() {
21765
21796
  "use strict";
21766
- init_theme2();
21797
+ init_theme3();
21767
21798
  DEFAULT_MAX_ROWS = 15;
21768
21799
  }
21769
21800
  });
@@ -22142,7 +22173,7 @@ function PreviewBadge({
22142
22173
  var init_badge = __esm({
22143
22174
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/components/badge.tsx"() {
22144
22175
  "use strict";
22145
- init_theme2();
22176
+ init_theme3();
22146
22177
  }
22147
22178
  });
22148
22179
 
@@ -22637,7 +22668,7 @@ var init_GroupedSidebar = __esm({
22637
22668
  "use strict";
22638
22669
  init_composite_closure();
22639
22670
  init_badge();
22640
- init_theme2();
22671
+ init_theme3();
22641
22672
  init_windowed_panel();
22642
22673
  GLYPH_EXPAND_COLLAPSED = "\u25B8";
22643
22674
  GLYPH_EXPAND_EXPANDED = "\u25BE";
@@ -22932,7 +22963,7 @@ function SearchMatchSummary({
22932
22963
  var init_SearchMatchSummary = __esm({
22933
22964
  "packages/experience-design-system-cli/src/tui/import/steps/07-scope-gate/sidebar/components/SearchMatchSummary.tsx"() {
22934
22965
  "use strict";
22935
- init_theme2();
22966
+ init_theme3();
22936
22967
  init_sidebar_input();
22937
22968
  }
22938
22969
  });
@@ -24300,7 +24331,7 @@ var init_screen7 = __esm({
24300
24331
  init_HelpOverlay();
24301
24332
  init_SearchMatchSummary();
24302
24333
  init_sidebar_help();
24303
- init_theme2();
24334
+ init_theme3();
24304
24335
  init_use_scope_gate();
24305
24336
  HELP_SECTIONS = [
24306
24337
  {
@@ -25188,24 +25219,6 @@ var init_screen9 = __esm({
25188
25219
  }
25189
25220
  });
25190
25221
 
25191
- // packages/experience-design-system-cli/src/tui/import/steps/09-review/theme.ts
25192
- var PALETTE3;
25193
- var init_theme3 = __esm({
25194
- "packages/experience-design-system-cli/src/tui/import/steps/09-review/theme.ts"() {
25195
- "use strict";
25196
- init_home_theme();
25197
- PALETTE3 = {
25198
- info: PALETTE.accent,
25199
- success: PALETTE.success,
25200
- error: PALETTE.error,
25201
- warning: PALETTE.warning,
25202
- muted: PALETTE.muted,
25203
- border: PALETTE.border,
25204
- inverse: "#FFFFFF"
25205
- };
25206
- }
25207
- });
25208
-
25209
25222
  // packages/experience-design-system-cli/src/tui/import/steps/09-review/review-json-panel.ts
25210
25223
  function getReviewJsonPanelValue(selected, showHiddenProps) {
25211
25224
  if (!selected) return "";
@@ -25697,13 +25710,13 @@ function serializeState(state2, originalJson) {
25697
25710
  }
25698
25711
  function Picker({ value, active }) {
25699
25712
  return /* @__PURE__ */ jsxs22(Box21, { children: [
25700
- active && /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.warning, children: "\u2039" }),
25701
- /* @__PURE__ */ jsx27(Text23, { color: active ? PALETTE3.warning : void 0, bold: active, children: value }),
25702
- active && /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.warning, children: "\u203A" })
25713
+ active && /* @__PURE__ */ jsx27(Text23, { color: PALETTE.warning, children: "\u2039" }),
25714
+ /* @__PURE__ */ jsx27(Text23, { color: active ? PALETTE.warning : void 0, bold: active, children: value }),
25715
+ active && /* @__PURE__ */ jsx27(Text23, { color: PALETTE.warning, children: "\u203A" })
25703
25716
  ] });
25704
25717
  }
25705
25718
  function Toggle({ value, active }) {
25706
- return /* @__PURE__ */ jsx27(Box21, { children: /* @__PURE__ */ jsx27(Text23, { color: active ? PALETTE3.warning : value ? PALETTE3.success : PALETTE3.border, children: value ? "[\u2713]" : "[ ]" }) });
25719
+ return /* @__PURE__ */ jsx27(Box21, { children: /* @__PURE__ */ jsx27(Text23, { color: active ? PALETTE.warning : value ? PALETTE.success : PALETTE.border, children: value ? "[\u2713]" : "[ ]" }) });
25707
25720
  }
25708
25721
  function InlinePropField({
25709
25722
  label,
@@ -25713,7 +25726,7 @@ function InlinePropField({
25713
25726
  width
25714
25727
  }) {
25715
25728
  return /* @__PURE__ */ jsxs22(Box21, { width, gap: 1, flexShrink: flexible ? 1 : 0, flexGrow: flexible ? 1 : 0, flexWrap: "wrap", children: [
25716
- /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE3.warning : PALETTE3.muted, bold: focused, wrap: "truncate-end", children: [
25729
+ /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE.warning : PALETTE.muted, bold: focused, wrap: "truncate-end", children: [
25717
25730
  focused ? "\u203A " : " ",
25718
25731
  label
25719
25732
  ] }),
@@ -25734,7 +25747,7 @@ function DefaultValueRow({
25734
25747
  focused
25735
25748
  }) {
25736
25749
  return /* @__PURE__ */ jsxs22(Box21, { gap: 1, flexWrap: "wrap", flexShrink: 0, children: [
25737
- /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE3.warning : PALETTE3.muted, bold: focused, children: [
25750
+ /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE.warning : PALETTE.muted, bold: focused, children: [
25738
25751
  focused ? "\u203A " : " ",
25739
25752
  "default:"
25740
25753
  ] }),
@@ -25749,9 +25762,9 @@ function RowLabel({
25749
25762
  return /* @__PURE__ */ jsxs22(
25750
25763
  Text23,
25751
25764
  {
25752
- color: selected ? PALETTE3.inverse : PALETTE3.info,
25765
+ color: selected ? "#FFFFFF" : PALETTE.accent,
25753
25766
  bold: selected,
25754
- backgroundColor: selected ? "blue" : void 0,
25767
+ backgroundColor: selected ? PALETTE.accent : void 0,
25755
25768
  wrap: "truncate-end",
25756
25769
  children: [
25757
25770
  " ",
@@ -25767,7 +25780,7 @@ function ValueInputRow({
25767
25780
  cursorVisible
25768
25781
  }) {
25769
25782
  return /* @__PURE__ */ jsxs22(Box21, { paddingLeft: 2, children: [
25770
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.info, children: mode === "edit" ? "\u270E " : "+ " }),
25783
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.accent, children: mode === "edit" ? "\u270E " : "+ " }),
25771
25784
  /* @__PURE__ */ jsx27(Text23, { children: valueText }),
25772
25785
  /* @__PURE__ */ jsx27(Text23, { inverse: cursorVisible, children: " " })
25773
25786
  ] });
@@ -25784,7 +25797,7 @@ function EditableListItem({
25784
25797
  if (isBeingEdited) {
25785
25798
  return /* @__PURE__ */ jsx27(ValueInputRow, { mode: "edit", valueText, cursorVisible });
25786
25799
  }
25787
- return /* @__PURE__ */ jsx27(Box21, { gap: 1, paddingLeft: 2, children: /* @__PURE__ */ jsx27(Text23, { color: active ? PALETTE3.info : void 0, children: active ? `${figures5.pointer} ${value}` : ` ${value}` }) });
25800
+ return /* @__PURE__ */ jsx27(Box21, { gap: 1, paddingLeft: 2, children: /* @__PURE__ */ jsx27(Text23, { color: active ? PALETTE.accent : void 0, children: active ? `${figures5.pointer} ${value}` : ` ${value}` }) });
25788
25801
  }
25789
25802
  function EditableValueList({
25790
25803
  values,
@@ -25798,7 +25811,7 @@ function EditableValueList({
25798
25811
  showAddInput
25799
25812
  }) {
25800
25813
  return /* @__PURE__ */ jsxs22(Fragment5, { children: [
25801
- values.length === 0 && !editingValue && (emptyPaddingLeft === void 0 ? /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: emptyMessage }) : /* @__PURE__ */ jsx27(Box21, { paddingLeft: emptyPaddingLeft, children: /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: emptyMessage }) })),
25814
+ values.length === 0 && !editingValue && (emptyPaddingLeft === void 0 ? /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: emptyMessage }) : /* @__PURE__ */ jsx27(Box21, { paddingLeft: emptyPaddingLeft, children: /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: emptyMessage }) })),
25802
25815
  values.map((value, index) => /* @__PURE__ */ jsx27(
25803
25816
  EditableListItem,
25804
25817
  {
@@ -25824,11 +25837,11 @@ function DefaultSubRow({
25824
25837
  const cursor = cursorVisible ? "\u2588" : " ";
25825
25838
  if (prop.type === "richtext" || prop.type === "media" || prop.type === "link") {
25826
25839
  return /* @__PURE__ */ jsxs22(Box21, { gap: 1, flexShrink: 0, children: [
25827
- /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE3.warning : PALETTE3.muted, bold: focused, children: [
25840
+ /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE.warning : PALETTE.muted, bold: focused, children: [
25828
25841
  focused ? "\u203A " : " ",
25829
25842
  "default:"
25830
25843
  ] }),
25831
- /* @__PURE__ */ jsx27(Text23, { color: focused ? void 0 : PALETTE3.muted, children: "(not applicable)" })
25844
+ /* @__PURE__ */ jsx27(Text23, { color: focused ? void 0 : PALETTE.muted, children: "(not applicable)" })
25832
25845
  ] });
25833
25846
  }
25834
25847
  if (prop.type === "boolean") {
@@ -25838,11 +25851,11 @@ function DefaultSubRow({
25838
25851
  if (prop.type === "enum") {
25839
25852
  if (prop.values.length === 0) {
25840
25853
  return /* @__PURE__ */ jsxs22(Box21, { gap: 1, flexShrink: 0, children: [
25841
- /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE3.warning : PALETTE3.muted, bold: focused, children: [
25854
+ /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE.warning : PALETTE.muted, bold: focused, children: [
25842
25855
  focused ? "\u203A " : " ",
25843
25856
  "default:"
25844
25857
  ] }),
25845
- /* @__PURE__ */ jsx27(Text23, { color: focused ? void 0 : PALETTE3.muted, children: "(no values defined)" })
25858
+ /* @__PURE__ */ jsx27(Text23, { color: focused ? void 0 : PALETTE.muted, children: "(no values defined)" })
25846
25859
  ] });
25847
25860
  }
25848
25861
  const display = typeof prop.default === "string" && prop.default !== "" ? prop.default : "(unset)";
@@ -25851,11 +25864,11 @@ function DefaultSubRow({
25851
25864
  const value = typeof prop.default === "string" ? prop.default : "";
25852
25865
  if (active) {
25853
25866
  return /* @__PURE__ */ jsxs22(Box21, { flexDirection: "row", flexShrink: 0, children: [
25854
- /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE3.warning : PALETTE3.muted, bold: focused, children: [
25867
+ /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE.warning : PALETTE.muted, bold: focused, children: [
25855
25868
  focused ? "\u203A " : " ",
25856
25869
  "default:"
25857
25870
  ] }),
25858
- /* @__PURE__ */ jsxs22(Box21, { flexGrow: 1, borderStyle: "round", borderColor: PALETTE3.warning, paddingX: 1, children: [
25871
+ /* @__PURE__ */ jsxs22(Box21, { flexGrow: 1, borderStyle: "round", borderColor: PALETTE.warning, paddingX: 1, children: [
25859
25872
  /* @__PURE__ */ jsx27(Text23, { children: value.slice(0, textCursor) }),
25860
25873
  /* @__PURE__ */ jsx27(Text23, { inverse: cursorVisible, children: value[textCursor] ?? cursor }),
25861
25874
  /* @__PURE__ */ jsx27(Text23, { children: value.slice(textCursor + 1) })
@@ -25863,11 +25876,11 @@ function DefaultSubRow({
25863
25876
  ] });
25864
25877
  }
25865
25878
  return /* @__PURE__ */ jsxs22(Box21, { gap: 1, flexShrink: 0, children: [
25866
- /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE3.warning : PALETTE3.muted, bold: focused, children: [
25879
+ /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE.warning : PALETTE.muted, bold: focused, children: [
25867
25880
  focused ? "\u203A " : " ",
25868
25881
  "default:"
25869
25882
  ] }),
25870
- /* @__PURE__ */ jsx27(Text23, { color: focused || value ? void 0 : PALETTE3.muted, children: value || "(none)" })
25883
+ /* @__PURE__ */ jsx27(Text23, { color: focused || value ? void 0 : PALETTE.muted, children: value || "(none)" })
25871
25884
  ] });
25872
25885
  }
25873
25886
  function DescriptionField({
@@ -25883,15 +25896,15 @@ function DescriptionField({
25883
25896
  }) {
25884
25897
  if (compact) {
25885
25898
  return /* @__PURE__ */ jsxs22(Box21, { gap: 1, flexWrap: "wrap", width, flexShrink: 0, children: [
25886
- /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE3.warning : PALETTE3.muted, bold: focused, children: [
25899
+ /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE.warning : PALETTE.muted, bold: focused, children: [
25887
25900
  focused ? "\u203A " : " ",
25888
25901
  label
25889
25902
  ] }),
25890
- /* @__PURE__ */ jsx27(Text23, { wrap: "truncate-end", color: value ? void 0 : PALETTE3.muted, children: value || "\u2014" })
25903
+ /* @__PURE__ */ jsx27(Text23, { wrap: "truncate-end", color: value ? void 0 : PALETTE.muted, children: value || "\u2014" })
25891
25904
  ] });
25892
25905
  }
25893
25906
  return /* @__PURE__ */ jsxs22(Box21, { paddingLeft, flexDirection: "column", width, flexShrink: 0, children: [
25894
- /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE3.warning : PALETTE3.muted, bold: focused, children: [
25907
+ /* @__PURE__ */ jsxs22(Text23, { color: focused ? PALETTE.warning : PALETTE.muted, bold: focused, children: [
25895
25908
  focused ? "\u203A " : " ",
25896
25909
  label
25897
25910
  ] }),
@@ -25955,7 +25968,7 @@ function PropRow({
25955
25968
  ] }),
25956
25969
  prop.type === "token" && /* @__PURE__ */ jsx27(InlinePropField, { label: "kind:", focused: activeField === "tokenKind", width, children: editingField && activeField === "tokenKind" ? /* @__PURE__ */ jsx27(Picker, { value: prop.tokenKind || DESIGN_TOKEN_TYPES2[0], active: true }) : /* @__PURE__ */ jsx27(Text23, { wrap: "wrap", children: prop.tokenKind || "\u2014" }) }),
25957
25970
  prop.type === "enum" && /* @__PURE__ */ jsxs22(Box21, { gap: 1, flexWrap: "wrap", width, flexShrink: 0, children: [
25958
- /* @__PURE__ */ jsxs22(Text23, { color: activeField === "values" ? PALETTE3.warning : PALETTE3.muted, bold: activeField === "values", children: [
25971
+ /* @__PURE__ */ jsxs22(Text23, { color: activeField === "values" ? PALETTE.warning : PALETTE.muted, bold: activeField === "values", children: [
25959
25972
  activeField === "values" ? "\u203A " : " ",
25960
25973
  "values:"
25961
25974
  ] }),
@@ -25976,27 +25989,27 @@ function PropRow({
25976
25989
  }
25977
25990
  ),
25978
25991
  prop.type === "token" && prop.category === "design" && /* @__PURE__ */ jsxs22(Box21, { gap: 1, flexWrap: "wrap", width, flexShrink: 0, children: [
25979
- /* @__PURE__ */ jsxs22(Text23, { color: activeField === "allowed" ? PALETTE3.warning : PALETTE3.muted, bold: activeField === "allowed", children: [
25992
+ /* @__PURE__ */ jsxs22(Text23, { color: activeField === "allowed" ? PALETTE.warning : PALETTE.muted, bold: activeField === "allowed", children: [
25980
25993
  activeField === "allowed" ? "\u203A " : " ",
25981
25994
  "allowed:"
25982
25995
  ] }),
25983
- editingField && activeField === "allowed" ? /* @__PURE__ */ jsx27(Box21, { width: Math.max(1, width - 4), borderStyle: "round", borderColor: PALETTE3.warning, paddingX: 1, children: /* @__PURE__ */ jsx27(Text23, { children: "press [t] to edit allowed tokens" }) }) : /* @__PURE__ */ jsx27(
25996
+ editingField && activeField === "allowed" ? /* @__PURE__ */ jsx27(Box21, { width: Math.max(1, width - 4), borderStyle: "round", borderColor: PALETTE.warning, paddingX: 1, children: /* @__PURE__ */ jsx27(Text23, { children: "press [t] to edit allowed tokens" }) }) : /* @__PURE__ */ jsx27(
25984
25997
  Text23,
25985
25998
  {
25986
- color: activeField !== "allowed" && prop.allowed.length === 0 ? PALETTE3.muted : void 0,
25999
+ color: activeField !== "allowed" && prop.allowed.length === 0 ? PALETTE.muted : void 0,
25987
26000
  wrap: "wrap",
25988
26001
  children: prop.allowed.length > 0 ? prop.allowed.join(", ") : "(any)"
25989
26002
  }
25990
26003
  )
25991
26004
  ] }),
25992
- selected && showRationale && rationale && rationale.trim().length > 0 && /* @__PURE__ */ jsx27(Box21, { paddingLeft: 2, children: /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: (() => {
26005
+ selected && showRationale && rationale && rationale.trim().length > 0 && /* @__PURE__ */ jsx27(Box21, { paddingLeft: 2, children: /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: (() => {
25993
26006
  const max = Math.max(8, width - 8);
25994
26007
  const text = `~ ${rationale}`;
25995
26008
  return text.length > max ? text.slice(0, max - 1) + "\u2026" : text;
25996
26009
  })() }) }, rowKey ? `rationale-${rowKey}` : void 0),
25997
26010
  selected && prop.type === "enum" && activeField === "values" && /* @__PURE__ */ jsxs22(Box21, { paddingLeft: 2, flexDirection: "column", children: [
25998
26011
  /* @__PURE__ */ jsxs22(Box21, { children: [
25999
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "values:" }),
26012
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "values:" }),
26000
26013
  activeField === "values" && /* @__PURE__ */ jsx27(Text23, { children: " [a] add [e] edit [r] remove [\u2191\u2193] navigate [K/J] reorder" })
26001
26014
  ] }),
26002
26015
  /* @__PURE__ */ jsx27(
@@ -26057,7 +26070,7 @@ function SlotRow({
26057
26070
  /* @__PURE__ */ jsxs22(
26058
26071
  Text23,
26059
26072
  {
26060
- color: activeField === "allowedComponents" ? PALETTE3.warning : PALETTE3.muted,
26073
+ color: activeField === "allowedComponents" ? PALETTE.warning : PALETTE.muted,
26061
26074
  bold: activeField === "allowedComponents",
26062
26075
  children: [
26063
26076
  activeField === "allowedComponents" ? "\u203A " : " ",
@@ -26065,14 +26078,14 @@ function SlotRow({
26065
26078
  ]
26066
26079
  }
26067
26080
  ),
26068
- slot.allowedComponents.length === 0 ? /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "(any)" }) : /* @__PURE__ */ jsx27(Text23, { wrap: "wrap", children: slot.allowedComponents.join(", ") })
26081
+ slot.allowedComponents.length === 0 ? /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "(any)" }) : /* @__PURE__ */ jsx27(Text23, { wrap: "wrap", children: slot.allowedComponents.join(", ") })
26069
26082
  ] }),
26070
26083
  selected && editingField && activeField === "allowedComponents" && /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", children: [
26071
26084
  /* @__PURE__ */ jsxs22(Box21, { children: [
26072
26085
  /* @__PURE__ */ jsxs22(
26073
26086
  Text23,
26074
26087
  {
26075
- color: activeField === "allowedComponents" ? PALETTE3.warning : PALETTE3.muted,
26088
+ color: activeField === "allowedComponents" ? PALETTE.warning : PALETTE.muted,
26076
26089
  bold: activeField === "allowedComponents",
26077
26090
  children: [
26078
26091
  activeField === "allowedComponents" ? "\u203A " : " ",
@@ -26080,7 +26093,7 @@ function SlotRow({
26080
26093
  ]
26081
26094
  }
26082
26095
  ),
26083
- editingField && activeField === "allowedComponents" && /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: slot.allowedComponents.length > 0 ? " [a] add [e] edit [r] remove [\u2190\u2192] cycle [\u2191\u2193] navigate [K/J] reorder" : " [a] add [e] edit [r] remove [\u2191\u2193] navigate [K/J] reorder" })
26096
+ editingField && activeField === "allowedComponents" && /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: slot.allowedComponents.length > 0 ? " [a] add [e] edit [r] remove [\u2190\u2192] cycle [\u2191\u2193] navigate [K/J] reorder" : " [a] add [e] edit [r] remove [\u2191\u2193] navigate [K/J] reorder" })
26084
26097
  ] }),
26085
26098
  /* @__PURE__ */ jsx27(
26086
26099
  EditableValueList,
@@ -26096,21 +26109,21 @@ function SlotRow({
26096
26109
  showAddInput: editingField && activeField === "allowedComponents"
26097
26110
  }
26098
26111
  ),
26099
- editingField && editingValue?.mode === "add" && activeField === "allowedComponents" && pickerCandidates !== null && /* @__PURE__ */ jsx27(Box21, { paddingLeft: 2, flexDirection: "column", children: pickerCandidates.length === 0 ? /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "(no valid components to add \u2014 all remaining candidates would create cycles)" }) : (() => {
26112
+ editingField && editingValue?.mode === "add" && activeField === "allowedComponents" && pickerCandidates !== null && /* @__PURE__ */ jsx27(Box21, { paddingLeft: 2, flexDirection: "column", children: pickerCandidates.length === 0 ? /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "(no valid components to add \u2014 all remaining candidates would create cycles)" }) : (() => {
26100
26113
  const filtered = valueText.length === 0 ? pickerCandidates : pickerCandidates.filter((n) => n.toLowerCase().includes(valueText.toLowerCase()));
26101
26114
  if (filtered.length === 0) {
26102
- return /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "(no candidates match \u2014 Enter to add as free text)" });
26115
+ return /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "(no candidates match \u2014 Enter to add as free text)" });
26103
26116
  }
26104
26117
  const cursor = pickerCursor % filtered.length;
26105
26118
  const MAX_VISIBLE = 5;
26106
26119
  const start = Math.max(0, Math.min(filtered.length - MAX_VISIBLE, cursor - 2));
26107
26120
  const slice = filtered.slice(start, start + MAX_VISIBLE);
26108
26121
  return /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", children: [
26109
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: " candidates (\u2191\u2193 cycle, Enter to add):" }),
26122
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: " candidates (\u2191\u2193 cycle, Enter to add):" }),
26110
26123
  slice.map((name, i) => {
26111
26124
  const absIdx = start + i;
26112
26125
  const isCursor = absIdx === cursor;
26113
- return /* @__PURE__ */ jsx27(Text23, { color: isCursor ? PALETTE3.info : PALETTE3.muted, children: isCursor ? ` ${figures5.pointer} ${name}` : ` ${name}` }, name);
26126
+ return /* @__PURE__ */ jsx27(Text23, { color: isCursor ? PALETTE.accent : PALETTE.muted, children: isCursor ? ` ${figures5.pointer} ${name}` : ` ${name}` }, name);
26114
26127
  })
26115
26128
  ] });
26116
26129
  })() })
@@ -26938,18 +26951,18 @@ function FieldEditor({
26938
26951
  });
26939
26952
  const innerWidth = Math.max(1, width - 2);
26940
26953
  if (parseErr) {
26941
- return /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", width, borderStyle: "single", borderColor: PALETTE3.error, children: [
26942
- /* @__PURE__ */ jsx27(Text23, { bold: true, color: PALETTE3.error, children: "FIELD EDITOR \u2014 parse error" }),
26943
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.error, children: parseErr }),
26944
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "Cannot display structured editor. Fix the JSON first." })
26954
+ return /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", width, borderStyle: "single", borderColor: PALETTE.error, children: [
26955
+ /* @__PURE__ */ jsx27(Text23, { bold: true, color: PALETTE.error, children: "FIELD EDITOR \u2014 parse error" }),
26956
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.error, children: parseErr }),
26957
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "Cannot display structured editor. Fix the JSON first." })
26945
26958
  ] });
26946
26959
  }
26947
26960
  if (props.length === 0 && slots.length === 0) {
26948
- return /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", width, borderStyle: "single", borderColor: PALETTE3.warning, children: [
26949
- /* @__PURE__ */ jsx27(Text23, { bold: true, color: PALETTE3.warning, children: "FIELD EDITOR \u2014 no fields" }),
26950
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.warning, children: "\u26A0 No properties classified for this component. The LLM didn't find anything to classify." }),
26951
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "You can add fields manually below or reject this component." }),
26952
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "Enter to save \xB7 Esc to discard" })
26961
+ return /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", width, borderStyle: "single", borderColor: PALETTE.warning, children: [
26962
+ /* @__PURE__ */ jsx27(Text23, { bold: true, color: PALETTE.warning, children: "FIELD EDITOR \u2014 no fields" }),
26963
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.warning, children: "\u26A0 No properties classified for this component. The LLM didn't find anything to classify." }),
26964
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "You can add fields manually below or reject this component." }),
26965
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "Enter to save \xB7 Esc to discard" })
26953
26966
  ] });
26954
26967
  }
26955
26968
  const hasEmptyProperties = props.length === 0 && slots.length === 0;
@@ -27078,7 +27091,7 @@ function FieldEditor({
27078
27091
  const renderRow = (row, index) => {
27079
27092
  const key = rowKey(row, index);
27080
27093
  if (row.kind === "header") {
27081
- return /* @__PURE__ */ jsx27(Box21, { flexDirection: "column", paddingTop: 1, children: /* @__PURE__ */ jsx27(Text23, { bold: true, color: PALETTE3.success, children: row.label }) }, key);
27094
+ return /* @__PURE__ */ jsx27(Box21, { flexDirection: "column", paddingTop: 1, children: /* @__PURE__ */ jsx27(Text23, { bold: true, color: PALETTE.success, children: row.label }) }, key);
27082
27095
  }
27083
27096
  if (row.kind === "component-description") {
27084
27097
  const isSelected2 = inComponentDesc && active;
@@ -27160,9 +27173,9 @@ function FieldEditor({
27160
27173
  ...fixedHeight ? { height } : { minHeight: height },
27161
27174
  clipOverflow: fixedHeight,
27162
27175
  borderStyle: "single",
27163
- borderColor: hasEmptyProperties ? PALETTE3.warning : active ? PALETTE3.info : PALETTE3.border,
27176
+ borderColor: hasEmptyProperties ? PALETTE.warning : active ? PALETTE.accent : PALETTE.border,
27164
27177
  children: [
27165
- hasEmptyProperties && /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.warning, children: "\u26A0 No properties classified for this component. The LLM didn't find anything to classify. Reject this component or add fields manually." }),
27178
+ hasEmptyProperties && /* @__PURE__ */ jsx27(Text23, { color: PALETTE.warning, children: "\u26A0 No properties classified for this component. The LLM didn't find anything to classify. Reject this component or add fields manually." }),
27166
27179
  header,
27167
27180
  /* @__PURE__ */ jsx27(Box21, { flexDirection: "column", width: innerWidth, flexShrink: 0, children: focusLevel === "field" && !inComponentDesc && currentProp ? /* @__PURE__ */ jsx27(
27168
27181
  PropRow,
@@ -27213,7 +27226,7 @@ function FieldEditor({
27213
27226
  `visible-${key}`
27214
27227
  );
27215
27228
  }) }),
27216
- categoryBelow && /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.success, bold: true, children: `(${categoryBelow} below)` }),
27229
+ categoryBelow && /* @__PURE__ */ jsx27(Text23, { color: PALETTE.success, bold: true, children: `(${categoryBelow} below)` }),
27217
27230
  sourceOpen && !onToggleSourceExternal && (() => {
27218
27231
  const propMeta = !inSlots && !inComponentDesc && currentProp ? metadata?.props?.[currentProp.name] : void 0;
27219
27232
  const start = propMeta?.sourceStartLine ?? null;
@@ -27223,20 +27236,20 @@ function FieldEditor({
27223
27236
  const headerPath = path5 ?? "<unknown source path>";
27224
27237
  if (!start || !end2 || !src) {
27225
27238
  return /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", borderStyle: "single", borderColor: "gray", paddingX: 1, children: [
27226
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, bold: true, children: `source: ${headerPath}` }),
27227
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "(no source location captured for this prop)" }),
27239
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, bold: true, children: `source: ${headerPath}` }),
27240
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "(no source location captured for this prop)" }),
27228
27241
  /* @__PURE__ */ jsx27(Text23, { children: "[s] close" })
27229
27242
  ] });
27230
27243
  }
27231
27244
  const lines = src.split("\n").slice(Math.max(0, start - 1), end2);
27232
27245
  return /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", borderStyle: "single", borderColor: "gray", paddingX: 1, children: [
27233
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, bold: true, children: `${headerPath}: lines ${start}\u2013${end2}` }),
27234
- lines.map((ln, i) => /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: ln }, `source-line-${i}`)),
27246
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, bold: true, children: `${headerPath}: lines ${start}\u2013${end2}` }),
27247
+ lines.map((ln, i) => /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: ln }, `source-line-${i}`)),
27235
27248
  /* @__PURE__ */ jsx27(Text23, { children: "[s] close \xB7 [Esc] close" })
27236
27249
  ] });
27237
27250
  })(),
27238
- showHelp && /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE3.info, paddingX: 1, children: [
27239
- /* @__PURE__ */ jsx27(Text23, { bold: true, color: PALETTE3.info, children: "Keybindings" }),
27251
+ showHelp && /* @__PURE__ */ jsxs22(Box21, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE.accent, paddingX: 1, children: [
27252
+ /* @__PURE__ */ jsx27(Text23, { bold: true, color: PALETTE.accent, children: "Keybindings" }),
27240
27253
  /* @__PURE__ */ jsx27(Text23, { children: " " }),
27241
27254
  /* @__PURE__ */ jsx27(Text23, { bold: true, children: "Row navigation" }),
27242
27255
  /* @__PURE__ */ jsx27(Text23, { children: " \u2191/\u2193 move between rows" }),
@@ -27261,10 +27274,10 @@ function FieldEditor({
27261
27274
  /* @__PURE__ */ jsx27(Text23, { children: " " + componentRationaleKey.padEnd(16) + " toggle component rationale panel" }),
27262
27275
  /* @__PURE__ */ jsx27(Text23, { children: " ? toggle this overlay" }),
27263
27276
  /* @__PURE__ */ jsx27(Text23, { children: " " }),
27264
- /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: "press ? or Esc to close" })
27277
+ /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: "press ? or Esc to close" })
27265
27278
  ] }),
27266
- validationError && /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.error, children: "\u2717 " + validationError }),
27267
- /* @__PURE__ */ jsx27(Box21, { paddingTop: 1, children: /* @__PURE__ */ jsx27(Text23, { color: PALETTE3.muted, children: modeLabel }) })
27279
+ validationError && /* @__PURE__ */ jsx27(Text23, { color: PALETTE.error, children: "\u2717 " + validationError }),
27280
+ /* @__PURE__ */ jsx27(Box21, { paddingTop: 1, children: /* @__PURE__ */ jsx27(Text23, { color: PALETTE.muted, children: modeLabel }) })
27268
27281
  ]
27269
27282
  }
27270
27283
  );
@@ -27273,7 +27286,7 @@ var SLOT_FIELDS;
27273
27286
  var init_FieldEditor = __esm({
27274
27287
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/FieldEditor.tsx"() {
27275
27288
  "use strict";
27276
- init_theme3();
27289
+ init_theme();
27277
27290
  init_src5();
27278
27291
  init_useImmediateInput();
27279
27292
  init_scroll_offset();
@@ -27328,21 +27341,21 @@ function RationaleLine({ line, active }) {
27328
27341
  return /* @__PURE__ */ jsx28(Box22, { children: /* @__PURE__ */ jsx28(Text24, { children: " " }) });
27329
27342
  }
27330
27343
  if (line.kind === "heading") {
27331
- return /* @__PURE__ */ jsx28(Box22, { children: /* @__PURE__ */ jsx28(Text24, { bold: true, color: active ? PALETTE3.info : PALETTE3.muted, children: line.text }) });
27344
+ return /* @__PURE__ */ jsx28(Box22, { children: /* @__PURE__ */ jsx28(Text24, { bold: true, color: active ? PALETTE.accent : PALETTE.muted, children: line.text }) });
27332
27345
  }
27333
27346
  if (line.kind === "label") {
27334
27347
  return /* @__PURE__ */ jsxs23(Box22, { children: [
27335
27348
  line.prefix && /* @__PURE__ */ jsx28(Text24, { children: line.prefix }),
27336
- /* @__PURE__ */ jsx28(Text24, { bold: true, color: active ? line.color : PALETTE3.muted, children: line.text }),
27337
- line.suffix && /* @__PURE__ */ jsx28(Text24, { color: PALETTE3.muted, children: line.suffix })
27349
+ /* @__PURE__ */ jsx28(Text24, { bold: true, color: active ? line.color : PALETTE.muted, children: line.text }),
27350
+ line.suffix && /* @__PURE__ */ jsx28(Text24, { color: PALETTE.muted, children: line.suffix })
27338
27351
  ] });
27339
27352
  }
27340
- return /* @__PURE__ */ jsx28(Box22, { children: /* @__PURE__ */ jsx28(Text24, { color: !active || line.dim ? PALETTE3.muted : void 0, children: line.text }) });
27353
+ return /* @__PURE__ */ jsx28(Box22, { children: /* @__PURE__ */ jsx28(Text24, { color: !active || line.dim ? PALETTE.muted : void 0, children: line.text }) });
27341
27354
  }
27342
27355
  var init_RationaleLine = __esm({
27343
27356
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/RationaleLine.tsx"() {
27344
27357
  "use strict";
27345
- init_theme3();
27358
+ init_theme();
27346
27359
  }
27347
27360
  });
27348
27361
 
@@ -27422,9 +27435,9 @@ function ComponentRationalePanel({
27422
27435
  width,
27423
27436
  height: height + 2,
27424
27437
  borderStyle: "single",
27425
- borderColor: active ? PALETTE3.inverse : void 0,
27438
+ borderColor: active ? PALETTE.text : void 0,
27426
27439
  children: [
27427
- /* @__PURE__ */ jsx29(Box23, { children: /* @__PURE__ */ jsx29(Text25, { bold: true, color: active ? void 0 : PALETTE3.muted, children: `Component rationale: ${data.name}` }) }),
27440
+ /* @__PURE__ */ jsx29(Box23, { children: /* @__PURE__ */ jsx29(Text25, { bold: true, color: active ? void 0 : PALETTE.muted, children: `Component rationale: ${data.name}` }) }),
27428
27441
  visible.map((line, i) => /* @__PURE__ */ jsx29(RationaleLine, { line, active }, i)),
27429
27442
  /* @__PURE__ */ jsx29(Box23, { children: overflowed ? /* @__PURE__ */ jsx29(Text25, { children: `${visibleStart}-${visibleEnd}/${totalLines} [\u2191\u2193] scroll [I/Esc] close` }) : /* @__PURE__ */ jsx29(Text25, { children: "[I/Esc] close" }) })
27430
27443
  ]
@@ -27435,7 +27448,7 @@ var PLACEHOLDER;
27435
27448
  var init_ComponentRationalePanel = __esm({
27436
27449
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/ComponentRationalePanel.tsx"() {
27437
27450
  "use strict";
27438
- init_theme3();
27451
+ init_theme();
27439
27452
  init_wrap_text();
27440
27453
  init_RationaleLine();
27441
27454
  PLACEHOLDER = "(no rationale captured)";
@@ -27446,12 +27459,12 @@ var init_ComponentRationalePanel = __esm({
27446
27459
  import { Text as Text26 } from "ink";
27447
27460
  import { Fragment as Fragment6, jsx as jsx30 } from "react/jsx-runtime";
27448
27461
  function HighlightedLine({ parts }) {
27449
- return /* @__PURE__ */ jsx30(Fragment6, { children: parts.map((part, i) => /* @__PURE__ */ jsx30(Text26, { color: part.dim ? PALETTE3.muted : part.color, children: part.text }, i)) });
27462
+ return /* @__PURE__ */ jsx30(Fragment6, { children: parts.map((part, i) => /* @__PURE__ */ jsx30(Text26, { color: part.dim ? PALETTE.muted : part.color, children: part.text }, i)) });
27450
27463
  }
27451
27464
  var init_HighlightedLine = __esm({
27452
27465
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/HighlightedLine.tsx"() {
27453
27466
  "use strict";
27454
- init_theme3();
27467
+ init_theme();
27455
27468
  }
27456
27469
  });
27457
27470
 
@@ -27472,10 +27485,10 @@ function ScrollablePanel({
27472
27485
  const overflowed = totalLines > height;
27473
27486
  return /* @__PURE__ */ jsxs25(Box24, { flexDirection: "column", width, height: height + 2, borderStyle: "single", borderColor, children: [
27474
27487
  /* @__PURE__ */ jsxs25(Box24, { children: [
27475
- /* @__PURE__ */ jsx31(Text27, { bold: true, color: active ? void 0 : PALETTE3.muted, children: title }),
27488
+ /* @__PURE__ */ jsx31(Text27, { bold: true, color: active ? void 0 : PALETTE.muted, children: title }),
27476
27489
  overflowed && /* @__PURE__ */ jsxs25(Fragment7, { children: [
27477
27490
  /* @__PURE__ */ jsx31(Box24, { flexGrow: 1 }),
27478
- /* @__PURE__ */ jsx31(Text27, { color: active ? void 0 : PALETTE3.muted, children: `\u2195 ${visibleStart}-${visibleEnd}/${totalLines}` })
27491
+ /* @__PURE__ */ jsx31(Text27, { color: active ? void 0 : PALETTE.muted, children: `\u2195 ${visibleStart}-${visibleEnd}/${totalLines}` })
27479
27492
  ] })
27480
27493
  ] }),
27481
27494
  children
@@ -27484,7 +27497,7 @@ function ScrollablePanel({
27484
27497
  var init_ScrollablePanel = __esm({
27485
27498
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/ScrollablePanel.tsx"() {
27486
27499
  "use strict";
27487
- init_theme3();
27500
+ init_theme();
27488
27501
  }
27489
27502
  });
27490
27503
 
@@ -27575,7 +27588,7 @@ function renderRationaleLines(rows, innerWidth) {
27575
27588
  out.push({
27576
27589
  kind: "label",
27577
27590
  text: row.name,
27578
- color: PALETTE3.info,
27591
+ color: PALETTE.accent,
27579
27592
  suffix: row.kind === "slot" ? " (slot)" : void 0
27580
27593
  });
27581
27594
  for (const line of wrapText(row.rationale, innerWidth)) {
@@ -27611,7 +27624,7 @@ function RationalePanel({
27611
27624
  totalLines,
27612
27625
  visibleStart,
27613
27626
  visibleEnd,
27614
- borderColor: active ? PALETTE3.inverse : void 0,
27627
+ borderColor: active ? PALETTE.text : void 0,
27615
27628
  children: visible.map((line, i) => /* @__PURE__ */ jsx33(RationaleLine, { line, active }, i))
27616
27629
  }
27617
27630
  );
@@ -27619,7 +27632,7 @@ function RationalePanel({
27619
27632
  var init_RationalePanel = __esm({
27620
27633
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/RationalePanel.tsx"() {
27621
27634
  "use strict";
27622
- init_theme3();
27635
+ init_theme();
27623
27636
  init_wrap_text();
27624
27637
  init_RationaleLine();
27625
27638
  init_ScrollablePanel();
@@ -27655,21 +27668,29 @@ function TokenReviewPanel({
27655
27668
  width,
27656
27669
  height: height + 2,
27657
27670
  borderStyle: "single",
27658
- borderColor: active ? PALETTE3.inverse : void 0,
27671
+ borderColor: active ? PALETTE.text : void 0,
27659
27672
  children: [
27660
- /* @__PURE__ */ jsx34(Text28, { bold: true, color: active ? void 0 : PALETTE3.muted, wrap: "truncate", children: `TOKEN REVIEW \u2014 ${componentName} \xB7 ${current.propName} (edit allowed)` }),
27661
- /* @__PURE__ */ jsx34(Text28, { color: PALETTE3.muted, wrap: "truncate", children: `select which tokens are allowed (${rangeLabel})` }),
27673
+ /* @__PURE__ */ jsx34(Text28, { bold: true, color: active ? void 0 : PALETTE.muted, wrap: "truncate", children: `TOKEN REVIEW \u2014 ${componentName} \xB7 ${current.propName} (edit allowed)` }),
27674
+ /* @__PURE__ */ jsx34(Text28, { color: PALETTE.muted, wrap: "truncate", children: `select which tokens are allowed (${rangeLabel})` }),
27662
27675
  /* @__PURE__ */ jsx34(Text28, { children: " " }),
27663
- current.paths.length === 0 && /* @__PURE__ */ jsx34(Text28, { color: PALETTE3.muted, children: "(no compatible tokens found for this token kind)" }),
27676
+ current.paths.length === 0 && /* @__PURE__ */ jsx34(Text28, { color: PALETTE.muted, children: "(no compatible tokens found for this token kind)" }),
27664
27677
  visiblePaths.map((path5, i) => {
27665
27678
  const pathIndex = scrollStart + i;
27666
27679
  const checked = editSelection.has(path5);
27667
27680
  const focused = pathIndex === editCursor;
27668
- return /* @__PURE__ */ jsx34(Box26, { children: /* @__PURE__ */ jsx34(Text28, { color: focused ? PALETTE3.info : active ? void 0 : PALETTE3.muted, bold: focused, wrap: "truncate", children: ` [${checked ? "x" : " "}] ${path5}` }) }, path5);
27681
+ return /* @__PURE__ */ jsx34(Box26, { children: /* @__PURE__ */ jsx34(
27682
+ Text28,
27683
+ {
27684
+ color: focused ? PALETTE.accent : active ? void 0 : PALETTE.muted,
27685
+ bold: focused,
27686
+ wrap: "truncate",
27687
+ children: ` [${checked ? "x" : " "}] ${path5}`
27688
+ }
27689
+ ) }, path5);
27669
27690
  }),
27670
27691
  /* @__PURE__ */ jsx34(Text28, { children: " " }),
27671
- /* @__PURE__ */ jsx34(Text28, { color: PALETTE3.muted, wrap: "truncate", children: "[\u2191/\u2193] move [Space] toggle" }),
27672
- /* @__PURE__ */ jsx34(Text28, { color: PALETTE3.muted, wrap: "truncate", children: "[Ctrl+S] save [Esc] cancel" })
27692
+ /* @__PURE__ */ jsx34(Text28, { color: PALETTE.muted, wrap: "truncate", children: "[\u2191/\u2193] move [Space] toggle" }),
27693
+ /* @__PURE__ */ jsx34(Text28, { color: PALETTE.muted, wrap: "truncate", children: "[Ctrl+S] save [Esc] cancel" })
27673
27694
  ]
27674
27695
  }
27675
27696
  );
@@ -27681,16 +27702,16 @@ function TokenReviewPanel({
27681
27702
  width,
27682
27703
  height: height + 2,
27683
27704
  borderStyle: "single",
27684
- borderColor: active ? PALETTE3.inverse : void 0,
27705
+ borderColor: active ? PALETTE.text : void 0,
27685
27706
  children: [
27686
- /* @__PURE__ */ jsx34(Text28, { bold: true, color: active ? void 0 : PALETTE3.muted, children: `TOKEN REVIEW \u2014 ${componentName}` }),
27687
- suggestions.length === 0 && /* @__PURE__ */ jsx34(Text28, { color: PALETTE3.muted, children: "(no token suggestions for this component)" }),
27707
+ /* @__PURE__ */ jsx34(Text28, { bold: true, color: active ? void 0 : PALETTE.muted, children: `TOKEN REVIEW \u2014 ${componentName}` }),
27708
+ suggestions.length === 0 && /* @__PURE__ */ jsx34(Text28, { color: PALETTE.muted, children: "(no token suggestions for this component)" }),
27688
27709
  suggestions.map((s, i) => {
27689
27710
  const focused = i === selectedRow;
27690
27711
  return /* @__PURE__ */ jsxs26(Box26, { flexDirection: "column", children: [
27691
- /* @__PURE__ */ jsx34(Box26, { children: /* @__PURE__ */ jsx34(Text28, { color: focused ? PALETTE3.info : active ? void 0 : PALETTE3.muted, bold: focused, children: `${focused ? figures6.pointer : " "} ${s.propName}` }) }),
27692
- /* @__PURE__ */ jsx34(Text28, { color: PALETTE3.muted, children: ` suggested: ${s.suggested.join(", ")}` }),
27693
- /* @__PURE__ */ jsx34(Text28, { color: PALETTE3.muted, children: ` allowed: ${s.allowed.join(", ")}` })
27712
+ /* @__PURE__ */ jsx34(Box26, { children: /* @__PURE__ */ jsx34(Text28, { color: focused ? PALETTE.accent : active ? void 0 : PALETTE.muted, bold: focused, children: `${focused ? figures6.pointer : " "} ${s.propName}` }) }),
27713
+ /* @__PURE__ */ jsx34(Text28, { color: PALETTE.muted, children: ` suggested: ${s.suggested.join(", ")}` }),
27714
+ /* @__PURE__ */ jsx34(Text28, { color: PALETTE.muted, children: ` allowed: ${s.allowed.join(", ")}` })
27694
27715
  ] }, s.propName);
27695
27716
  }),
27696
27717
  /* @__PURE__ */ jsx34(Text28, { children: " " }),
@@ -27702,7 +27723,7 @@ function TokenReviewPanel({
27702
27723
  var init_TokenReviewPanel = __esm({
27703
27724
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/TokenReviewPanel.tsx"() {
27704
27725
  "use strict";
27705
- init_theme3();
27726
+ init_theme();
27706
27727
  }
27707
27728
  });
27708
27729
 
@@ -27782,9 +27803,9 @@ function ReviewDetailsPanel({
27782
27803
  const sourceLineCount = Math.max(1, height - 4);
27783
27804
  const lines = source ? source.split("\n").slice(panelScrollOffset, panelScrollOffset + sourceLineCount) : [];
27784
27805
  return /* @__PURE__ */ jsxs27(FixedPanel, { width, height, borderStyle: "single", borderColor: sourceBorderColor, paddingLeft: 1, children: [
27785
- /* @__PURE__ */ jsx35(Text29, { color: PALETTE3.muted, bold: true, wrap: "truncate-end", children: `source: ${headerPath}` }),
27786
- source ? lines.map((line, index) => /* @__PURE__ */ jsx35(Text29, { color: PALETTE3.muted, wrap: "truncate-end", children: line }, `source-line-${index}`)) : /* @__PURE__ */ jsx35(Text29, { color: PALETTE3.muted, children: "(no source captured)" }),
27787
- /* @__PURE__ */ jsx35(Text29, { color: PALETTE3.muted, wrap: "truncate-end", children: "[s/Esc] close" })
27806
+ /* @__PURE__ */ jsx35(Text29, { color: PALETTE.muted, bold: true, wrap: "truncate-end", children: `source: ${headerPath}` }),
27807
+ source ? lines.map((line, index) => /* @__PURE__ */ jsx35(Text29, { color: PALETTE.muted, wrap: "truncate-end", children: line }, `source-line-${index}`)) : /* @__PURE__ */ jsx35(Text29, { color: PALETTE.muted, children: "(no source captured)" }),
27808
+ /* @__PURE__ */ jsx35(Text29, { color: PALETTE.muted, wrap: "truncate-end", children: "[s/Esc] close" })
27788
27809
  ] });
27789
27810
  }
27790
27811
  if (panelOpen === "token-review") {
@@ -27826,7 +27847,7 @@ var init_review_details_panel = __esm({
27826
27847
  init_RationalePanel();
27827
27848
  init_TokenReviewPanel();
27828
27849
  init_windowed_panel();
27829
- init_theme3();
27850
+ init_theme();
27830
27851
  }
27831
27852
  });
27832
27853
 
@@ -27953,17 +27974,17 @@ function ReviewEmptyComponentsWarning({
27953
27974
  hidden
27954
27975
  }) {
27955
27976
  if (hidden || count === 0) return null;
27956
- return /* @__PURE__ */ jsx37(Text30, { color: PALETTE3.warning, children: `\u26A0 ${count} component${count === 1 ? "" : "s"} had no classifiable props \u2014 review with care` });
27977
+ return /* @__PURE__ */ jsx37(Text30, { color: PALETTE.warning, children: `\u26A0 ${count} component${count === 1 ? "" : "s"} had no classifiable props \u2014 review with care` });
27957
27978
  }
27958
27979
  function ReviewNoSelection() {
27959
- return /* @__PURE__ */ jsx37(Box27, { flexGrow: 1, paddingLeft: 1, flexDirection: "column", children: /* @__PURE__ */ jsx37(Text30, { color: PALETTE3.muted, children: "No component selected" }) });
27980
+ return /* @__PURE__ */ jsx37(Box27, { flexGrow: 1, paddingLeft: 1, flexDirection: "column", children: /* @__PURE__ */ jsx37(Text30, { color: PALETTE.muted, children: "No component selected" }) });
27960
27981
  }
27961
27982
  function ReviewFinalizeError({
27962
27983
  message,
27963
27984
  hidden
27964
27985
  }) {
27965
27986
  if (hidden || !message) return null;
27966
- return /* @__PURE__ */ jsx37(Text30, { color: PALETTE3.error, children: `\u26A0 ${message}` });
27987
+ return /* @__PURE__ */ jsx37(Text30, { color: PALETTE.error, children: `\u26A0 ${message}` });
27967
27988
  }
27968
27989
  function ReviewPanelFooter({
27969
27990
  reviewEditor,
@@ -27987,7 +28008,7 @@ function ReviewComponentTitle({
27987
28008
  return /* @__PURE__ */ jsxs28(Box27, { paddingLeft: 2, paddingBottom: 1, children: [
27988
28009
  /* @__PURE__ */ jsx37(Text30, { bold: true, wrap: "truncate-end", children: selectedKey }),
27989
28010
  /* @__PURE__ */ jsx37(Box27, { flexGrow: 1 }),
27990
- /* @__PURE__ */ jsxs28(Text30, { color: PALETTE3.muted, wrap: "truncate-end", children: [
28011
+ /* @__PURE__ */ jsxs28(Text30, { color: PALETTE.muted, wrap: "truncate-end", children: [
27991
28012
  propCount,
27992
28013
  " prop",
27993
28014
  propCount !== 1 ? "s" : "",
@@ -28043,8 +28064,8 @@ function ReviewComponentPanel({
28043
28064
  )
28044
28065
  }
28045
28066
  ) }),
28046
- /* @__PURE__ */ jsx37(Box27, { width: contentWidth, height: 1, flexShrink: 0, children: /* @__PURE__ */ jsx37(Text30, { color: saveError ? PALETTE3.error : void 0, wrap: "truncate-end", children: saveError ? "\u2717 " + saveError : " " }) }),
28047
- /* @__PURE__ */ jsx37(Box27, { width: contentWidth, height: 1, flexShrink: 0, children: /* @__PURE__ */ jsx37(Text30, { color: PALETTE3.muted, wrap: "truncate-end", children: /* @__PURE__ */ jsx37(
28067
+ /* @__PURE__ */ jsx37(Box27, { width: contentWidth, height: 1, flexShrink: 0, children: /* @__PURE__ */ jsx37(Text30, { color: saveError ? PALETTE.error : void 0, wrap: "truncate-end", children: saveError ? "\u2717 " + saveError : " " }) }),
28068
+ /* @__PURE__ */ jsx37(Box27, { width: contentWidth, height: 1, flexShrink: 0, children: /* @__PURE__ */ jsx37(Text30, { color: PALETTE.muted, wrap: "truncate-end", children: /* @__PURE__ */ jsx37(
28048
28069
  ReviewPanelFooter,
28049
28070
  {
28050
28071
  reviewEditor,
@@ -28059,7 +28080,7 @@ function ReviewComponentPanel({
28059
28080
  var init_ReviewComponentPanel = __esm({
28060
28081
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/ReviewComponentPanel.tsx"() {
28061
28082
  "use strict";
28062
- init_theme3();
28083
+ init_theme();
28063
28084
  init_review_json_panel();
28064
28085
  init_ReviewDetailsEditor();
28065
28086
  init_windowed_panel();
@@ -28081,11 +28102,11 @@ function countReviewStatuses(entries) {
28081
28102
  );
28082
28103
  }
28083
28104
  function ReviewLoadingState() {
28084
- return /* @__PURE__ */ jsx38(Box28, { paddingX: 2, paddingY: 1, children: /* @__PURE__ */ jsx38(Text31, { color: PALETTE3.muted, children: "Loading generated definitions..." }) });
28105
+ return /* @__PURE__ */ jsx38(Box28, { paddingX: 2, paddingY: 1, children: /* @__PURE__ */ jsx38(Text31, { color: PALETTE.muted, children: "Loading generated definitions..." }) });
28085
28106
  }
28086
28107
  function ReviewLoadError({ message }) {
28087
28108
  return /* @__PURE__ */ jsxs29(Box28, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
28088
- /* @__PURE__ */ jsx38(Text31, { color: PALETTE3.error, children: message }),
28109
+ /* @__PURE__ */ jsx38(Text31, { color: PALETTE.error, children: message }),
28089
28110
  /* @__PURE__ */ jsx38(Text31, { children: " " }),
28090
28111
  /* @__PURE__ */ jsx38(Text31, { children: "[q / Enter / Esc] Quit" })
28091
28112
  ] });
@@ -28093,7 +28114,7 @@ function ReviewLoadError({ message }) {
28093
28114
  var init_ReviewStatus = __esm({
28094
28115
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/ReviewStatus.tsx"() {
28095
28116
  "use strict";
28096
- init_theme3();
28117
+ init_theme();
28097
28118
  }
28098
28119
  });
28099
28120
 
@@ -28343,41 +28364,41 @@ function FinalizeDialog({
28343
28364
  /* @__PURE__ */ jsx39(Text32, { bold: true, children: "\u2500".repeat(22) + " Finalize " + "\u2500".repeat(22) }),
28344
28365
  /* @__PURE__ */ jsx39(Text32, { children: " " }),
28345
28366
  /* @__PURE__ */ jsxs30(Text32, { children: [
28346
- /* @__PURE__ */ jsxs30(Text32, { color: PALETTE3.success, children: [
28367
+ /* @__PURE__ */ jsxs30(Text32, { color: PALETTE.success, children: [
28347
28368
  accepted,
28348
28369
  " accepted"
28349
28370
  ] }),
28350
28371
  /* @__PURE__ */ jsx39(Text32, { children: " \xB7 " }),
28351
- /* @__PURE__ */ jsxs30(Text32, { color: PALETTE3.error, children: [
28372
+ /* @__PURE__ */ jsxs30(Text32, { color: PALETTE.error, children: [
28352
28373
  rejected,
28353
28374
  " rejected"
28354
28375
  ] }),
28355
28376
  /* @__PURE__ */ jsx39(Text32, { children: " \xB7 " }),
28356
- /* @__PURE__ */ jsxs30(Text32, { color: PALETTE3.muted, children: [
28377
+ /* @__PURE__ */ jsxs30(Text32, { color: PALETTE.muted, children: [
28357
28378
  needsReview,
28358
28379
  " unresolved"
28359
28380
  ] })
28360
28381
  ] }),
28361
28382
  /* @__PURE__ */ jsx39(Text32, { children: " " }),
28362
28383
  noneAccepted && /* @__PURE__ */ jsxs30(Fragment10, { children: [
28363
- /* @__PURE__ */ jsx39(Text32, { bold: true, color: PALETTE3.warning, children: "\u26A0 No components are accepted \u2014 nothing will be pushed." }),
28364
- /* @__PURE__ */ jsx39(Text32, { color: PALETTE3.warning, children: "Accept at least one component ([a] a row, [A] accept all) to push." }),
28384
+ /* @__PURE__ */ jsx39(Text32, { bold: true, color: PALETTE.warning, children: "\u26A0 No components are accepted \u2014 nothing will be pushed." }),
28385
+ /* @__PURE__ */ jsx39(Text32, { color: PALETTE.warning, children: "Accept at least one component ([a] a row, [A] accept all) to push." }),
28365
28386
  /* @__PURE__ */ jsx39(Text32, { children: " " })
28366
28387
  ] }),
28367
28388
  !allResolved && /* @__PURE__ */ jsxs30(Fragment10, { children: [
28368
- /* @__PURE__ */ jsx39(Text32, { color: PALETTE3.warning, children: "\u26A0 " + needsReview + " unresolved component" + (needsReview === 1 ? "" : "s") + " will not be pushed." }),
28369
- /* @__PURE__ */ jsx39(Text32, { color: PALETTE3.warning, children: "Only explicitly accepted components ship." }),
28389
+ /* @__PURE__ */ jsx39(Text32, { color: PALETTE.warning, children: "\u26A0 " + needsReview + " unresolved component" + (needsReview === 1 ? "" : "s") + " will not be pushed." }),
28390
+ /* @__PURE__ */ jsx39(Text32, { color: PALETTE.warning, children: "Only explicitly accepted components ship." }),
28370
28391
  /* @__PURE__ */ jsx39(Text32, { children: " " })
28371
28392
  ] }),
28372
28393
  /* @__PURE__ */ jsxs30(Box29, { flexDirection: "column", height: 2, children: [
28373
- previewStatus === "running" ? /* @__PURE__ */ jsx39(Text32, { color: PALETTE3.muted, children: "Previewing deletions against the target space\u2026" }) : previewStatus === "error" ? /* @__PURE__ */ jsx39(Text32, { color: PALETTE3.warning, children: "\u26A0 Could not preview deletions (the push will still proceed)." }) : /* @__PURE__ */ jsx39(Text32, { children: " " }),
28394
+ previewStatus === "running" ? /* @__PURE__ */ jsx39(Text32, { color: PALETTE.muted, children: "Previewing deletions against the target space\u2026" }) : previewStatus === "error" ? /* @__PURE__ */ jsx39(Text32, { color: PALETTE.warning, children: "\u26A0 Could not preview deletions (the push will still proceed)." }) : /* @__PURE__ */ jsx39(Text32, { children: " " }),
28374
28395
  /* @__PURE__ */ jsx39(Text32, { children: " " })
28375
28396
  ] }),
28376
28397
  previewStatus === "done" && removed.length > 0 && /* @__PURE__ */ jsxs30(Fragment10, { children: [
28377
- /* @__PURE__ */ jsx39(Text32, { bold: true, color: PALETTE3.error, children: removedComponentsHeader(removed.length, false) }),
28378
- hasMoreAbove && /* @__PURE__ */ jsx39(Text32, { color: PALETTE3.muted, children: "\u2191 more above" }),
28379
- windowed.map((rc) => /* @__PURE__ */ jsx39(Text32, { color: PALETTE3.error, children: removedComponentLine(rc) }, rc.id)),
28380
- hasMoreBelow && /* @__PURE__ */ jsx39(Text32, { color: PALETTE3.muted, children: "\u2193 more below" }),
28398
+ /* @__PURE__ */ jsx39(Text32, { bold: true, color: PALETTE.error, children: removedComponentsHeader(removed.length, false) }),
28399
+ hasMoreAbove && /* @__PURE__ */ jsx39(Text32, { color: PALETTE.muted, children: "\u2191 more above" }),
28400
+ windowed.map((rc) => /* @__PURE__ */ jsx39(Text32, { color: PALETTE.error, children: removedComponentLine(rc) }, rc.id)),
28401
+ hasMoreBelow && /* @__PURE__ */ jsx39(Text32, { color: PALETTE.muted, children: "\u2193 more below" }),
28381
28402
  removed.length > FINALIZE_REMOVED_WINDOW && /* @__PURE__ */ jsx39(Text32, { children: "[\u2191\u2193] scroll deletions" }),
28382
28403
  /* @__PURE__ */ jsx39(Text32, { children: " " })
28383
28404
  ] }),
@@ -28390,7 +28411,7 @@ var FINALIZE_REMOVED_WINDOW;
28390
28411
  var init_FinalizeDialog = __esm({
28391
28412
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/FinalizeDialog.tsx"() {
28392
28413
  "use strict";
28393
- init_theme3();
28414
+ init_theme();
28394
28415
  init_useImmediateInput();
28395
28416
  init_removed_components_text();
28396
28417
  FINALIZE_REMOVED_WINDOW = 6;
@@ -28918,8 +28939,8 @@ function ReviewStepDialogs({
28918
28939
  }
28919
28940
  function ReviewReloadDialog({ open }) {
28920
28941
  if (!open) return null;
28921
- return /* @__PURE__ */ jsxs32(Box31, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE3.warning, paddingX: 1, children: [
28922
- /* @__PURE__ */ jsx41(Text34, { bold: true, color: PALETTE3.warning, children: "Reload from saved state?" }),
28942
+ return /* @__PURE__ */ jsxs32(Box31, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE.warning, paddingX: 1, children: [
28943
+ /* @__PURE__ */ jsx41(Text34, { bold: true, color: PALETTE.warning, children: "Reload from saved state?" }),
28923
28944
  /* @__PURE__ */ jsx41(Text34, { children: "Unsaved in-memory changes will be lost." }),
28924
28945
  /* @__PURE__ */ jsx41(Text34, { children: " " }),
28925
28946
  /* @__PURE__ */ jsx41(Text34, { children: " [Enter] Confirm" }),
@@ -28929,7 +28950,7 @@ function ReviewReloadDialog({ open }) {
28929
28950
  var init_ReviewDialogs = __esm({
28930
28951
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/ReviewDialogs.tsx"() {
28931
28952
  "use strict";
28932
- init_theme3();
28953
+ init_theme();
28933
28954
  init_FinalizeDialog();
28934
28955
  init_QuitDialog();
28935
28956
  init_ReviewStatus();
@@ -29340,25 +29361,25 @@ function LivePreviewSummary({
29340
29361
  const counts = { new: 0, changed: 0, removed: 0, breaking: 0 };
29341
29362
  for (const annotation of previewAnnotations.values()) counts[annotation] += 1;
29342
29363
  const hasCounts = counts.new + counts.changed + counts.removed + counts.breaking > 0;
29343
- if (disabled) return /* @__PURE__ */ jsx42(Text35, { color: PALETTE3.muted, children: "Preview: disabled (creds rejected)" });
29344
- if (status === "running" && !hasCounts) return /* @__PURE__ */ jsx42(Text35, { color: PALETTE3.muted, children: `Preview: ${spinner} running...` });
29364
+ if (disabled) return /* @__PURE__ */ jsx42(Text35, { color: PALETTE.muted, children: "Preview: disabled (creds rejected)" });
29365
+ if (status === "running" && !hasCounts) return /* @__PURE__ */ jsx42(Text35, { color: PALETTE.muted, children: `Preview: ${spinner} running...` });
29345
29366
  if (!hasCounts) return null;
29346
29367
  return /* @__PURE__ */ jsxs33(Box32, { children: [
29347
29368
  /* @__PURE__ */ jsx42(Text35, { children: "Preview: " }),
29348
- /* @__PURE__ */ jsx42(Text35, { color: PALETTE3.success, children: `${counts.new} new` }),
29369
+ /* @__PURE__ */ jsx42(Text35, { color: PALETTE.success, children: `${counts.new} new` }),
29349
29370
  /* @__PURE__ */ jsx42(Text35, { children: " \xB7 " }),
29350
- /* @__PURE__ */ jsx42(Text35, { color: PALETTE3.warning, children: `${counts.changed} changed` }),
29371
+ /* @__PURE__ */ jsx42(Text35, { color: PALETTE.warning, children: `${counts.changed} changed` }),
29351
29372
  /* @__PURE__ */ jsx42(Text35, { children: " \xB7 " }),
29352
- /* @__PURE__ */ jsx42(Text35, { color: PALETTE3.muted, children: `${counts.removed} removed` }),
29373
+ /* @__PURE__ */ jsx42(Text35, { color: PALETTE.muted, children: `${counts.removed} removed` }),
29353
29374
  showRemovedListHint && removedCount > 0 && /* @__PURE__ */ jsx42(Text35, { children: " ([d] removed list)" }),
29354
29375
  /* @__PURE__ */ jsx42(Text35, { children: " \xB7 " }),
29355
- /* @__PURE__ */ jsx42(Text35, { color: PALETTE3.error, bold: true, children: `${counts.breaking} breaking` })
29376
+ /* @__PURE__ */ jsx42(Text35, { color: PALETTE.error, bold: true, children: `${counts.breaking} breaking` })
29356
29377
  ] });
29357
29378
  }
29358
29379
  var init_LivePreviewSummary = __esm({
29359
29380
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/components/LivePreviewSummary.tsx"() {
29360
29381
  "use strict";
29361
- init_theme3();
29382
+ init_theme();
29362
29383
  }
29363
29384
  });
29364
29385
 
@@ -29407,10 +29428,10 @@ function CyclePathLine({
29407
29428
  highlightComponents = false,
29408
29429
  highlightLine = false
29409
29430
  }) {
29410
- return /* @__PURE__ */ jsxs34(Text36, { color: highlightLine ? PALETTE3.warning : void 0, children: [
29431
+ return /* @__PURE__ */ jsxs34(Text36, { color: highlightLine ? PALETTE.warning : void 0, children: [
29411
29432
  prefix,
29412
29433
  segments.map(
29413
- (segment, index) => segment.kind === "slot" ? /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.info, children: segment.text }, index) : segment.kind === "arrow" ? /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: segment.text }, index) : /* @__PURE__ */ jsx43(Text36, { color: highlightComponents ? PALETTE3.warning : void 0, children: segment.text }, index)
29434
+ (segment, index) => segment.kind === "slot" ? /* @__PURE__ */ jsx43(Text36, { color: PALETTE.accent, children: segment.text }, index) : segment.kind === "arrow" ? /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: segment.text }, index) : /* @__PURE__ */ jsx43(Text36, { color: highlightComponents ? PALETTE.warning : void 0, children: segment.text }, index)
29414
29435
  )
29415
29436
  ] });
29416
29437
  }
@@ -29422,9 +29443,9 @@ function CycleDetailPanel({
29422
29443
  height
29423
29444
  }) {
29424
29445
  const lines = [
29425
- /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE3.warning, children: `SLOT DEPENDENCY CYCLES (${cycles.length})` }, "cyc-title"),
29426
- /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: "push will fail until these are resolved" }, "cyc-sub"),
29427
- /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: "Reject a cycle member or remove a slot edge to break the cycle." }, "cyc-guidance"),
29446
+ /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE.warning, children: `SLOT DEPENDENCY CYCLES (${cycles.length})` }, "cyc-title"),
29447
+ /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: "push will fail until these are resolved" }, "cyc-sub"),
29448
+ /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: "Reject a cycle member or remove a slot edge to break the cycle." }, "cyc-guidance"),
29428
29449
  /* @__PURE__ */ jsx43(Text36, { children: " " }, "cyc-space")
29429
29450
  ];
29430
29451
  cycles.forEach((cycle, index) => {
@@ -29436,7 +29457,7 @@ function CycleDetailPanel({
29436
29457
  );
29437
29458
  if (cycle.suggestedBreak) {
29438
29459
  lines.push(
29439
- /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: ` Suggested fix: remove [${cycle.suggestedBreak.slotName}] from ${cycle.suggestedBreak.fromComponent}` }, `cyc-fix-${index}`)
29460
+ /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: ` Suggested fix: remove [${cycle.suggestedBreak.slotName}] from ${cycle.suggestedBreak.fromComponent}` }, `cyc-fix-${index}`)
29440
29461
  );
29441
29462
  }
29442
29463
  lines.push(/* @__PURE__ */ jsx43(Text36, { children: " " }, `cyc-s-${index}`));
@@ -29444,9 +29465,9 @@ function CycleDetailPanel({
29444
29465
  const footer = "[\u2191\u2193] move [Enter] fix cycle [c/q/Esc] close";
29445
29466
  const viewportHeight = Math.max(1, height - 3);
29446
29467
  const visible = lines.slice(scrollOffset, scrollOffset + viewportHeight - 1);
29447
- return /* @__PURE__ */ jsxs34(FixedPanel, { width, height, borderStyle: "round", borderColor: PALETTE3.warning, paddingLeft: 1, children: [
29468
+ return /* @__PURE__ */ jsxs34(FixedPanel, { width, height, borderStyle: "round", borderColor: PALETTE.warning, paddingLeft: 1, children: [
29448
29469
  visible,
29449
- /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: footer })
29470
+ /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: footer })
29450
29471
  ] });
29451
29472
  }
29452
29473
  function BreakCyclePanel({
@@ -29457,14 +29478,14 @@ function BreakCyclePanel({
29457
29478
  width,
29458
29479
  height
29459
29480
  }) {
29460
- return /* @__PURE__ */ jsxs34(FixedPanel, { width, height, borderStyle: "round", borderColor: PALETTE3.warning, paddingLeft: 1, children: [
29461
- /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE3.warning, children: "BREAK CYCLE \u2014 remove a slot edge" }),
29481
+ return /* @__PURE__ */ jsxs34(FixedPanel, { width, height, borderStyle: "round", borderColor: PALETTE.warning, paddingLeft: 1, children: [
29482
+ /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE.warning, children: "BREAK CYCLE \u2014 remove a slot edge" }),
29462
29483
  cycle && /* @__PURE__ */ jsx43(CyclePathLine, { segments: formatCyclePathSegments2(cycle), prefix: " ", highlightComponents: true }),
29463
- /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: cycle ? "Deleting an edge removes it from $allowedComponents (undo with Ctrl+Z)." : "No cycle highlighted." }),
29484
+ /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: cycle ? "Deleting an edge removes it from $allowedComponents (undo with Ctrl+Z)." : "No cycle highlighted." }),
29464
29485
  /* @__PURE__ */ jsx43(Text36, { children: " " }),
29465
- edges.length > 0 && /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: "remove slot edge:" }),
29486
+ edges.length > 0 && /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: "remove slot edge:" }),
29466
29487
  edges.map((edge, index) => /* @__PURE__ */ jsx43(Text36, { inverse: index === cursor, children: `${index === cursor ? figures7.pointer : " "} remove '${edge.toComponent}' from ${edge.fromComponent}.$slots.${edge.slotName}.$allowedComponents` }, `${edge.fromComponent}-${edge.slotName}-${edge.toComponent}`)),
29467
- confirming ? /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE3.warning, children: "Delete this slot edge? [y] confirm [n] cancel" }) : /* @__PURE__ */ jsx43(Text36, { children: "[\u2191\u2193] move [Enter] delete [x/Esc] close" })
29488
+ confirming ? /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE.warning, children: "Delete this slot edge? [y] confirm [n] cancel" }) : /* @__PURE__ */ jsx43(Text36, { children: "[\u2191\u2193] move [Enter] delete [x/Esc] close" })
29468
29489
  ] });
29469
29490
  }
29470
29491
  function buildBreakingRows(breakingChanges) {
@@ -29510,7 +29531,7 @@ function deriveBreakingChanges(response) {
29510
29531
  }
29511
29532
  function GenerateReviewStep(props) {
29512
29533
  if (!props.extractSessionId) {
29513
- return /* @__PURE__ */ jsx43(Box33, { paddingX: 2, paddingY: 1, children: /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.error, children: "Error: no session ID \u2014 cannot load generated definitions." }) });
29534
+ return /* @__PURE__ */ jsx43(Box33, { paddingX: 2, paddingY: 1, children: /* @__PURE__ */ jsx43(Text36, { color: PALETTE.error, children: "Error: no session ID \u2014 cannot load generated definitions." }) });
29514
29535
  }
29515
29536
  return /* @__PURE__ */ jsx43(GenerateReviewStepView, { ...props, extractSessionId: props.extractSessionId });
29516
29537
  }
@@ -30427,8 +30448,8 @@ function GenerateReviewStepView({
30427
30448
  }
30428
30449
  ),
30429
30450
  /* @__PURE__ */ jsx43(ReviewReloadDialog, { open: showReloadDialog && !dialogOpen }),
30430
- removedComponents.length > 0 && !dialogOpen && /* @__PURE__ */ jsxs34(Box33, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE3.error, paddingX: 1, children: [
30431
- /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE3.error, children: removedComponentsHeader(removedComponents.length, true) }),
30451
+ removedComponents.length > 0 && !dialogOpen && /* @__PURE__ */ jsxs34(Box33, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE.error, paddingX: 1, children: [
30452
+ /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE.error, children: removedComponentsHeader(removedComponents.length, true) }),
30432
30453
  !removedBannerCollapsed && /* @__PURE__ */ jsxs34(Fragment13, { children: [
30433
30454
  /* @__PURE__ */ jsx43(Text36, { children: " " }),
30434
30455
  removedComponents.map((rc) => /* @__PURE__ */ jsx43(Text36, { children: removedComponentLine(rc) }, rc.id))
@@ -30437,7 +30458,7 @@ function GenerateReviewStepView({
30437
30458
  breakingChanges.length > 0 && !dialogOpen && /* @__PURE__ */ jsx43(Box33, { paddingX: 1, children: /* @__PURE__ */ jsx43(
30438
30459
  Text36,
30439
30460
  {
30440
- color: PALETTE3.warning,
30461
+ color: PALETTE.warning,
30441
30462
  children: `[b] ${breakingChanges.length} breaking change${breakingChanges.length === 1 ? "" : "s"}`
30442
30463
  }
30443
30464
  ) }),
@@ -30445,10 +30466,10 @@ function GenerateReviewStepView({
30445
30466
  const row = breakingRows[breakingCursor];
30446
30467
  const comp = row ? breakingChanges.find((b) => b.componentName === row.componentName) : void 0;
30447
30468
  if (!comp) return null;
30448
- return /* @__PURE__ */ jsxs34(Box33, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE3.warning, paddingX: 1, children: [
30449
- /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE3.warning, children: `Breaking changes \u2014 ${comp.componentName}` }),
30450
- comp.impact && /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: ` affects ${comp.impact.affectedExperiences} experience${comp.impact.affectedExperiences === 1 ? "" : "s"}, ${comp.impact.affectedFragments} fragment${comp.impact.affectedFragments === 1 ? "" : "s"}` }),
30451
- comp.changes.length === 0 ? /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: " (no enumerated changes)" }) : comp.changes.map((change, ci) => /* @__PURE__ */ jsx43(Text36, { children: ` \u2022 ${formatBreakingChange(change, comp.current)}` }, `bd-detail-${ci}`)),
30469
+ return /* @__PURE__ */ jsxs34(Box33, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE.warning, paddingX: 1, children: [
30470
+ /* @__PURE__ */ jsx43(Text36, { bold: true, color: PALETTE.warning, children: `Breaking changes \u2014 ${comp.componentName}` }),
30471
+ comp.impact && /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: ` affects ${comp.impact.affectedExperiences} experience${comp.impact.affectedExperiences === 1 ? "" : "s"}, ${comp.impact.affectedFragments} fragment${comp.impact.affectedFragments === 1 ? "" : "s"}` }),
30472
+ comp.changes.length === 0 ? /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: " (no enumerated changes)" }) : comp.changes.map((change, ci) => /* @__PURE__ */ jsx43(Text36, { children: ` \u2022 ${formatBreakingChange(change, comp.current)}` }, `bd-detail-${ci}`)),
30452
30473
  /* @__PURE__ */ jsx43(Text36, { children: "[D/Esc] close detail" })
30453
30474
  ] });
30454
30475
  })(),
@@ -30471,11 +30492,11 @@ function GenerateReviewStepView({
30471
30492
  const participantSet = cycleView.structural;
30472
30493
  const members = stillRejected.filter((n) => participantSet.has(n)).sort();
30473
30494
  const ancestors = stillRejected.filter((n) => !participantSet.has(n)).sort();
30474
- return /* @__PURE__ */ jsxs34(Box33, { flexDirection: "column", borderStyle: "single", borderColor: PALETTE3.error, paddingX: 1, children: [
30475
- /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.error, bold: true, children: `Cyclic component graph \u2014 auto-rejected ${stillRejected.length} component${stillRejected.length === 1 ? "" : "s"}:` }),
30476
- members.length > 0 && /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.error, children: ` Cycle members: ${members.join(", ")}` }),
30477
- ancestors.length > 0 && /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.error, children: ` Ancestors: ${ancestors.join(", ")}` }),
30478
- /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.muted, children: undoSnapshot ? " [Ctrl+Z] undo \xB7 [r]/[a] manually toggle \xB7 [F] continue" : " [r]/[a] manually toggle \xB7 [F] continue" })
30495
+ return /* @__PURE__ */ jsxs34(Box33, { flexDirection: "column", borderStyle: "single", borderColor: PALETTE.error, paddingX: 1, children: [
30496
+ /* @__PURE__ */ jsx43(Text36, { color: PALETTE.error, bold: true, children: `Cyclic component graph \u2014 auto-rejected ${stillRejected.length} component${stillRejected.length === 1 ? "" : "s"}:` }),
30497
+ members.length > 0 && /* @__PURE__ */ jsx43(Text36, { color: PALETTE.error, children: ` Cycle members: ${members.join(", ")}` }),
30498
+ ancestors.length > 0 && /* @__PURE__ */ jsx43(Text36, { color: PALETTE.error, children: ` Ancestors: ${ancestors.join(", ")}` }),
30499
+ /* @__PURE__ */ jsx43(Text36, { color: PALETTE.muted, children: undoSnapshot ? " [Ctrl+Z] undo \xB7 [r]/[a] manually toggle \xB7 [F] continue" : " [r]/[a] manually toggle \xB7 [F] continue" })
30479
30500
  ] });
30480
30501
  })(),
30481
30502
  /* @__PURE__ */ jsx43(ReviewEmptyComponentsWarning, { count: emptyCount, hidden: dialogOpen }),
@@ -30591,7 +30612,7 @@ function GenerateReviewStepView({
30591
30612
  ) : /* @__PURE__ */ jsx43(ReviewNoSelection, {})
30592
30613
  ] }),
30593
30614
  !dialogOpen && cycleRows.length > 0 && !cyclePanel.isOpen && !breakPanel.isOpen && /* @__PURE__ */ jsxs34(Box33, { flexDirection: "column", children: [
30594
- /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.warning, children: `\u26A0 ${cycleRows.length} slot dependency cycle${cycleRows.length === 1 ? "" : "s"} detected \u2014 push will fail` }),
30615
+ /* @__PURE__ */ jsx43(Text36, { color: PALETTE.warning, children: `\u26A0 ${cycleRows.length} slot dependency cycle${cycleRows.length === 1 ? "" : "s"} detected \u2014 push will fail` }),
30595
30616
  cycleRows.slice(0, 3).map((cycle, idx) => {
30596
30617
  return /* @__PURE__ */ jsx43(
30597
30618
  CyclePathLine,
@@ -30604,7 +30625,7 @@ function GenerateReviewStepView({
30604
30625
  `cyc-banner-${idx}`
30605
30626
  );
30606
30627
  }),
30607
- cycleRows.length > 3 && /* @__PURE__ */ jsx43(Text36, { color: PALETTE3.warning, children: ` \u2026${cycleRows.length - 3} more` }),
30628
+ cycleRows.length > 3 && /* @__PURE__ */ jsx43(Text36, { color: PALETTE.warning, children: ` \u2026${cycleRows.length - 3} more` }),
30608
30629
  /* @__PURE__ */ jsx43(Text36, { children: " press [c] for detail" })
30609
30630
  ] }),
30610
30631
  /* @__PURE__ */ jsx43(
@@ -30625,7 +30646,7 @@ var HELP_SECTIONS2;
30625
30646
  var init_generate_review_step = __esm({
30626
30647
  "packages/experience-design-system-cli/src/tui/import/steps/09-review/generate-review-step.tsx"() {
30627
30648
  "use strict";
30628
- init_theme3();
30649
+ init_theme();
30629
30650
  init_review_json_panel();
30630
30651
  init_GroupedSidebar();
30631
30652
  init_composite_closure();
@@ -30732,49 +30753,24 @@ var init_generate_review_step = __esm({
30732
30753
  }
30733
30754
  });
30734
30755
 
30735
- // packages/experience-design-system-cli/src/tui/import/steps/10-flow/theme.ts
30736
- import { defaultTheme as defaultTheme2, extendTheme as extendTheme2 } from "@inkjs/ui";
30737
- var PALETTE4, INK_UI_THEME;
30738
- var init_theme4 = __esm({
30739
- "packages/experience-design-system-cli/src/tui/import/steps/10-flow/theme.ts"() {
30740
- "use strict";
30741
- init_theme3();
30742
- PALETTE4 = {
30743
- ...PALETTE3,
30744
- link: "#58A6FF"
30745
- };
30746
- INK_UI_THEME = extendTheme2(defaultTheme2, {
30747
- components: {
30748
- ProgressBar: {
30749
- styles: {
30750
- completed: () => ({
30751
- color: "blue"
30752
- })
30753
- }
30754
- }
30755
- }
30756
- });
30757
- }
30758
- });
30759
-
30760
30756
  // packages/experience-design-system-cli/src/tui/import/steps/10-flow/components/CustomPromptBanner.tsx
30761
30757
  import { Box as Box34, Text as Text37 } from "ink";
30762
30758
  import { jsx as jsx44, jsxs as jsxs35 } from "react/jsx-runtime";
30763
30759
  function CustomPromptBanner({ generatePromptPath }) {
30764
30760
  if (!generatePromptPath) return null;
30765
- return /* @__PURE__ */ jsxs35(Box34, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE4.warning, paddingX: 1, children: [
30766
- /* @__PURE__ */ jsx44(Text37, { color: PALETTE4.warning, bold: true, children: "WARNING: Custom prompt active" }),
30767
- generatePromptPath ? /* @__PURE__ */ jsxs35(Text37, { color: PALETTE4.warning, children: [
30761
+ return /* @__PURE__ */ jsxs35(Box34, { flexDirection: "column", borderStyle: "round", borderColor: PALETTE.warning, paddingX: 1, children: [
30762
+ /* @__PURE__ */ jsx44(Text37, { color: PALETTE.warning, bold: true, children: "WARNING: Custom prompt active" }),
30763
+ generatePromptPath ? /* @__PURE__ */ jsxs35(Text37, { color: PALETTE.warning, children: [
30768
30764
  "components: ",
30769
30765
  generatePromptPath
30770
30766
  ] }) : null,
30771
- /* @__PURE__ */ jsx44(Text37, { color: PALETTE4.warning, children: "Bundled invariants (utility-wrapper rejection, description content rules) do NOT apply." })
30767
+ /* @__PURE__ */ jsx44(Text37, { color: PALETTE.warning, children: "Bundled invariants (utility-wrapper rejection, description content rules) do NOT apply." })
30772
30768
  ] });
30773
30769
  }
30774
30770
  var init_CustomPromptBanner = __esm({
30775
30771
  "packages/experience-design-system-cli/src/tui/import/steps/10-flow/components/CustomPromptBanner.tsx"() {
30776
30772
  "use strict";
30777
- init_theme4();
30773
+ init_theme();
30778
30774
  }
30779
30775
  });
30780
30776
 
@@ -30801,17 +30797,17 @@ import { Box as Box35, Text as Text38 } from "ink";
30801
30797
  import { jsx as jsx45, jsxs as jsxs36 } from "react/jsx-runtime";
30802
30798
  function SpaceEnvironment({ spaceId, environmentId }) {
30803
30799
  return /* @__PURE__ */ jsxs36(Box35, { gap: 1, marginTop: 1, children: [
30804
- /* @__PURE__ */ jsx45(Text38, { color: PALETTE4.muted, children: "Space:" }),
30800
+ /* @__PURE__ */ jsx45(Text38, { color: PALETTE.muted, children: "Space:" }),
30805
30801
  /* @__PURE__ */ jsx45(Text38, { children: spaceId }),
30806
- /* @__PURE__ */ jsx45(Text38, { color: PALETTE4.muted, children: "/" }),
30807
- /* @__PURE__ */ jsx45(Text38, { color: PALETTE4.muted, children: "Environment:" }),
30802
+ /* @__PURE__ */ jsx45(Text38, { color: PALETTE.muted, children: "/" }),
30803
+ /* @__PURE__ */ jsx45(Text38, { color: PALETTE.muted, children: "Environment:" }),
30808
30804
  /* @__PURE__ */ jsx45(Text38, { children: environmentId })
30809
30805
  ] });
30810
30806
  }
30811
30807
  var init_SpaceEnvironment = __esm({
30812
30808
  "packages/experience-design-system-cli/src/tui/import/steps/10-flow/components/SpaceEnvironment.tsx"() {
30813
30809
  "use strict";
30814
- init_theme4();
30810
+ init_theme();
30815
30811
  }
30816
30812
  });
30817
30813
 
@@ -30822,13 +30818,13 @@ function EntityRows({ entity, label }) {
30822
30818
  const plural3 = (n) => `${n} ${label}${n !== 1 ? "s" : ""}`;
30823
30819
  return /* @__PURE__ */ jsxs37(Fragment14, { children: [
30824
30820
  ACTIONS.filter((action) => entity[action] > 0).map((action) => /* @__PURE__ */ jsxs37(Text39, { children: [
30825
- /* @__PURE__ */ jsx46(Text39, { color: PALETTE4.success, children: "\u2713" }),
30821
+ /* @__PURE__ */ jsx46(Text39, { color: PALETTE.success, children: "\u2713" }),
30826
30822
  " ",
30827
30823
  plural3(entity[action]),
30828
30824
  " ",
30829
30825
  action
30830
30826
  ] }, action)),
30831
- entity.failed > 0 && /* @__PURE__ */ jsxs37(Text39, { color: PALETTE4.error, children: [
30827
+ entity.failed > 0 && /* @__PURE__ */ jsxs37(Text39, { color: PALETTE.error, children: [
30832
30828
  "\u2717 ",
30833
30829
  plural3(entity.failed),
30834
30830
  " failed \u2014 check logs above"
@@ -30837,8 +30833,8 @@ function EntityRows({ entity, label }) {
30837
30833
  }
30838
30834
  function LinkRow({ title, url }) {
30839
30835
  return /* @__PURE__ */ jsxs37(Box36, { flexDirection: "column", children: [
30840
- /* @__PURE__ */ jsx46(Text39, { color: PALETTE4.muted, children: title }),
30841
- /* @__PURE__ */ jsx46(Text39, { color: PALETTE4.link, children: url })
30836
+ /* @__PURE__ */ jsx46(Text39, { color: PALETTE.muted, children: title }),
30837
+ /* @__PURE__ */ jsx46(Text39, { color: PALETTE.accent, children: url })
30842
30838
  ] });
30843
30839
  }
30844
30840
  function DoneStep({
@@ -30861,17 +30857,17 @@ function DoneStep({
30861
30857
  const success = totalFailed === 0;
30862
30858
  const urlArgs = { host: host ?? "api.contentful.com", spaceId, environmentId };
30863
30859
  return /* @__PURE__ */ jsxs37(Box36, { flexDirection: "column", gap: 1, paddingX: 2, paddingY: 1, children: [
30864
- success ? /* @__PURE__ */ jsx46(Text39, { bold: true, color: PALETTE4.success, children: "Done!" }) : /* @__PURE__ */ jsx46(Text39, { bold: true, color: PALETTE4.warning, children: "\u26A0 Finished with errors" }),
30865
- totalPushed === 0 && totalFailed === 0 && !summary ? /* @__PURE__ */ jsx46(Text39, { color: PALETTE4.muted, children: "Nothing was pushed \u2014 everything was already up to date." }) : /* @__PURE__ */ jsxs37(Box36, { flexDirection: "column", children: [
30860
+ success ? /* @__PURE__ */ jsx46(Text39, { bold: true, color: PALETTE.success, children: "Done!" }) : /* @__PURE__ */ jsx46(Text39, { bold: true, color: PALETTE.warning, children: "\u26A0 Finished with errors" }),
30861
+ totalPushed === 0 && totalFailed === 0 && !summary ? /* @__PURE__ */ jsx46(Text39, { color: PALETTE.muted, children: "Nothing was pushed \u2014 everything was already up to date." }) : /* @__PURE__ */ jsxs37(Box36, { flexDirection: "column", children: [
30866
30862
  /* @__PURE__ */ jsx46(EntityRows, { entity: componentTypes, label: "Component Type" }),
30867
30863
  /* @__PURE__ */ jsx46(EntityRows, { entity: designTokens, label: "Design Token" }),
30868
- summary && /* @__PURE__ */ jsx46(Box36, { marginTop: 1, children: /* @__PURE__ */ jsxs37(Text39, { color: PALETTE4.muted, children: [
30864
+ summary && /* @__PURE__ */ jsx46(Box36, { marginTop: 1, children: /* @__PURE__ */ jsxs37(Text39, { color: PALETTE.muted, children: [
30869
30865
  "Push result: ",
30870
30866
  summary.succeeded,
30871
30867
  "/",
30872
30868
  summary.total,
30873
30869
  " succeeded",
30874
- summary.failed > 0 && /* @__PURE__ */ jsxs37(Text39, { color: PALETTE4.error, children: [
30870
+ summary.failed > 0 && /* @__PURE__ */ jsxs37(Text39, { color: PALETTE.error, children: [
30875
30871
  ", ",
30876
30872
  summary.failed,
30877
30873
  " failed"
@@ -30879,8 +30875,8 @@ function DoneStep({
30879
30875
  ] }) })
30880
30876
  ] }),
30881
30877
  failures.length > 0 && /* @__PURE__ */ jsxs37(Box36, { flexDirection: "column", children: [
30882
- /* @__PURE__ */ jsx46(Text39, { bold: true, color: PALETTE4.error, children: "Failure details" }),
30883
- failures.map((failure) => /* @__PURE__ */ jsxs37(Text39, { color: PALETTE4.error, children: [
30878
+ /* @__PURE__ */ jsx46(Text39, { bold: true, color: PALETTE.error, children: "Failure details" }),
30879
+ failures.map((failure) => /* @__PURE__ */ jsxs37(Text39, { color: PALETTE.error, children: [
30884
30880
  failure.entityType,
30885
30881
  " ",
30886
30882
  failure.entityId,
@@ -30890,7 +30886,7 @@ function DoneStep({
30890
30886
  ] }),
30891
30887
  /* @__PURE__ */ jsx46(SpaceEnvironment, { spaceId, environmentId }),
30892
30888
  success && totalPushed > 0 && /* @__PURE__ */ jsxs37(Box36, { flexDirection: "column", gap: 1, children: [
30893
- /* @__PURE__ */ jsx46(Text39, { color: PALETTE4.success, children: "Your design system is now in Contentful Experiences." }),
30889
+ /* @__PURE__ */ jsx46(Text39, { color: PALETTE.success, children: "Your design system is now in Contentful Experiences." }),
30894
30890
  /* @__PURE__ */ jsx46(LinkRow, { title: "View your components here:", url: buildPostPushUrl2(urlArgs) }),
30895
30891
  /* @__PURE__ */ jsx46(
30896
30892
  LinkRow,
@@ -30907,7 +30903,7 @@ var ACTIONS;
30907
30903
  var init_DoneStep = __esm({
30908
30904
  "packages/experience-design-system-cli/src/tui/import/steps/10-flow/screens/DoneStep.tsx"() {
30909
30905
  "use strict";
30910
- init_theme4();
30906
+ init_theme();
30911
30907
  init_useImmediateInput();
30912
30908
  init_contentful_urls2();
30913
30909
  init_SpaceEnvironment();
@@ -31018,12 +31014,12 @@ function PathPrompt({
31018
31014
  const cursor = cursorVisible ? "\u2588" : " ";
31019
31015
  return /* @__PURE__ */ jsxs38(Box37, { flexDirection: "column", gap: 1, paddingX: 2, paddingY: 1, children: [
31020
31016
  /* @__PURE__ */ jsxs38(Box37, { gap: 1, children: [
31021
- /* @__PURE__ */ jsx47(Text40, { color: "cyan", children: "?" }),
31017
+ /* @__PURE__ */ jsx47(Text40, { color: PALETTE.accent, children: "?" }),
31022
31018
  /* @__PURE__ */ jsxs38(Text40, { bold: true, children: [
31023
31019
  label,
31024
31020
  ":"
31025
31021
  ] }),
31026
- /* @__PURE__ */ jsx47(Text40, { color: isPlaceholder ? PALETTE4.muted : void 0, children: shown }),
31022
+ /* @__PURE__ */ jsx47(Text40, { color: isPlaceholder ? PALETTE.muted : void 0, children: shown }),
31027
31023
  /* @__PURE__ */ jsx47(Text40, { children: cursor })
31028
31024
  ] }),
31029
31025
  /* @__PURE__ */ jsxs38(Box37, { gap: 3, children: [
@@ -31039,7 +31035,7 @@ var init_PathPrompt = __esm({
31039
31035
  init_useImmediateInput();
31040
31036
  init_path_utils();
31041
31037
  init_use_blinking_cursor();
31042
- init_theme4();
31038
+ init_theme();
31043
31039
  }
31044
31040
  });
31045
31041
 
@@ -31048,7 +31044,7 @@ import { Box as Box38, Text as Text41 } from "ink";
31048
31044
  import { jsx as jsx48, jsxs as jsxs39 } from "react/jsx-runtime";
31049
31045
  function StepHeader({ stepNumber, totalSteps, title }) {
31050
31046
  return /* @__PURE__ */ jsxs39(Box38, { flexDirection: "column", gap: 0, children: [
31051
- /* @__PURE__ */ jsx48(Text41, { dimColor: true, children: "\u2500".repeat(40) }),
31047
+ /* @__PURE__ */ jsx48(Text41, { color: PALETTE.muted, children: "\u2500".repeat(40) }),
31052
31048
  /* @__PURE__ */ jsxs39(Box38, { gap: 1, children: [
31053
31049
  /* @__PURE__ */ jsxs39(Text41, { bold: true, children: [
31054
31050
  "Step ",
@@ -31059,12 +31055,13 @@ function StepHeader({ stepNumber, totalSteps, title }) {
31059
31055
  /* @__PURE__ */ jsx48(Text41, { bold: true, children: "\u2014" }),
31060
31056
  /* @__PURE__ */ jsx48(Text41, { bold: true, children: title })
31061
31057
  ] }),
31062
- /* @__PURE__ */ jsx48(Text41, { dimColor: true, children: "\u2500".repeat(40) })
31058
+ /* @__PURE__ */ jsx48(Text41, { color: PALETTE.muted, children: "\u2500".repeat(40) })
31063
31059
  ] });
31064
31060
  }
31065
31061
  var init_StepHeader = __esm({
31066
31062
  "packages/experience-design-system-cli/src/tui/import/steps/10-flow/components/StepHeader.tsx"() {
31067
31063
  "use strict";
31064
+ init_theme();
31068
31065
  }
31069
31066
  });
31070
31067
 
@@ -31106,12 +31103,12 @@ function PushingStep({ stepNumber, totalSteps, progress }) {
31106
31103
  /* @__PURE__ */ jsx50(StepHeader, { stepNumber, totalSteps, title: "Push to Contentful" }),
31107
31104
  /* @__PURE__ */ jsx50(Text42, { children: "Writing component types and design tokens to your Contentful space..." }),
31108
31105
  operationId && /* @__PURE__ */ jsxs40(Box39, { gap: 1, children: [
31109
- /* @__PURE__ */ jsx50(Text42, { color: PALETTE4.muted, children: "Operation:" }),
31106
+ /* @__PURE__ */ jsx50(Text42, { color: PALETTE.muted, children: "Operation:" }),
31110
31107
  /* @__PURE__ */ jsx50(Text42, { children: operationId })
31111
31108
  ] }),
31112
31109
  showGlobal && progress && progress.kind === "progress" && /* @__PURE__ */ jsx50(Box39, { gap: 1, flexDirection: "column", children: /* @__PURE__ */ jsxs40(Box39, { gap: 2, children: [
31113
- /* @__PURE__ */ jsx50(Box39, { width: 40, children: /* @__PURE__ */ jsx50(ThemeProvider2, { theme: INK_UI_THEME, children: /* @__PURE__ */ jsx50(ProgressBar2, { value: Math.round(progress.processed / progress.total * 100) }) }) }),
31114
- /* @__PURE__ */ jsxs40(Text42, { color: PALETTE4.muted, children: [
31110
+ /* @__PURE__ */ jsx50(Box39, { width: 40, children: /* @__PURE__ */ jsx50(ThemeProvider2, { theme: PROGRESS_THEME, children: /* @__PURE__ */ jsx50(ProgressBar2, { value: Math.round(progress.processed / progress.total * 100) }) }) }),
31111
+ /* @__PURE__ */ jsxs40(Text42, { color: PALETTE.muted, children: [
31115
31112
  progress.processed,
31116
31113
  "/",
31117
31114
  progress.total,
@@ -31119,10 +31116,10 @@ function PushingStep({ stepNumber, totalSteps, progress }) {
31119
31116
  ] })
31120
31117
  ] }) }),
31121
31118
  showCurrent && /* @__PURE__ */ jsxs40(Box39, { gap: 1, children: [
31122
- /* @__PURE__ */ jsx50(Text42, { color: PALETTE4.muted, children: "Now processing:" }),
31119
+ /* @__PURE__ */ jsx50(Text42, { color: PALETTE.muted, children: "Now processing:" }),
31123
31120
  /* @__PURE__ */ jsx50(Text42, { children: showCurrent })
31124
31121
  ] }),
31125
- /* @__PURE__ */ jsx50(Box39, { marginTop: 1, children: /* @__PURE__ */ jsxs40(Text42, { color: PALETTE4.muted, children: [
31122
+ /* @__PURE__ */ jsx50(Box39, { marginTop: 1, children: /* @__PURE__ */ jsxs40(Text42, { color: PALETTE.muted, children: [
31126
31123
  "Elapsed: ",
31127
31124
  elapsed
31128
31125
  ] }) })
@@ -31133,8 +31130,8 @@ var init_PushingStep = __esm({
31133
31130
  "use strict";
31134
31131
  init_StepHeader();
31135
31132
  init_use_timed_spinner();
31136
- init_theme4();
31137
- init_theme4();
31133
+ init_theme2();
31134
+ init_theme();
31138
31135
  }
31139
31136
  });
31140
31137
 
@@ -31329,25 +31326,25 @@ function buildPreviewSummaryLines(preview) {
31329
31326
  if (components.new.length > 0) {
31330
31327
  lines.push({
31331
31328
  key: "summary-components-new",
31332
- color: PALETTE4.success,
31329
+ color: PALETTE.success,
31333
31330
  text: ` \uFF0B ${components.new.length} components will be created`
31334
31331
  });
31335
31332
  for (const [index, item] of components.new.entries()) {
31336
31333
  const name = item.key ?? item.$name ?? "unknown";
31337
- lines.push({ key: `summary-components-new-${index}`, color: PALETTE4.success, text: ` + ${name}` });
31334
+ lines.push({ key: `summary-components-new-${index}`, color: PALETTE.success, text: ` + ${name}` });
31338
31335
  }
31339
31336
  }
31340
31337
  if (components.changed.length > 0) {
31341
31338
  lines.push({
31342
31339
  key: "summary-components-changed",
31343
- color: PALETTE4.warning,
31340
+ color: PALETTE.warning,
31344
31341
  text: ` \uFF5E ${components.changed.length} components will be updated`
31345
31342
  });
31346
31343
  for (const [index, item] of components.changed.entries()) {
31347
31344
  const isBreaking = item.changeClassification?.classification === "breaking";
31348
31345
  lines.push({
31349
31346
  key: `summary-components-changed-${index}`,
31350
- color: isBreaking ? PALETTE4.error : PALETTE4.warning,
31347
+ color: isBreaking ? PALETTE.error : PALETTE.warning,
31351
31348
  text: ` ${isBreaking ? "\u26A0" : "~"} ${item.current.name}`
31352
31349
  });
31353
31350
  }
@@ -31355,11 +31352,11 @@ function buildPreviewSummaryLines(preview) {
31355
31352
  if (components.removed.length > 0) {
31356
31353
  lines.push({
31357
31354
  key: "summary-components-removed",
31358
- color: PALETTE4.warning,
31355
+ color: PALETTE.warning,
31359
31356
  text: ` \u2298 ${components.removed.length} components will be skipped`
31360
31357
  });
31361
31358
  for (const [index, item] of components.removed.entries()) {
31362
- lines.push({ key: `summary-components-removed-${index}`, color: PALETTE4.warning, text: ` \u2298 ${item.name}` });
31359
+ lines.push({ key: `summary-components-removed-${index}`, color: PALETTE.warning, text: ` \u2298 ${item.name}` });
31363
31360
  }
31364
31361
  }
31365
31362
  if (components.unchanged.length > 0) {
@@ -31372,21 +31369,21 @@ function buildPreviewSummaryLines(preview) {
31372
31369
  if (tokens.new.length > 0) {
31373
31370
  lines.push({
31374
31371
  key: "summary-tokens-new",
31375
- color: PALETTE4.success,
31372
+ color: PALETTE.success,
31376
31373
  text: ` \uFF0B ${tokens.new.length} design tokens will be created`
31377
31374
  });
31378
31375
  }
31379
31376
  if (tokens.changed.length > 0) {
31380
31377
  lines.push({
31381
31378
  key: "summary-tokens-changed",
31382
- color: PALETTE4.warning,
31379
+ color: PALETTE.warning,
31383
31380
  text: ` \uFF5E ${tokens.changed.length} design tokens will be updated`
31384
31381
  });
31385
31382
  }
31386
31383
  if (tokens.removed.length > 0) {
31387
31384
  lines.push({
31388
31385
  key: "summary-tokens-removed",
31389
- color: PALETTE4.warning,
31386
+ color: PALETTE.warning,
31390
31387
  text: ` \u2298 ${tokens.removed.length} design tokens will be skipped`
31391
31388
  });
31392
31389
  }
@@ -31430,12 +31427,12 @@ function getPreviewScrollOffset(input, downArrow, upArrow, diffExpanded, current
31430
31427
  function appendChangedPreviewLine(lines, keyPrefix, name, hasPendingDraftChanges, changeClassification) {
31431
31428
  lines.push({
31432
31429
  key: `${keyPrefix}-h-${name}`,
31433
- color: PALETTE4.warning,
31430
+ color: PALETTE.warning,
31434
31431
  text: ` ~ ${name}${hasPendingDraftChanges ? " \u26A1 has pending draft changes" : ""}`
31435
31432
  });
31436
31433
  if (changeClassification?.classification !== "breaking") return;
31437
31434
  const reasons = changeClassification.breakingChanges.map((bc) => `${"slotId" in bc ? bc.slotId : bc.propertyId}: ${bc.reason}`).join(", ");
31438
- lines.push({ key: `${keyPrefix}-b-${name}`, color: PALETTE4.error, text: ` \u26A0 BREAKING: ${reasons}` });
31435
+ lines.push({ key: `${keyPrefix}-b-${name}`, color: PALETTE.error, text: ` \u26A0 BREAKING: ${reasons}` });
31439
31436
  }
31440
31437
  function buildPreviewDiffLines(preview) {
31441
31438
  const lines = [];
@@ -31443,12 +31440,12 @@ function buildPreviewDiffLines(preview) {
31443
31440
  for (const item of components.new) {
31444
31441
  const raw = item;
31445
31442
  const name = raw.key ?? raw.$name ?? "unknown";
31446
- lines.push({ key: `comp-new-${name}`, color: PALETTE4.success, text: ` + ${name}` });
31443
+ lines.push({ key: `comp-new-${name}`, color: PALETTE.success, text: ` + ${name}` });
31447
31444
  const slots = raw.$slots ?? {};
31448
31445
  for (const slotName of Object.keys(slots).sort()) {
31449
31446
  lines.push({
31450
31447
  key: `comp-new-${name}-slot-${slotName}`,
31451
- color: PALETTE4.success,
31448
+ color: PALETTE.success,
31452
31449
  text: ` slot: ${slotName}`
31453
31450
  });
31454
31451
  const allowed = slots[slotName]?.["$allowedComponents"];
@@ -31456,14 +31453,14 @@ function buildPreviewDiffLines(preview) {
31456
31453
  const names = allowed.filter((n) => typeof n === "string");
31457
31454
  lines.push({
31458
31455
  key: `comp-new-${name}-slot-${slotName}-allow`,
31459
- color: PALETTE4.success,
31456
+ color: PALETTE.success,
31460
31457
  text: ` allowedComponents: [${names.join(", ")}]`
31461
31458
  });
31462
31459
  }
31463
31460
  }
31464
31461
  }
31465
31462
  for (const item of components.removed) {
31466
- lines.push({ key: `comp-rm-${item.name}`, color: PALETTE4.error, text: ` - ${item.name}` });
31463
+ lines.push({ key: `comp-rm-${item.name}`, color: PALETTE.error, text: ` - ${item.name}` });
31467
31464
  }
31468
31465
  for (const item of components.changed) {
31469
31466
  appendChangedPreviewLine(lines, "comp", item.current.name, item.hasPendingDraftChanges, item.changeClassification);
@@ -31494,10 +31491,10 @@ function buildPreviewDiffLines(preview) {
31494
31491
  for (const item of tokens.new) {
31495
31492
  const raw = item;
31496
31493
  const name = raw.name ?? raw.path ?? "unknown";
31497
- lines.push({ key: `tok-new-${name}`, color: PALETTE4.success, text: ` + ${name}` });
31494
+ lines.push({ key: `tok-new-${name}`, color: PALETTE.success, text: ` + ${name}` });
31498
31495
  }
31499
31496
  for (const item of tokens.removed) {
31500
- lines.push({ key: `tok-rm-${item.name}`, color: PALETTE4.error, text: ` - ${item.name}` });
31497
+ lines.push({ key: `tok-rm-${item.name}`, color: PALETTE.error, text: ` - ${item.name}` });
31501
31498
  }
31502
31499
  for (const item of tokens.changed) {
31503
31500
  const tokenName = item.current.name;
@@ -31588,13 +31585,13 @@ function WizardPreviewStep({
31588
31585
  title: diffExpanded ? `Diff (${diffLines.length} lines)` : "",
31589
31586
  focused: false,
31590
31587
  children: [
31591
- activeLines.slice(boundedScrollOffset, boundedScrollOffset + viewportHeight).map((line) => /* @__PURE__ */ jsx51(Text43, { color: line.color === "gray" ? PALETTE4.muted : line.color, wrap: "truncate-end", children: line.text }, line.key)),
31592
- /* @__PURE__ */ jsx51(Text43, { color: PALETTE4.muted, wrap: "truncate-end", children: formatPreviewScrollIndicator(activeLines.length, boundedScrollOffset, viewportHeight) })
31588
+ activeLines.slice(boundedScrollOffset, boundedScrollOffset + viewportHeight).map((line) => /* @__PURE__ */ jsx51(Text43, { color: line.color === "gray" ? PALETTE.muted : line.color, wrap: "truncate-end", children: line.text }, line.key)),
31589
+ /* @__PURE__ */ jsx51(Text43, { color: PALETTE.muted, wrap: "truncate-end", children: formatPreviewScrollIndicator(activeLines.length, boundedScrollOffset, viewportHeight) })
31593
31590
  ]
31594
31591
  }
31595
31592
  )
31596
- ] }) : /* @__PURE__ */ jsx51(Text43, { color: PALETTE4.muted, children: "Nothing to push \u2014 everything is already up to date." }),
31597
- breakingWithImpact && /* @__PURE__ */ jsx51(Box40, { marginTop: 1, children: /* @__PURE__ */ jsx51(Text43, { color: PALETTE4.error, bold: true, children: "\u26A0 Breaking changes will affect downstream entities. Press Enter to acknowledge and apply." }) }),
31593
+ ] }) : /* @__PURE__ */ jsx51(Text43, { color: PALETTE.muted, children: "Nothing to push \u2014 everything is already up to date." }),
31594
+ breakingWithImpact && /* @__PURE__ */ jsx51(Box40, { marginTop: 1, children: /* @__PURE__ */ jsx51(Text43, { color: PALETTE.error, bold: true, children: "\u26A0 Breaking changes will affect downstream entities. Press Enter to acknowledge and apply." }) }),
31598
31595
  /* @__PURE__ */ jsx51(SpaceEnvironment, { spaceId, environmentId }),
31599
31596
  /* @__PURE__ */ jsxs41(Box40, { gap: 3, marginTop: 1, children: [
31600
31597
  /* @__PURE__ */ jsx51(Text43, { children: "[Enter] Push to Contentful" }),
@@ -31612,7 +31609,7 @@ function WizardPreviewStep({
31612
31609
  var init_WizardPreviewStep = __esm({
31613
31610
  "packages/experience-design-system-cli/src/tui/import/steps/10-flow/screens/WizardPreviewStep.tsx"() {
31614
31611
  "use strict";
31615
- init_theme4();
31612
+ init_theme();
31616
31613
  init_useImmediateInput();
31617
31614
  init_use_terminal_size();
31618
31615
  init_src4();
@@ -32911,7 +32908,7 @@ function HelpScreen({ onDone }) {
32911
32908
  var init_PageContainer2 = __esm({
32912
32909
  "packages/experience-design-system-cli/src/tui/help/PageContainer.tsx"() {
32913
32910
  "use strict";
32914
- init_home_theme();
32911
+ init_theme();
32915
32912
  init_debug_store();
32916
32913
  init_control_hints();
32917
32914
  init_help_info();
@@ -32954,8 +32951,8 @@ function SettingsScreen({
32954
32951
  });
32955
32952
  return /* @__PURE__ */ jsxs44(Box43, { flexDirection: "column", paddingX: 2, paddingY: 1, children: [
32956
32953
  /* @__PURE__ */ jsx54(Text45, { bold: true, children: "Settings" }),
32957
- /* @__PURE__ */ jsx54(Text45, { children: " " }),
32958
- items.map((item, i) => /* @__PURE__ */ jsxs44(Text45, { color: i === focusIdx ? "cyan" : void 0, children: [
32954
+ /* @__PURE__ */ jsx54(Text45, { color: PALETTE.muted, children: " " }),
32955
+ items.map((item, i) => /* @__PURE__ */ jsxs44(Text45, { color: i === focusIdx ? PALETTE.accent : void 0, children: [
32959
32956
  i === focusIdx ? "> " : " ",
32960
32957
  item.label
32961
32958
  ] }, item.label)),
@@ -32976,6 +32973,7 @@ var init_PageContainer3 = __esm({
32976
32973
  "packages/experience-design-system-cli/src/tui/settings/PageContainer.tsx"() {
32977
32974
  "use strict";
32978
32975
  init_control_hints();
32976
+ init_theme();
32979
32977
  }
32980
32978
  });
32981
32979
 
@@ -33172,7 +33170,7 @@ var FIELD_ORDER, FIELD_LABELS, FIELD_HINTS, LABEL_WIDTH;
33172
33170
  var init_ContentfulConfigScreen = __esm({
33173
33171
  "packages/experience-design-system-cli/src/tui/settings/contentful-configuration/ContentfulConfigScreen.tsx"() {
33174
33172
  "use strict";
33175
- init_home_theme();
33173
+ init_theme();
33176
33174
  init_config_store();
33177
33175
  init_debug_store();
33178
33176
  init_control_hints();
@@ -33263,7 +33261,7 @@ function OptInAnalyticsScreen({ onDone }) {
33263
33261
  var init_screen11 = __esm({
33264
33262
  "packages/experience-design-system-cli/src/tui/settings/opt-in-analytics/screen.tsx"() {
33265
33263
  "use strict";
33266
- init_home_theme();
33264
+ init_theme();
33267
33265
  init_analytics_store();
33268
33266
  init_debug_store();
33269
33267
  init_control_hints();
@@ -33343,6 +33341,7 @@ var UPGRADE_COMMANDS;
33343
33341
  var init_PageContainer4 = __esm({
33344
33342
  "packages/experience-design-system-cli/src/tui/upgrade/PageContainer.tsx"() {
33345
33343
  "use strict";
33344
+ init_theme();
33346
33345
  init_home_theme();
33347
33346
  init_version();
33348
33347
  init_debug_store();
@@ -33407,7 +33406,7 @@ function DebugModeScreen({ onDone }) {
33407
33406
  var init_screen12 = __esm({
33408
33407
  "packages/experience-design-system-cli/src/tui/settings/debug-mode/screen.tsx"() {
33409
33408
  "use strict";
33410
- init_home_theme();
33409
+ init_theme();
33411
33410
  init_debug_mode_store();
33412
33411
  init_debug_store();
33413
33412
  init_control_hints();