@storm-software/config-tools 1.94.0 → 1.95.1
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/CHANGELOG.md +17 -3
- package/README.md +1 -1
- package/index.cjs +28 -44
- package/index.js +28 -44
- package/meta.cjs.json +1 -1
- package/meta.esm.json +1 -1
- package/package.json +1 -1
- package/utilities/logger.cjs +22 -30
- package/utilities/logger.js +22 -30
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.95.1",
|
|
4
4
|
"description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
package/utilities/logger.cjs
CHANGED
|
@@ -5563,8 +5563,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
5563
5563
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
5564
5564
|
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");
|
|
5565
5565
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
5566
|
-
var
|
|
5567
|
-
var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
5566
|
+
var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
5568
5567
|
var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
5569
5568
|
var HelpColorSchema = 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");
|
|
5570
5569
|
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");
|
|
@@ -5576,8 +5575,7 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
5576
5575
|
foreground: LightColorSchema,
|
|
5577
5576
|
background: DarkColorSchema,
|
|
5578
5577
|
brand: BrandColorSchema,
|
|
5579
|
-
|
|
5580
|
-
brand3: Brand3ColorSchema,
|
|
5578
|
+
alternate: AlternateColorSchema,
|
|
5581
5579
|
accent: AccentColorSchema,
|
|
5582
5580
|
help: HelpColorSchema,
|
|
5583
5581
|
success: SuccessColorSchema,
|
|
@@ -5590,8 +5588,7 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
5590
5588
|
foreground: DarkColorSchema,
|
|
5591
5589
|
background: LightColorSchema,
|
|
5592
5590
|
brand: BrandColorSchema,
|
|
5593
|
-
|
|
5594
|
-
brand3: Brand3ColorSchema,
|
|
5591
|
+
alternate: AlternateColorSchema,
|
|
5595
5592
|
accent: AccentColorSchema,
|
|
5596
5593
|
help: HelpColorSchema,
|
|
5597
5594
|
success: SuccessColorSchema,
|
|
@@ -5608,8 +5605,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
5608
5605
|
dark: DarkColorSchema,
|
|
5609
5606
|
light: LightColorSchema,
|
|
5610
5607
|
brand: BrandColorSchema,
|
|
5611
|
-
|
|
5612
|
-
brand3: Brand3ColorSchema,
|
|
5608
|
+
alternate: AlternateColorSchema,
|
|
5613
5609
|
accent: AccentColorSchema,
|
|
5614
5610
|
help: HelpColorSchema,
|
|
5615
5611
|
success: SuccessColorSchema,
|
|
@@ -5699,29 +5695,25 @@ var StormConfigSchema = z.object({
|
|
|
5699
5695
|
|
|
5700
5696
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
5701
5697
|
var DEFAULT_COLOR_CONFIG = {
|
|
5702
|
-
light: {
|
|
5703
|
-
background: "#
|
|
5704
|
-
foreground: "#
|
|
5705
|
-
brand: "#1fb2a6",
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
warning: "#e3b341",
|
|
5712
|
-
error: "#a40e26"
|
|
5698
|
+
"light": {
|
|
5699
|
+
"background": "#fafafa",
|
|
5700
|
+
"foreground": "#121212",
|
|
5701
|
+
"brand": "#1fb2a6",
|
|
5702
|
+
"help": "#5C4EE5",
|
|
5703
|
+
"success": "#087f5b",
|
|
5704
|
+
"info": "#0550ae",
|
|
5705
|
+
"warning": "#e3b341",
|
|
5706
|
+
"error": "#a40e26"
|
|
5713
5707
|
},
|
|
5714
|
-
dark: {
|
|
5715
|
-
background: "#
|
|
5716
|
-
foreground: "#
|
|
5717
|
-
brand: "#
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
warning: "#F3D371",
|
|
5724
|
-
error: "#d1242f"
|
|
5708
|
+
"dark": {
|
|
5709
|
+
"background": "#22272e",
|
|
5710
|
+
"foreground": "#f0f0f0",
|
|
5711
|
+
"brand": "#3fc1b0",
|
|
5712
|
+
"help": "#5C4EE5",
|
|
5713
|
+
"success": "#10b981",
|
|
5714
|
+
"info": "#58a6ff",
|
|
5715
|
+
"warning": "#f3d371",
|
|
5716
|
+
"error": "#d1242f"
|
|
5725
5717
|
}
|
|
5726
5718
|
};
|
|
5727
5719
|
var DEFAULT_STORM_CONFIG = {
|
package/utilities/logger.js
CHANGED
|
@@ -5547,8 +5547,7 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
5547
5547
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
|
|
5548
5548
|
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");
|
|
5549
5549
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
|
|
5550
|
-
var
|
|
5551
|
-
var Brand3ColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
|
|
5550
|
+
var AlternateColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
|
|
5552
5551
|
var AccentColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
|
|
5553
5552
|
var HelpColorSchema = 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");
|
|
5554
5553
|
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");
|
|
@@ -5560,8 +5559,7 @@ var DarkThemeColorConfigSchema = z.object({
|
|
|
5560
5559
|
foreground: LightColorSchema,
|
|
5561
5560
|
background: DarkColorSchema,
|
|
5562
5561
|
brand: BrandColorSchema,
|
|
5563
|
-
|
|
5564
|
-
brand3: Brand3ColorSchema,
|
|
5562
|
+
alternate: AlternateColorSchema,
|
|
5565
5563
|
accent: AccentColorSchema,
|
|
5566
5564
|
help: HelpColorSchema,
|
|
5567
5565
|
success: SuccessColorSchema,
|
|
@@ -5574,8 +5572,7 @@ var LightThemeColorConfigSchema = z.object({
|
|
|
5574
5572
|
foreground: DarkColorSchema,
|
|
5575
5573
|
background: LightColorSchema,
|
|
5576
5574
|
brand: BrandColorSchema,
|
|
5577
|
-
|
|
5578
|
-
brand3: Brand3ColorSchema,
|
|
5575
|
+
alternate: AlternateColorSchema,
|
|
5579
5576
|
accent: AccentColorSchema,
|
|
5580
5577
|
help: HelpColorSchema,
|
|
5581
5578
|
success: SuccessColorSchema,
|
|
@@ -5592,8 +5589,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
5592
5589
|
dark: DarkColorSchema,
|
|
5593
5590
|
light: LightColorSchema,
|
|
5594
5591
|
brand: BrandColorSchema,
|
|
5595
|
-
|
|
5596
|
-
brand3: Brand3ColorSchema,
|
|
5592
|
+
alternate: AlternateColorSchema,
|
|
5597
5593
|
accent: AccentColorSchema,
|
|
5598
5594
|
help: HelpColorSchema,
|
|
5599
5595
|
success: SuccessColorSchema,
|
|
@@ -5683,29 +5679,25 @@ var StormConfigSchema = z.object({
|
|
|
5683
5679
|
|
|
5684
5680
|
// packages/config-tools/src/utilities/get-default-config.ts
|
|
5685
5681
|
var DEFAULT_COLOR_CONFIG = {
|
|
5686
|
-
light: {
|
|
5687
|
-
background: "#
|
|
5688
|
-
foreground: "#
|
|
5689
|
-
brand: "#1fb2a6",
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
warning: "#e3b341",
|
|
5696
|
-
error: "#a40e26"
|
|
5682
|
+
"light": {
|
|
5683
|
+
"background": "#fafafa",
|
|
5684
|
+
"foreground": "#121212",
|
|
5685
|
+
"brand": "#1fb2a6",
|
|
5686
|
+
"help": "#5C4EE5",
|
|
5687
|
+
"success": "#087f5b",
|
|
5688
|
+
"info": "#0550ae",
|
|
5689
|
+
"warning": "#e3b341",
|
|
5690
|
+
"error": "#a40e26"
|
|
5697
5691
|
},
|
|
5698
|
-
dark: {
|
|
5699
|
-
background: "#
|
|
5700
|
-
foreground: "#
|
|
5701
|
-
brand: "#
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
warning: "#F3D371",
|
|
5708
|
-
error: "#d1242f"
|
|
5692
|
+
"dark": {
|
|
5693
|
+
"background": "#22272e",
|
|
5694
|
+
"foreground": "#f0f0f0",
|
|
5695
|
+
"brand": "#3fc1b0",
|
|
5696
|
+
"help": "#5C4EE5",
|
|
5697
|
+
"success": "#10b981",
|
|
5698
|
+
"info": "#58a6ff",
|
|
5699
|
+
"warning": "#f3d371",
|
|
5700
|
+
"error": "#d1242f"
|
|
5709
5701
|
}
|
|
5710
5702
|
};
|
|
5711
5703
|
var DEFAULT_STORM_CONFIG = {
|