@storm-software/workspace-tools 1.74.0 → 1.75.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.
@@ -72944,15 +72944,14 @@ var init_lib = __esm({
72944
72944
  });
72945
72945
 
72946
72946
  // packages/config/src/schema.ts
72947
- var DarkColorSchema, LightColorSchema, Brand1ColorSchema, Brand2ColorSchema, Brand3ColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
72947
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, AccentColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
72948
72948
  var init_schema = __esm({
72949
72949
  "packages/config/src/schema.ts"() {
72950
72950
  init_lib();
72951
72951
  DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
72952
72952
  LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
72953
- Brand1ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
72954
- Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
72955
- Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The third brand specific color of the workspace");
72953
+ BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
72954
+ AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
72956
72955
  SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
72957
72956
  InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
72958
72957
  WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
@@ -72961,9 +72960,8 @@ var init_schema = __esm({
72961
72960
  DarkThemeColorConfigSchema = z2.object({
72962
72961
  foreground: LightColorSchema,
72963
72962
  background: DarkColorSchema,
72964
- brand1: Brand1ColorSchema,
72965
- brand2: Brand2ColorSchema,
72966
- brand3: Brand3ColorSchema,
72963
+ brand: BrandColorSchema,
72964
+ accent: AccentColorSchema,
72967
72965
  success: SuccessColorSchema,
72968
72966
  info: InfoColorSchema,
72969
72967
  warning: WarningColorSchema,
@@ -72973,9 +72971,8 @@ var init_schema = __esm({
72973
72971
  LightThemeColorConfigSchema = z2.object({
72974
72972
  foreground: DarkColorSchema,
72975
72973
  background: LightColorSchema,
72976
- brand1: Brand1ColorSchema,
72977
- brand2: Brand2ColorSchema,
72978
- brand3: Brand3ColorSchema,
72974
+ brand: BrandColorSchema,
72975
+ accent: AccentColorSchema,
72979
72976
  success: SuccessColorSchema,
72980
72977
  info: InfoColorSchema,
72981
72978
  warning: WarningColorSchema,
@@ -72989,9 +72986,8 @@ var init_schema = __esm({
72989
72986
  SingleThemeColorConfigSchema = z2.object({
72990
72987
  dark: DarkColorSchema,
72991
72988
  light: LightColorSchema,
72992
- brand1: Brand1ColorSchema,
72993
- brand2: Brand2ColorSchema,
72994
- brand3: Brand3ColorSchema,
72989
+ brand: BrandColorSchema,
72990
+ accent: AccentColorSchema,
72995
72991
  success: SuccessColorSchema,
72996
72992
  info: InfoColorSchema,
72997
72993
  warning: WarningColorSchema,
@@ -73037,7 +73033,7 @@ var init_schema = __esm({
73037
73033
  runtimeVersion: z2.string().trim().regex(
73038
73034
  /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
73039
73035
  ).default("1.0.0").describe("The global version of the Storm runtime"),
73040
- packageManager: z2.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
73036
+ packageManager: z2.enum(["npm", "yarn", "pnpm", "bun"]).default("pnpm").describe("The package manager used by the repository"),
73041
73037
  timezone: z2.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
73042
73038
  locale: z2.string().trim().default("en-US").describe("The default locale of the workspace"),
73043
73039
  logLevel: z2.enum([
@@ -73072,9 +73068,8 @@ var init_types = __esm({
73072
73068
  COLOR_KEYS = [
73073
73069
  "dark",
73074
73070
  "light",
73075
- "brand1",
73076
- "brand2",
73077
- "brand3",
73071
+ "brand",
73072
+ "accent",
73078
73073
  "success",
73079
73074
  "info",
73080
73075
  "warning",
@@ -73108,16 +73103,26 @@ var init_get_default_config = __esm({
73108
73103
  init_src();
73109
73104
  init_find_workspace_root();
73110
73105
  DEFAULT_COLOR_CONFIG = {
73111
- dark: "#1d232a",
73112
- light: "#f4f4f5",
73113
- brand1: "#1fb2a6",
73114
- brand2: "#6366f1",
73115
- brand3: "#ec5990",
73116
- success: "#087f5b",
73117
- info: "#0ea5e9",
73118
- warning: "#fcc419",
73119
- error: "#990000",
73120
- fatal: "#7d1a1a"
73106
+ light: {
73107
+ background: "#f4f4f5",
73108
+ foreground: "#1d232a",
73109
+ brand: "#1fb2a6",
73110
+ accent: "#8250df",
73111
+ success: "#087f5b",
73112
+ info: "#0550ae",
73113
+ warning: "#e3b341",
73114
+ error: "#a40e26"
73115
+ },
73116
+ dark: {
73117
+ background: "#22272E",
73118
+ foreground: "#fcfcf5",
73119
+ brand: "#1fb2a6",
73120
+ accent: "#8256D0",
73121
+ success: "#087f5b",
73122
+ info: "#316DCA",
73123
+ warning: "#F3D371",
73124
+ error: "#d1242f"
73125
+ }
73121
73126
  };
73122
73127
  DEFAULT_STORM_CONFIG = {
73123
73128
  name: "storm",
@@ -74877,7 +74882,7 @@ var init_logger = __esm({
74877
74882
  return (message) => {
74878
74883
  console.error(
74879
74884
  `
74880
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#b62324").whiteBright(
74885
+ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
74881
74886
  " \u{1F480} Fatal "
74882
74887
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
74883
74888
  `
@@ -74932,9 +74937,9 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
74932
74937
  return (message) => {
74933
74938
  console.debug(
74934
74939
  `
74935
- ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand1 ?? "#1fb2a6").whiteBright(
74940
+ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
74936
74941
  " \u{1F6E0} Debug "
74937
- )} ${_chalk.hex(colors.brand1 ?? "#1fb2a6")(formatLogMessage(message))}
74942
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
74938
74943
  `
74939
74944
  );
74940
74945
  };
@@ -74942,9 +74947,9 @@ ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.b
74942
74947
  return (message) => {
74943
74948
  console.log(
74944
74949
  `
74945
- ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand1 ?? "#1fb2a6").whiteBright(
74950
+ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
74946
74951
  " \u2709 System "
74947
- )} ${_chalk.hex(colors.brand1 ?? "#1fb2a6")(formatLogMessage(message))}
74952
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
74948
74953
  `
74949
74954
  );
74950
74955
  };
@@ -74972,7 +74977,7 @@ ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.b
74972
74977
  };
74973
74978
  };
74974
74979
  formatLogMessage = (message, prefix = "-") => {
74975
- return typeof message === "string" ? message : typeof message === "object" ? `
74980
+ return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : typeof message === "object" ? `
74976
74981
  ${Object.keys(message).map(
74977
74982
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(message[key], `${prefix}-`) : message[key]}`
74978
74983
  ).join("\n")}` : message;
@@ -75329,15 +75334,14 @@ var init_get_env = __esm({
75329
75334
  };
75330
75335
  getThemeColorConfigEnv = (prefix, theme) => {
75331
75336
  const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
75332
- return process.env[`${prefix}${themeName}LIGHT_BRAND1`] || process.env[`${prefix}${themeName}DARK_BRAND1`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
75337
+ return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
75333
75338
  };
75334
75339
  getSingleThemeColorConfigEnv = (prefix) => {
75335
75340
  return {
75336
75341
  dark: process.env[`${prefix}DARK`],
75337
75342
  light: process.env[`${prefix}LIGHT`],
75338
- brand1: process.env[`${prefix}BRAND1`],
75339
- brand2: process.env[`${prefix}BRAND2`],
75340
- brand3: process.env[`${prefix}BRAND3`],
75343
+ brand: process.env[`${prefix}BRAND`],
75344
+ accent: process.env[`${prefix}ACCENT`],
75341
75345
  success: process.env[`${prefix}SUCCESS`],
75342
75346
  info: process.env[`${prefix}INFO`],
75343
75347
  warning: process.env[`${prefix}WARNING`],
@@ -75357,9 +75361,8 @@ var init_get_env = __esm({
75357
75361
  return {
75358
75362
  foreground: process.env[`${prefix}FOREGROUND`],
75359
75363
  background: process.env[`${prefix}BACKGROUND`],
75360
- brand1: process.env[`${prefix}BRAND1`],
75361
- brand2: process.env[`${prefix}BRAND2`],
75362
- brand3: process.env[`${prefix}BRAND3`],
75364
+ brand: process.env[`${prefix}BRAND`],
75365
+ accent: process.env[`${prefix}ACCENT`],
75363
75366
  success: process.env[`${prefix}SUCCESS`],
75364
75367
  info: process.env[`${prefix}INFO`],
75365
75368
  warning: process.env[`${prefix}WARNING`],
@@ -75525,7 +75528,7 @@ var init_set_env = __esm({
75525
75528
  }
75526
75529
  };
75527
75530
  setThemeColorConfigEnv = (prefix, config) => {
75528
- return config?.light?.brand1 || config?.dark?.brand1 ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
75531
+ return config?.light?.brand || config?.dark?.brand ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
75529
75532
  };
75530
75533
  setSingleThemeColorConfigEnv = (prefix, config) => {
75531
75534
  if (config.dark) {
@@ -75534,14 +75537,11 @@ var init_set_env = __esm({
75534
75537
  if (config.light) {
75535
75538
  process.env[`${prefix}LIGHT`] = config.light;
75536
75539
  }
75537
- if (config.brand1) {
75538
- process.env[`${prefix}BRAND1`] = config.brand1;
75540
+ if (config.brand) {
75541
+ process.env[`${prefix}BRAND`] = config.brand;
75539
75542
  }
75540
- if (config.brand2) {
75541
- process.env[`${prefix}BRAND2`] = config.brand2;
75542
- }
75543
- if (config.brand3) {
75544
- process.env[`${prefix}BRAND3`] = config.brand3;
75543
+ if (config.accent) {
75544
+ process.env[`${prefix}ACCENT`] = config.accent;
75545
75545
  }
75546
75546
  if (config.success) {
75547
75547
  process.env[`${prefix}SUCCESS`] = config.success;
@@ -75572,14 +75572,11 @@ var init_set_env = __esm({
75572
75572
  if (config.background) {
75573
75573
  process.env[`${prefix}BACKGROUND`] = config.background;
75574
75574
  }
75575
- if (config.brand1) {
75576
- process.env[`${prefix}BRAND1`] = config.brand1;
75577
- }
75578
- if (config.brand2) {
75579
- process.env[`${prefix}BRAND2`] = config.brand2;
75575
+ if (config.brand) {
75576
+ process.env[`${prefix}BRAND`] = config.brand;
75580
75577
  }
75581
- if (config.brand3) {
75582
- process.env[`${prefix}BRAND3`] = config.brand3;
75578
+ if (config.accent) {
75579
+ process.env[`${prefix}ACCENT`] = config.accent;
75583
75580
  }
75584
75581
  if (config.success) {
75585
75582
  process.env[`${prefix}SUCCESS`] = config.success;
@@ -70745,15 +70745,14 @@ var init_lib = __esm({
70745
70745
  });
70746
70746
 
70747
70747
  // packages/config/src/schema.ts
70748
- var DarkColorSchema, LightColorSchema, Brand1ColorSchema, Brand2ColorSchema, Brand3ColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
70748
+ var DarkColorSchema, LightColorSchema, BrandColorSchema, AccentColorSchema, SuccessColorSchema, InfoColorSchema, WarningColorSchema, ErrorColorSchema, FatalColorSchema, DarkThemeColorConfigSchema, LightThemeColorConfigSchema, MultiThemeColorConfigSchema, SingleThemeColorConfigSchema, ColorConfigSchema, ColorConfigMapSchema, StormConfigSchema;
70749
70749
  var init_schema = __esm({
70750
70750
  "packages/config/src/schema.ts"() {
70751
70751
  init_lib();
70752
70752
  DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
70753
70753
  LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
70754
- Brand1ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
70755
- Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
70756
- Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The third brand specific color of the workspace");
70754
+ BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
70755
+ AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
70757
70756
  SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
70758
70757
  InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
70759
70758
  WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
@@ -70762,9 +70761,8 @@ var init_schema = __esm({
70762
70761
  DarkThemeColorConfigSchema = z2.object({
70763
70762
  foreground: LightColorSchema,
70764
70763
  background: DarkColorSchema,
70765
- brand1: Brand1ColorSchema,
70766
- brand2: Brand2ColorSchema,
70767
- brand3: Brand3ColorSchema,
70764
+ brand: BrandColorSchema,
70765
+ accent: AccentColorSchema,
70768
70766
  success: SuccessColorSchema,
70769
70767
  info: InfoColorSchema,
70770
70768
  warning: WarningColorSchema,
@@ -70774,9 +70772,8 @@ var init_schema = __esm({
70774
70772
  LightThemeColorConfigSchema = z2.object({
70775
70773
  foreground: DarkColorSchema,
70776
70774
  background: LightColorSchema,
70777
- brand1: Brand1ColorSchema,
70778
- brand2: Brand2ColorSchema,
70779
- brand3: Brand3ColorSchema,
70775
+ brand: BrandColorSchema,
70776
+ accent: AccentColorSchema,
70780
70777
  success: SuccessColorSchema,
70781
70778
  info: InfoColorSchema,
70782
70779
  warning: WarningColorSchema,
@@ -70790,9 +70787,8 @@ var init_schema = __esm({
70790
70787
  SingleThemeColorConfigSchema = z2.object({
70791
70788
  dark: DarkColorSchema,
70792
70789
  light: LightColorSchema,
70793
- brand1: Brand1ColorSchema,
70794
- brand2: Brand2ColorSchema,
70795
- brand3: Brand3ColorSchema,
70790
+ brand: BrandColorSchema,
70791
+ accent: AccentColorSchema,
70796
70792
  success: SuccessColorSchema,
70797
70793
  info: InfoColorSchema,
70798
70794
  warning: WarningColorSchema,
@@ -70838,7 +70834,7 @@ var init_schema = __esm({
70838
70834
  runtimeVersion: z2.string().trim().regex(
70839
70835
  /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
70840
70836
  ).default("1.0.0").describe("The global version of the Storm runtime"),
70841
- packageManager: z2.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
70837
+ packageManager: z2.enum(["npm", "yarn", "pnpm", "bun"]).default("pnpm").describe("The package manager used by the repository"),
70842
70838
  timezone: z2.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
70843
70839
  locale: z2.string().trim().default("en-US").describe("The default locale of the workspace"),
70844
70840
  logLevel: z2.enum([
@@ -70873,9 +70869,8 @@ var init_types = __esm({
70873
70869
  COLOR_KEYS = [
70874
70870
  "dark",
70875
70871
  "light",
70876
- "brand1",
70877
- "brand2",
70878
- "brand3",
70872
+ "brand",
70873
+ "accent",
70879
70874
  "success",
70880
70875
  "info",
70881
70876
  "warning",
@@ -70909,16 +70904,26 @@ var init_get_default_config = __esm({
70909
70904
  init_src();
70910
70905
  init_find_workspace_root();
70911
70906
  DEFAULT_COLOR_CONFIG = {
70912
- dark: "#1d232a",
70913
- light: "#f4f4f5",
70914
- brand1: "#1fb2a6",
70915
- brand2: "#6366f1",
70916
- brand3: "#ec5990",
70917
- success: "#087f5b",
70918
- info: "#0ea5e9",
70919
- warning: "#fcc419",
70920
- error: "#990000",
70921
- fatal: "#7d1a1a"
70907
+ light: {
70908
+ background: "#f4f4f5",
70909
+ foreground: "#1d232a",
70910
+ brand: "#1fb2a6",
70911
+ accent: "#8250df",
70912
+ success: "#087f5b",
70913
+ info: "#0550ae",
70914
+ warning: "#e3b341",
70915
+ error: "#a40e26"
70916
+ },
70917
+ dark: {
70918
+ background: "#22272E",
70919
+ foreground: "#fcfcf5",
70920
+ brand: "#1fb2a6",
70921
+ accent: "#8256D0",
70922
+ success: "#087f5b",
70923
+ info: "#316DCA",
70924
+ warning: "#F3D371",
70925
+ error: "#d1242f"
70926
+ }
70922
70927
  };
70923
70928
  DEFAULT_STORM_CONFIG = {
70924
70929
  name: "storm",
@@ -72678,7 +72683,7 @@ var init_logger = __esm({
72678
72683
  return (message) => {
72679
72684
  console.error(
72680
72685
  `
72681
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#b62324").whiteBright(
72686
+ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
72682
72687
  " \u{1F480} Fatal "
72683
72688
  )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
72684
72689
  `
@@ -72733,9 +72738,9 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
72733
72738
  return (message) => {
72734
72739
  console.debug(
72735
72740
  `
72736
- ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand1 ?? "#1fb2a6").whiteBright(
72741
+ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
72737
72742
  " \u{1F6E0} Debug "
72738
- )} ${_chalk.hex(colors.brand1 ?? "#1fb2a6")(formatLogMessage(message))}
72743
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
72739
72744
  `
72740
72745
  );
72741
72746
  };
@@ -72743,9 +72748,9 @@ ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.b
72743
72748
  return (message) => {
72744
72749
  console.log(
72745
72750
  `
72746
- ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand1 ?? "#1fb2a6").whiteBright(
72751
+ ${_chalk.bold.hex(colors.brand ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand ?? "#1fb2a6").whiteBright(
72747
72752
  " \u2709 System "
72748
- )} ${_chalk.hex(colors.brand1 ?? "#1fb2a6")(formatLogMessage(message))}
72753
+ )} ${_chalk.hex(colors.brand ?? "#1fb2a6")(formatLogMessage(message))}
72749
72754
  `
72750
72755
  );
72751
72756
  };
@@ -72773,7 +72778,7 @@ ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.b
72773
72778
  };
72774
72779
  };
72775
72780
  formatLogMessage = (message, prefix = "-") => {
72776
- return typeof message === "string" ? message : typeof message === "object" ? `
72781
+ return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : typeof message === "object" ? `
72777
72782
  ${Object.keys(message).map(
72778
72783
  (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(message[key], `${prefix}-`) : message[key]}`
72779
72784
  ).join("\n")}` : message;
@@ -73130,15 +73135,14 @@ var init_get_env = __esm({
73130
73135
  };
73131
73136
  getThemeColorConfigEnv = (prefix, theme) => {
73132
73137
  const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
73133
- return process.env[`${prefix}${themeName}LIGHT_BRAND1`] || process.env[`${prefix}${themeName}DARK_BRAND1`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
73138
+ return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
73134
73139
  };
73135
73140
  getSingleThemeColorConfigEnv = (prefix) => {
73136
73141
  return {
73137
73142
  dark: process.env[`${prefix}DARK`],
73138
73143
  light: process.env[`${prefix}LIGHT`],
73139
- brand1: process.env[`${prefix}BRAND1`],
73140
- brand2: process.env[`${prefix}BRAND2`],
73141
- brand3: process.env[`${prefix}BRAND3`],
73144
+ brand: process.env[`${prefix}BRAND`],
73145
+ accent: process.env[`${prefix}ACCENT`],
73142
73146
  success: process.env[`${prefix}SUCCESS`],
73143
73147
  info: process.env[`${prefix}INFO`],
73144
73148
  warning: process.env[`${prefix}WARNING`],
@@ -73158,9 +73162,8 @@ var init_get_env = __esm({
73158
73162
  return {
73159
73163
  foreground: process.env[`${prefix}FOREGROUND`],
73160
73164
  background: process.env[`${prefix}BACKGROUND`],
73161
- brand1: process.env[`${prefix}BRAND1`],
73162
- brand2: process.env[`${prefix}BRAND2`],
73163
- brand3: process.env[`${prefix}BRAND3`],
73165
+ brand: process.env[`${prefix}BRAND`],
73166
+ accent: process.env[`${prefix}ACCENT`],
73164
73167
  success: process.env[`${prefix}SUCCESS`],
73165
73168
  info: process.env[`${prefix}INFO`],
73166
73169
  warning: process.env[`${prefix}WARNING`],
@@ -73326,7 +73329,7 @@ var init_set_env = __esm({
73326
73329
  }
73327
73330
  };
73328
73331
  setThemeColorConfigEnv = (prefix, config) => {
73329
- return config?.light?.brand1 || config?.dark?.brand1 ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
73332
+ return config?.light?.brand || config?.dark?.brand ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
73330
73333
  };
73331
73334
  setSingleThemeColorConfigEnv = (prefix, config) => {
73332
73335
  if (config.dark) {
@@ -73335,14 +73338,11 @@ var init_set_env = __esm({
73335
73338
  if (config.light) {
73336
73339
  process.env[`${prefix}LIGHT`] = config.light;
73337
73340
  }
73338
- if (config.brand1) {
73339
- process.env[`${prefix}BRAND1`] = config.brand1;
73341
+ if (config.brand) {
73342
+ process.env[`${prefix}BRAND`] = config.brand;
73340
73343
  }
73341
- if (config.brand2) {
73342
- process.env[`${prefix}BRAND2`] = config.brand2;
73343
- }
73344
- if (config.brand3) {
73345
- process.env[`${prefix}BRAND3`] = config.brand3;
73344
+ if (config.accent) {
73345
+ process.env[`${prefix}ACCENT`] = config.accent;
73346
73346
  }
73347
73347
  if (config.success) {
73348
73348
  process.env[`${prefix}SUCCESS`] = config.success;
@@ -73373,14 +73373,11 @@ var init_set_env = __esm({
73373
73373
  if (config.background) {
73374
73374
  process.env[`${prefix}BACKGROUND`] = config.background;
73375
73375
  }
73376
- if (config.brand1) {
73377
- process.env[`${prefix}BRAND1`] = config.brand1;
73378
- }
73379
- if (config.brand2) {
73380
- process.env[`${prefix}BRAND2`] = config.brand2;
73376
+ if (config.brand) {
73377
+ process.env[`${prefix}BRAND`] = config.brand;
73381
73378
  }
73382
- if (config.brand3) {
73383
- process.env[`${prefix}BRAND3`] = config.brand3;
73379
+ if (config.accent) {
73380
+ process.env[`${prefix}ACCENT`] = config.accent;
73384
73381
  }
73385
73382
  if (config.success) {
73386
73383
  process.env[`${prefix}SUCCESS`] = config.success;