@storm-software/config-tools 1.41.4 → 1.42.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/config-tools",
3
- "version": "1.41.4",
3
+ "version": "1.42.0",
4
4
  "private": false,
5
5
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
6
6
  "repository": {
@@ -5582,24 +5582,22 @@ var z = /* @__PURE__ */ Object.freeze({
5582
5582
  });
5583
5583
 
5584
5584
  // packages/config/src/schema.ts
5585
- var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d232a").describe("The dark background color of the workspace");
5585
+ var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
5586
5586
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
5587
- var PrimaryColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary color of the workspace");
5588
- var SecondaryColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0ea5e9").describe("The secondary color of the workspace");
5589
- var TertiaryColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ec5990").describe("The tertiary color of the workspace");
5590
- var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#6366f1").describe("The accent color of the workspace");
5587
+ var Brand1ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
5588
+ var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
5589
+ var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The third brand specific color of the workspace");
5591
5590
  var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
5592
- var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0ea5e9").describe("The informational color of the workspace");
5591
+ var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
5593
5592
  var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
5594
- var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#990000").describe("The error color of the workspace");
5595
- var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7d1a1a").describe("The fatal color of the workspace");
5593
+ var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
5594
+ var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
5596
5595
  var DarkThemeColorConfigSchema = z.object({
5597
5596
  foreground: LightColorSchema,
5598
5597
  background: DarkColorSchema,
5599
- primary: PrimaryColorSchema,
5600
- secondary: SecondaryColorSchema,
5601
- tertiary: TertiaryColorSchema,
5602
- accent: AccentColorSchema,
5598
+ brand1: Brand1ColorSchema,
5599
+ brand2: Brand2ColorSchema,
5600
+ brand3: Brand3ColorSchema,
5603
5601
  success: SuccessColorSchema,
5604
5602
  info: InfoColorSchema,
5605
5603
  warning: WarningColorSchema,
@@ -5609,10 +5607,9 @@ var DarkThemeColorConfigSchema = z.object({
5609
5607
  var LightThemeColorConfigSchema = z.object({
5610
5608
  foreground: DarkColorSchema,
5611
5609
  background: LightColorSchema,
5612
- primary: PrimaryColorSchema,
5613
- secondary: SecondaryColorSchema,
5614
- tertiary: TertiaryColorSchema,
5615
- accent: AccentColorSchema,
5610
+ brand1: Brand1ColorSchema,
5611
+ brand2: Brand2ColorSchema,
5612
+ brand3: Brand3ColorSchema,
5616
5613
  success: SuccessColorSchema,
5617
5614
  info: InfoColorSchema,
5618
5615
  warning: WarningColorSchema,
@@ -5626,10 +5623,9 @@ var MultiThemeColorConfigSchema = z.object({
5626
5623
  var SingleThemeColorConfigSchema = z.object({
5627
5624
  dark: DarkColorSchema,
5628
5625
  light: LightColorSchema,
5629
- primary: PrimaryColorSchema,
5630
- secondary: SecondaryColorSchema,
5631
- tertiary: TertiaryColorSchema,
5632
- accent: AccentColorSchema,
5626
+ brand1: Brand1ColorSchema,
5627
+ brand2: Brand2ColorSchema,
5628
+ brand3: Brand3ColorSchema,
5633
5629
  success: SuccessColorSchema,
5634
5630
  info: InfoColorSchema,
5635
5631
  warning: WarningColorSchema,
@@ -5705,10 +5701,9 @@ var StormConfigSchema = z.object({
5705
5701
  var DEFAULT_COLOR_CONFIG = {
5706
5702
  dark: "#1d232a",
5707
5703
  light: "#f4f4f5",
5708
- primary: "#1fb2a6",
5709
- secondary: "#0ea5e9",
5710
- tertiary: "#ec5990",
5711
- accent: "#6366f1",
5704
+ brand1: "#1fb2a6",
5705
+ brand2: "#6366f1",
5706
+ brand3: "#ec5990",
5712
5707
  success: "#087f5b",
5713
5708
  info: "#0ea5e9",
5714
5709
  warning: "#fcc419",
@@ -5806,9 +5801,9 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
5806
5801
  return (message) => {
5807
5802
  console.debug(
5808
5803
  `
5809
- ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.primary ?? "#1fb2a6").whiteBright(
5804
+ ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand1 ?? "#1fb2a6").whiteBright(
5810
5805
  " \u{1F6E0} Debug "
5811
- )} ${_chalk.hex(colors.primary ?? "#1fb2a6")(formatLogMessage(message))}
5806
+ )} ${_chalk.hex(colors.brand1 ?? "#1fb2a6")(formatLogMessage(message))}
5812
5807
  `
5813
5808
  );
5814
5809
  };
@@ -5816,9 +5811,9 @@ ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.
5816
5811
  return (message) => {
5817
5812
  console.log(
5818
5813
  `
5819
- ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.primary ?? "#1fb2a6").whiteBright(
5814
+ ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand1 ?? "#1fb2a6").whiteBright(
5820
5815
  " \u2709 System "
5821
- )} ${_chalk.hex(colors.primary ?? "#1fb2a6")(formatLogMessage(message))}
5816
+ )} ${_chalk.hex(colors.brand1 ?? "#1fb2a6")(formatLogMessage(message))}
5822
5817
  `
5823
5818
  );
5824
5819
  };
@@ -5567,24 +5567,22 @@ var z = /* @__PURE__ */ Object.freeze({
5567
5567
  });
5568
5568
 
5569
5569
  // packages/config/src/schema.ts
5570
- var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d232a").describe("The dark background color of the workspace");
5570
+ var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#22272E").describe("The dark background color of the workspace");
5571
5571
  var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
5572
- var PrimaryColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary color of the workspace");
5573
- var SecondaryColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0ea5e9").describe("The secondary color of the workspace");
5574
- var TertiaryColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ec5990").describe("The tertiary color of the workspace");
5575
- var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#6366f1").describe("The accent color of the workspace");
5572
+ var Brand1ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The first brand specific color of the workspace");
5573
+ var Brand2ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#8256D0").describe("The second brand specific color of the workspace");
5574
+ var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The third brand specific color of the workspace");
5576
5575
  var SuccessColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
5577
- var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0ea5e9").describe("The informational color of the workspace");
5576
+ var InfoColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
5578
5577
  var WarningColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
5579
- var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#990000").describe("The error color of the workspace");
5580
- var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7d1a1a").describe("The fatal color of the workspace");
5578
+ var ErrorColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
5579
+ var FatalColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
5581
5580
  var DarkThemeColorConfigSchema = z.object({
5582
5581
  foreground: LightColorSchema,
5583
5582
  background: DarkColorSchema,
5584
- primary: PrimaryColorSchema,
5585
- secondary: SecondaryColorSchema,
5586
- tertiary: TertiaryColorSchema,
5587
- accent: AccentColorSchema,
5583
+ brand1: Brand1ColorSchema,
5584
+ brand2: Brand2ColorSchema,
5585
+ brand3: Brand3ColorSchema,
5588
5586
  success: SuccessColorSchema,
5589
5587
  info: InfoColorSchema,
5590
5588
  warning: WarningColorSchema,
@@ -5594,10 +5592,9 @@ var DarkThemeColorConfigSchema = z.object({
5594
5592
  var LightThemeColorConfigSchema = z.object({
5595
5593
  foreground: DarkColorSchema,
5596
5594
  background: LightColorSchema,
5597
- primary: PrimaryColorSchema,
5598
- secondary: SecondaryColorSchema,
5599
- tertiary: TertiaryColorSchema,
5600
- accent: AccentColorSchema,
5595
+ brand1: Brand1ColorSchema,
5596
+ brand2: Brand2ColorSchema,
5597
+ brand3: Brand3ColorSchema,
5601
5598
  success: SuccessColorSchema,
5602
5599
  info: InfoColorSchema,
5603
5600
  warning: WarningColorSchema,
@@ -5611,10 +5608,9 @@ var MultiThemeColorConfigSchema = z.object({
5611
5608
  var SingleThemeColorConfigSchema = z.object({
5612
5609
  dark: DarkColorSchema,
5613
5610
  light: LightColorSchema,
5614
- primary: PrimaryColorSchema,
5615
- secondary: SecondaryColorSchema,
5616
- tertiary: TertiaryColorSchema,
5617
- accent: AccentColorSchema,
5611
+ brand1: Brand1ColorSchema,
5612
+ brand2: Brand2ColorSchema,
5613
+ brand3: Brand3ColorSchema,
5618
5614
  success: SuccessColorSchema,
5619
5615
  info: InfoColorSchema,
5620
5616
  warning: WarningColorSchema,
@@ -5690,10 +5686,9 @@ var StormConfigSchema = z.object({
5690
5686
  var DEFAULT_COLOR_CONFIG = {
5691
5687
  dark: "#1d232a",
5692
5688
  light: "#f4f4f5",
5693
- primary: "#1fb2a6",
5694
- secondary: "#0ea5e9",
5695
- tertiary: "#ec5990",
5696
- accent: "#6366f1",
5689
+ brand1: "#1fb2a6",
5690
+ brand2: "#6366f1",
5691
+ brand3: "#ec5990",
5697
5692
  success: "#087f5b",
5698
5693
  info: "#0ea5e9",
5699
5694
  warning: "#fcc419",
@@ -5791,9 +5786,9 @@ ${_chalk.bold.hex(colors.info ?? "#58a6ff")(">")} ${_chalk.bold.bgHex(colors.inf
5791
5786
  return (message) => {
5792
5787
  console.debug(
5793
5788
  `
5794
- ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.primary ?? "#1fb2a6").whiteBright(
5789
+ ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand1 ?? "#1fb2a6").whiteBright(
5795
5790
  " \u{1F6E0} Debug "
5796
- )} ${_chalk.hex(colors.primary ?? "#1fb2a6")(formatLogMessage(message))}
5791
+ )} ${_chalk.hex(colors.brand1 ?? "#1fb2a6")(formatLogMessage(message))}
5797
5792
  `
5798
5793
  );
5799
5794
  };
@@ -5801,9 +5796,9 @@ ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.
5801
5796
  return (message) => {
5802
5797
  console.log(
5803
5798
  `
5804
- ${_chalk.bold.hex(colors.primary ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.primary ?? "#1fb2a6").whiteBright(
5799
+ ${_chalk.bold.hex(colors.brand1 ?? "#1fb2a6")(">")} ${_chalk.bold.bgHex(colors.brand1 ?? "#1fb2a6").whiteBright(
5805
5800
  " \u2709 System "
5806
- )} ${_chalk.hex(colors.primary ?? "#1fb2a6")(formatLogMessage(message))}
5801
+ )} ${_chalk.hex(colors.brand1 ?? "#1fb2a6")(formatLogMessage(message))}
5807
5802
  `
5808
5803
  );
5809
5804
  };