@storm-software/linting-tools 1.88.0 → 1.89.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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.89.0 (2024-11-07)
2
+
3
+ ### Features
4
+
5
+ - **config:** Add the `danger` color token ([06dba937](https://github.com/storm-software/storm-ops/commit/06dba937))
6
+
1
7
  ## 1.88.0 (2024-11-01)
2
8
 
3
9
  ### Features
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.87.6-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.88.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/lint.js CHANGED
@@ -356608,17 +356608,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
356608
356608
  });
356609
356609
 
356610
356610
  // packages/config/src/schema.ts
356611
- var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
356611
+ var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
356612
356612
  var 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");
356613
- var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
356613
+ var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
356614
356614
  var AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
356615
356615
  var AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
356616
- var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
356616
+ var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
356617
356617
  var HelpColorSchema = 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");
356618
- var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
356619
- var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
356618
+ var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
356619
+ var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
356620
356620
  var WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
356621
- var ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
356621
+ var DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
356622
356622
  var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
356623
356623
  var PositiveColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
356624
356624
  var NegativeColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
@@ -356633,7 +356633,7 @@ var DarkThemeColorConfigSchema = z2.object({
356633
356633
  success: SuccessColorSchema,
356634
356634
  info: InfoColorSchema,
356635
356635
  warning: WarningColorSchema,
356636
- error: ErrorColorSchema,
356636
+ danger: DangerColorSchema,
356637
356637
  fatal: FatalColorSchema,
356638
356638
  positive: PositiveColorSchema,
356639
356639
  negative: NegativeColorSchema
@@ -356649,7 +356649,7 @@ var LightThemeColorConfigSchema = z2.object({
356649
356649
  success: SuccessColorSchema,
356650
356650
  info: InfoColorSchema,
356651
356651
  warning: WarningColorSchema,
356652
- error: ErrorColorSchema,
356652
+ danger: DangerColorSchema,
356653
356653
  fatal: FatalColorSchema,
356654
356654
  positive: PositiveColorSchema,
356655
356655
  negative: NegativeColorSchema
@@ -356669,7 +356669,7 @@ var SingleThemeColorConfigSchema = z2.object({
356669
356669
  success: SuccessColorSchema,
356670
356670
  info: InfoColorSchema,
356671
356671
  warning: WarningColorSchema,
356672
- error: ErrorColorSchema,
356672
+ danger: DangerColorSchema,
356673
356673
  fatal: FatalColorSchema,
356674
356674
  positive: PositiveColorSchema,
356675
356675
  negative: NegativeColorSchema
@@ -356766,7 +356766,7 @@ var COLOR_KEYS = [
356766
356766
  "help",
356767
356767
  "info",
356768
356768
  "warning",
356769
- "error",
356769
+ "danger",
356770
356770
  "fatal",
356771
356771
  "positive",
356772
356772
  "negative"
@@ -356785,7 +356785,7 @@ var DEFAULT_COLOR_CONFIG = {
356785
356785
  "success": "#087f5b",
356786
356786
  "info": "#0550ae",
356787
356787
  "warning": "#e3b341",
356788
- "error": "#a40e26",
356788
+ "danger": "#D8314A",
356789
356789
  "positive": "#22c55e",
356790
356790
  "negative": "#dc2626"
356791
356791
  },
@@ -356798,7 +356798,7 @@ var DEFAULT_COLOR_CONFIG = {
356798
356798
  "success": "#10b981",
356799
356799
  "info": "#58a6ff",
356800
356800
  "warning": "#f3d371",
356801
- "error": "#d1242f",
356801
+ "danger": "#D8314A",
356802
356802
  "positive": "#22c55e",
356803
356803
  "negative": "#dc2626"
356804
356804
  }
@@ -356821,7 +356821,6 @@ var DEFAULT_STORM_CONFIG = {
356821
356821
  organization: "storm-software",
356822
356822
  configFile: null,
356823
356823
  runtimeVersion: "1.0.0",
356824
- colors: { ...DEFAULT_COLOR_CONFIG },
356825
356824
  extensions: {}
356826
356825
  };
356827
356826
  var getDefaultConfig = (config = {}, root) => {
@@ -356864,7 +356863,7 @@ var getDefaultConfig = (config = {}, root) => {
356864
356863
  }
356865
356864
  return ret;
356866
356865
  }, {}),
356867
- colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
356866
+ colors: config.colors,
356868
356867
  workspaceRoot,
356869
356868
  name,
356870
356869
  namespace,
@@ -356966,9 +356965,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
356966
356965
  return (message) => {
356967
356966
  console.error(
356968
356967
  `
356969
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
356968
+ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
356970
356969
  " \u{1F480} Fatal "
356971
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
356970
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
356972
356971
  `
356973
356972
  );
356974
356973
  };
@@ -356977,9 +356976,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
356977
356976
  return (message) => {
356978
356977
  console.error(
356979
356978
  `
356980
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
356979
+ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
356981
356980
  " \u2718 Error "
356982
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
356981
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
356983
356982
  `
356984
356983
  );
356985
356984
  };
@@ -357294,7 +357293,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
357294
357293
  success: process.env[`${prefix}SUCCESS`],
357295
357294
  info: process.env[`${prefix}INFO`],
357296
357295
  warning: process.env[`${prefix}WARNING`],
357297
- error: process.env[`${prefix}ERROR`],
357296
+ danger: process.env[`${prefix}DANGER`],
357298
357297
  fatal: process.env[`${prefix}FATAL`],
357299
357298
  positive: process.env[`${prefix}POSITIVE`],
357300
357299
  negative: process.env[`${prefix}NEGATIVE`]
@@ -357320,7 +357319,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
357320
357319
  success: process.env[`${prefix}SUCCESS`],
357321
357320
  info: process.env[`${prefix}INFO`],
357322
357321
  warning: process.env[`${prefix}WARNING`],
357323
- error: process.env[`${prefix}ERROR`],
357322
+ danger: process.env[`${prefix}DANGER`],
357324
357323
  fatal: process.env[`${prefix}FATAL`],
357325
357324
  positive: process.env[`${prefix}POSITIVE`],
357326
357325
  negative: process.env[`${prefix}NEGATIVE`]
@@ -357540,8 +357539,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
357540
357539
  if (config.warning) {
357541
357540
  process.env[`${prefix}WARNING`] = config.warning;
357542
357541
  }
357543
- if (config.error) {
357544
- process.env[`${prefix}ERROR`] = config.error;
357542
+ if (config.danger) {
357543
+ process.env[`${prefix}DANGER`] = config.danger;
357545
357544
  }
357546
357545
  if (config.fatal) {
357547
357546
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -357590,8 +357589,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
357590
357589
  if (config.warning) {
357591
357590
  process.env[`${prefix}WARNING`] = config.warning;
357592
357591
  }
357593
- if (config.error) {
357594
- process.env[`${prefix}ERROR`] = config.error;
357592
+ if (config.danger) {
357593
+ process.env[`${prefix}DANGER`] = config.danger;
357595
357594
  }
357596
357595
  if (config.fatal) {
357597
357596
  process.env[`${prefix}FATAL`] = config.fatal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/linting-tools",
3
- "version": "1.88.0",
3
+ "version": "1.89.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing various linting tools used to validate syntax, enforce design standards, and format code in a Storm workspace.",
6
6
  "repository": {
package/src/cli/index.js CHANGED
@@ -354798,17 +354798,17 @@ var z2 = /* @__PURE__ */ Object.freeze({
354798
354798
  });
354799
354799
 
354800
354800
  // packages/config/src/schema.ts
354801
- var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
354801
+ var DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
354802
354802
  var 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");
354803
- var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
354803
+ var BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
354804
354804
  var AlternateColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The alternate brand specific color of the workspace");
354805
354805
  var AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
354806
- var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display ");
354806
+ var LinkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The color used to display hyperlink text");
354807
354807
  var HelpColorSchema = 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");
354808
- var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#087f5b").describe("The success color of the workspace");
354809
- var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#316DCA").describe("The informational color of the workspace");
354808
+ var SuccessColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#12B66A").describe("The success color of the workspace");
354809
+ var InfoColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0070E0").describe("The informational color of the workspace");
354810
354810
  var WarningColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#fcc419").describe("The warning color of the workspace");
354811
- var ErrorColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#a40e26").describe("The error color of the workspace");
354811
+ var DangerColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#D8314A").describe("The danger color of the workspace");
354812
354812
  var FatalColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The fatal color of the workspace");
354813
354813
  var PositiveColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#4ade80").describe("The positive number color of the workspace");
354814
354814
  var NegativeColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#ef4444").describe("The negative number color of the workspace");
@@ -354823,7 +354823,7 @@ var DarkThemeColorConfigSchema = z2.object({
354823
354823
  success: SuccessColorSchema,
354824
354824
  info: InfoColorSchema,
354825
354825
  warning: WarningColorSchema,
354826
- error: ErrorColorSchema,
354826
+ danger: DangerColorSchema,
354827
354827
  fatal: FatalColorSchema,
354828
354828
  positive: PositiveColorSchema,
354829
354829
  negative: NegativeColorSchema
@@ -354839,7 +354839,7 @@ var LightThemeColorConfigSchema = z2.object({
354839
354839
  success: SuccessColorSchema,
354840
354840
  info: InfoColorSchema,
354841
354841
  warning: WarningColorSchema,
354842
- error: ErrorColorSchema,
354842
+ danger: DangerColorSchema,
354843
354843
  fatal: FatalColorSchema,
354844
354844
  positive: PositiveColorSchema,
354845
354845
  negative: NegativeColorSchema
@@ -354859,7 +354859,7 @@ var SingleThemeColorConfigSchema = z2.object({
354859
354859
  success: SuccessColorSchema,
354860
354860
  info: InfoColorSchema,
354861
354861
  warning: WarningColorSchema,
354862
- error: ErrorColorSchema,
354862
+ danger: DangerColorSchema,
354863
354863
  fatal: FatalColorSchema,
354864
354864
  positive: PositiveColorSchema,
354865
354865
  negative: NegativeColorSchema
@@ -354956,7 +354956,7 @@ var COLOR_KEYS = [
354956
354956
  "help",
354957
354957
  "info",
354958
354958
  "warning",
354959
- "error",
354959
+ "danger",
354960
354960
  "fatal",
354961
354961
  "positive",
354962
354962
  "negative"
@@ -354975,7 +354975,7 @@ var DEFAULT_COLOR_CONFIG = {
354975
354975
  "success": "#087f5b",
354976
354976
  "info": "#0550ae",
354977
354977
  "warning": "#e3b341",
354978
- "error": "#a40e26",
354978
+ "danger": "#D8314A",
354979
354979
  "positive": "#22c55e",
354980
354980
  "negative": "#dc2626"
354981
354981
  },
@@ -354988,7 +354988,7 @@ var DEFAULT_COLOR_CONFIG = {
354988
354988
  "success": "#10b981",
354989
354989
  "info": "#58a6ff",
354990
354990
  "warning": "#f3d371",
354991
- "error": "#d1242f",
354991
+ "danger": "#D8314A",
354992
354992
  "positive": "#22c55e",
354993
354993
  "negative": "#dc2626"
354994
354994
  }
@@ -355011,7 +355011,6 @@ var DEFAULT_STORM_CONFIG = {
355011
355011
  organization: "storm-software",
355012
355012
  configFile: null,
355013
355013
  runtimeVersion: "1.0.0",
355014
- colors: { ...DEFAULT_COLOR_CONFIG },
355015
355014
  extensions: {}
355016
355015
  };
355017
355016
  var getDefaultConfig = (config = {}, root) => {
@@ -355054,7 +355053,7 @@ var getDefaultConfig = (config = {}, root) => {
355054
355053
  }
355055
355054
  return ret;
355056
355055
  }, {}),
355057
- colors: config.colors ? { ...config.colors } : { ...DEFAULT_COLOR_CONFIG },
355056
+ colors: config.colors,
355058
355057
  workspaceRoot,
355059
355058
  name,
355060
355059
  namespace,
@@ -355156,9 +355155,9 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}) => {
355156
355155
  return (message) => {
355157
355156
  console.error(
355158
355157
  `
355159
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
355158
+ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fatal ?? "#7d1a1a").whiteBright(
355160
355159
  " \u{1F480} Fatal "
355161
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
355160
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
355162
355161
  `
355163
355162
  );
355164
355163
  };
@@ -355167,9 +355166,9 @@ ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.fa
355167
355166
  return (message) => {
355168
355167
  console.error(
355169
355168
  `
355170
- ${_chalk.bold.hex(colors.error ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.error ?? "#f85149").whiteBright(
355169
+ ${_chalk.bold.hex(colors.danger ?? "#f85149")(">")} ${_chalk.bold.bgHex(colors.danger ?? "#f85149").whiteBright(
355171
355170
  " \u2718 Error "
355172
- )} ${_chalk.hex(colors.error ?? "#f85149")(formatLogMessage(message))}
355171
+ )} ${_chalk.hex(colors.danger ?? "#f85149")(formatLogMessage(message))}
355173
355172
  `
355174
355173
  );
355175
355174
  };
@@ -355441,7 +355440,7 @@ var getSingleThemeColorConfigEnv = (prefix) => {
355441
355440
  success: process.env[`${prefix}SUCCESS`],
355442
355441
  info: process.env[`${prefix}INFO`],
355443
355442
  warning: process.env[`${prefix}WARNING`],
355444
- error: process.env[`${prefix}ERROR`],
355443
+ danger: process.env[`${prefix}DANGER`],
355445
355444
  fatal: process.env[`${prefix}FATAL`],
355446
355445
  positive: process.env[`${prefix}POSITIVE`],
355447
355446
  negative: process.env[`${prefix}NEGATIVE`]
@@ -355467,7 +355466,7 @@ var getBaseThemeColorConfigEnv = (prefix) => {
355467
355466
  success: process.env[`${prefix}SUCCESS`],
355468
355467
  info: process.env[`${prefix}INFO`],
355469
355468
  warning: process.env[`${prefix}WARNING`],
355470
- error: process.env[`${prefix}ERROR`],
355469
+ danger: process.env[`${prefix}DANGER`],
355471
355470
  fatal: process.env[`${prefix}FATAL`],
355472
355471
  positive: process.env[`${prefix}POSITIVE`],
355473
355472
  negative: process.env[`${prefix}NEGATIVE`]
@@ -355687,8 +355686,8 @@ var setSingleThemeColorConfigEnv = (prefix, config) => {
355687
355686
  if (config.warning) {
355688
355687
  process.env[`${prefix}WARNING`] = config.warning;
355689
355688
  }
355690
- if (config.error) {
355691
- process.env[`${prefix}ERROR`] = config.error;
355689
+ if (config.danger) {
355690
+ process.env[`${prefix}DANGER`] = config.danger;
355692
355691
  }
355693
355692
  if (config.fatal) {
355694
355693
  process.env[`${prefix}FATAL`] = config.fatal;
@@ -355737,8 +355736,8 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
355737
355736
  if (config.warning) {
355738
355737
  process.env[`${prefix}WARNING`] = config.warning;
355739
355738
  }
355740
- if (config.error) {
355741
- process.env[`${prefix}ERROR`] = config.error;
355739
+ if (config.danger) {
355740
+ process.env[`${prefix}DANGER`] = config.danger;
355742
355741
  }
355743
355742
  if (config.fatal) {
355744
355743
  process.env[`${prefix}FATAL`] = config.fatal;