@storm-software/config-tools 1.177.3 → 1.178.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.
Files changed (48) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-CG3ZPQSH.cjs → chunk-2LK4ZGLW.cjs} +2 -2
  3. package/dist/{chunk-Z62ZL5WE.cjs → chunk-3235YC2J.cjs} +9 -9
  4. package/dist/{chunk-VLS3MDSR.js → chunk-3TO7MEJT.js} +10 -1
  5. package/dist/{chunk-HRYS4NSW.js → chunk-BTZVY4J2.js} +1 -1
  6. package/dist/{chunk-QPNEQJUQ.cjs → chunk-EDQ2BMIV.cjs} +3 -3
  7. package/dist/{chunk-HUE33BQZ.js → chunk-EK7IXIHA.js} +1 -1
  8. package/dist/{chunk-KHLQU66A.js → chunk-FBMPJNMM.js} +2 -2
  9. package/dist/{chunk-WUZAZNK3.cjs → chunk-GJ7QM6FN.cjs} +9 -9
  10. package/dist/{chunk-FNCPJCRZ.js → chunk-NYDB5GIZ.js} +1 -1
  11. package/dist/{chunk-GVHRCPKH.cjs → chunk-PQATN7O6.cjs} +10 -10
  12. package/dist/{chunk-R4UCFEO2.js → chunk-TFYMXKIT.js} +1 -1
  13. package/dist/{chunk-NAULCOC3.js → chunk-TTT5G3NU.js} +1 -1
  14. package/dist/{chunk-5WYSI634.js → chunk-X56PD6LB.js} +1 -1
  15. package/dist/{chunk-AKMWVY6J.cjs → chunk-XA4G3MSV.cjs} +10 -10
  16. package/dist/{chunk-R4QJBJ5S.cjs → chunk-YGJGYNZL.cjs} +10 -1
  17. package/dist/{chunk-BWNFZH2S.cjs → chunk-ZTCEXE7T.cjs} +3 -3
  18. package/dist/config-file/get-config-file.cjs +7 -7
  19. package/dist/config-file/get-config-file.js +6 -6
  20. package/dist/config-file/index.cjs +7 -7
  21. package/dist/config-file/index.js +6 -6
  22. package/dist/create-storm-config.cjs +8 -8
  23. package/dist/create-storm-config.js +7 -7
  24. package/dist/get-config.cjs +9 -9
  25. package/dist/get-config.js +8 -8
  26. package/dist/index.cjs +11 -9
  27. package/dist/index.d.cts +1 -1
  28. package/dist/index.d.ts +1 -1
  29. package/dist/index.js +11 -9
  30. package/dist/logger/console.cjs +3 -3
  31. package/dist/logger/console.js +2 -2
  32. package/dist/logger/create-logger.cjs +4 -4
  33. package/dist/logger/create-logger.js +3 -3
  34. package/dist/logger/index.cjs +4 -4
  35. package/dist/logger/index.js +3 -3
  36. package/dist/utilities/colors.cjs +4 -2
  37. package/dist/utilities/colors.d.cts +50 -35
  38. package/dist/utilities/colors.d.ts +50 -35
  39. package/dist/utilities/colors.js +5 -3
  40. package/dist/utilities/index.cjs +8 -6
  41. package/dist/utilities/index.d.cts +2 -1
  42. package/dist/utilities/index.d.ts +2 -1
  43. package/dist/utilities/index.js +8 -6
  44. package/dist/utilities/process-handler.cjs +4 -4
  45. package/dist/utilities/process-handler.js +3 -3
  46. package/dist/utilities/toml.cjs +5 -5
  47. package/dist/utilities/toml.js +4 -4
  48. package/package.json +3 -3
@@ -3,21 +3,21 @@ import {
3
3
  createStormWorkspaceConfig,
4
4
  loadStormWorkspaceConfig,
5
5
  tryLoadStormWorkspaceConfig
6
- } from "./chunk-KHLQU66A.js";
7
- import "./chunk-FNCPJCRZ.js";
6
+ } from "./chunk-FBMPJNMM.js";
7
+ import "./chunk-NYDB5GIZ.js";
8
8
  import "./chunk-UKGRDKIH.js";
9
- import "./chunk-5WYSI634.js";
9
+ import "./chunk-X56PD6LB.js";
10
10
  import "./chunk-6RVIJKY3.js";
11
- import "./chunk-HRYS4NSW.js";
11
+ import "./chunk-BTZVY4J2.js";
12
12
  import "./chunk-ZVT775K3.js";
13
13
  import "./chunk-WYQYWPLE.js";
14
14
  import "./chunk-5BZL5JNY.js";
15
15
  import "./chunk-SZXSPLS6.js";
16
16
  import "./chunk-6JBGUE4A.js";
17
17
  import "./chunk-RRKB32OH.js";
18
- import "./chunk-NAULCOC3.js";
19
- import "./chunk-HUE33BQZ.js";
20
- import "./chunk-VLS3MDSR.js";
18
+ import "./chunk-TTT5G3NU.js";
19
+ import "./chunk-EK7IXIHA.js";
20
+ import "./chunk-3TO7MEJT.js";
21
21
  import "./chunk-HVVJHTFS.js";
22
22
  import "./chunk-LM2UMGYA.js";
23
23
  import "./chunk-G2MK47WL.js";
@@ -2,22 +2,22 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkQPNEQJUQcjs = require('./chunk-QPNEQJUQ.cjs');
6
- require('./chunk-GVHRCPKH.cjs');
7
- require('./chunk-BWNFZH2S.cjs');
5
+ var _chunkEDQ2BMIVcjs = require('./chunk-EDQ2BMIV.cjs');
6
+ require('./chunk-PQATN7O6.cjs');
7
+ require('./chunk-ZTCEXE7T.cjs');
8
8
  require('./chunk-3COHMHPU.cjs');
9
- require('./chunk-WUZAZNK3.cjs');
9
+ require('./chunk-GJ7QM6FN.cjs');
10
10
  require('./chunk-DQT6QJRQ.cjs');
11
- require('./chunk-CG3ZPQSH.cjs');
11
+ require('./chunk-2LK4ZGLW.cjs');
12
12
  require('./chunk-J7BFGUIX.cjs');
13
13
  require('./chunk-JMI7BRL7.cjs');
14
14
  require('./chunk-MBEJXPRQ.cjs');
15
15
  require('./chunk-NOTWBXXM.cjs');
16
16
  require('./chunk-N3UX6L7X.cjs');
17
17
  require('./chunk-7PV6L7I7.cjs');
18
- require('./chunk-Z62ZL5WE.cjs');
19
- require('./chunk-AKMWVY6J.cjs');
20
- require('./chunk-R4QJBJ5S.cjs');
18
+ require('./chunk-3235YC2J.cjs');
19
+ require('./chunk-XA4G3MSV.cjs');
20
+ require('./chunk-YGJGYNZL.cjs');
21
21
  require('./chunk-LOY6ICHZ.cjs');
22
22
  require('./chunk-WBQ4VS7E.cjs');
23
23
  require('./chunk-DTGT4OI3.cjs');
@@ -31,4 +31,4 @@ require('./chunk-IRCFHYKZ.cjs');
31
31
 
32
32
 
33
33
 
34
- exports.getConfig = _chunkQPNEQJUQcjs.getConfig; exports.getWorkspaceConfig = _chunkQPNEQJUQcjs.getWorkspaceConfig; exports.tryGetWorkspaceConfig = _chunkQPNEQJUQcjs.tryGetWorkspaceConfig;
34
+ exports.getConfig = _chunkEDQ2BMIVcjs.getConfig; exports.getWorkspaceConfig = _chunkEDQ2BMIVcjs.getWorkspaceConfig; exports.tryGetWorkspaceConfig = _chunkEDQ2BMIVcjs.tryGetWorkspaceConfig;
@@ -2,22 +2,22 @@ import {
2
2
  getConfig,
3
3
  getWorkspaceConfig,
4
4
  tryGetWorkspaceConfig
5
- } from "./chunk-R4UCFEO2.js";
6
- import "./chunk-KHLQU66A.js";
7
- import "./chunk-FNCPJCRZ.js";
5
+ } from "./chunk-TFYMXKIT.js";
6
+ import "./chunk-FBMPJNMM.js";
7
+ import "./chunk-NYDB5GIZ.js";
8
8
  import "./chunk-UKGRDKIH.js";
9
- import "./chunk-5WYSI634.js";
9
+ import "./chunk-X56PD6LB.js";
10
10
  import "./chunk-6RVIJKY3.js";
11
- import "./chunk-HRYS4NSW.js";
11
+ import "./chunk-BTZVY4J2.js";
12
12
  import "./chunk-ZVT775K3.js";
13
13
  import "./chunk-WYQYWPLE.js";
14
14
  import "./chunk-5BZL5JNY.js";
15
15
  import "./chunk-SZXSPLS6.js";
16
16
  import "./chunk-6JBGUE4A.js";
17
17
  import "./chunk-RRKB32OH.js";
18
- import "./chunk-NAULCOC3.js";
19
- import "./chunk-HUE33BQZ.js";
20
- import "./chunk-VLS3MDSR.js";
18
+ import "./chunk-TTT5G3NU.js";
19
+ import "./chunk-EK7IXIHA.js";
20
+ import "./chunk-3TO7MEJT.js";
21
21
  import "./chunk-HVVJHTFS.js";
22
22
  import "./chunk-LM2UMGYA.js";
23
23
  import "./chunk-G2MK47WL.js";
package/dist/index.cjs CHANGED
@@ -2,24 +2,24 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkQPNEQJUQcjs = require('./chunk-QPNEQJUQ.cjs');
5
+ var _chunkEDQ2BMIVcjs = require('./chunk-EDQ2BMIV.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkGVHRCPKHcjs = require('./chunk-GVHRCPKH.cjs');
11
+ var _chunkPQATN7O6cjs = require('./chunk-PQATN7O6.cjs');
12
12
  require('./chunk-IWD6YQKX.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkBWNFZH2Scjs = require('./chunk-BWNFZH2S.cjs');
16
+ var _chunkZTCEXE7Tcjs = require('./chunk-ZTCEXE7T.cjs');
17
17
  require('./chunk-3COHMHPU.cjs');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkWUZAZNK3cjs = require('./chunk-WUZAZNK3.cjs');
22
+ var _chunkGJ7QM6FNcjs = require('./chunk-GJ7QM6FN.cjs');
23
23
 
24
24
 
25
25
 
@@ -31,7 +31,7 @@ var _chunkDQT6QJRQcjs = require('./chunk-DQT6QJRQ.cjs');
31
31
 
32
32
 
33
33
 
34
- var _chunkCG3ZPQSHcjs = require('./chunk-CG3ZPQSH.cjs');
34
+ var _chunk2LK4ZGLWcjs = require('./chunk-2LK4ZGLW.cjs');
35
35
 
36
36
 
37
37
 
@@ -54,7 +54,7 @@ require('./chunk-N3UX6L7X.cjs');
54
54
  require('./chunk-7PV6L7I7.cjs');
55
55
 
56
56
 
57
- var _chunkZ62ZL5WEcjs = require('./chunk-Z62ZL5WE.cjs');
57
+ var _chunk3235YC2Jcjs = require('./chunk-3235YC2J.cjs');
58
58
 
59
59
 
60
60
 
@@ -67,12 +67,13 @@ var _chunkZ62ZL5WEcjs = require('./chunk-Z62ZL5WE.cjs');
67
67
 
68
68
 
69
69
 
70
- var _chunkAKMWVY6Jcjs = require('./chunk-AKMWVY6J.cjs');
70
+ var _chunkXA4G3MSVcjs = require('./chunk-XA4G3MSV.cjs');
71
71
 
72
72
 
73
73
 
74
74
 
75
- var _chunkR4QJBJ5Scjs = require('./chunk-R4QJBJ5S.cjs');
75
+
76
+ var _chunkYGJGYNZLcjs = require('./chunk-YGJGYNZL.cjs');
76
77
 
77
78
 
78
79
  var _chunkLOY6ICHZcjs = require('./chunk-LOY6ICHZ.cjs');
@@ -192,4 +193,5 @@ var _chunkIRCFHYKZcjs = require('./chunk-IRCFHYKZ.cjs');
192
193
 
193
194
 
194
195
 
195
- exports.CONSOLE_ICONS = _chunkWBQ4VS7Ecjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkR4QJBJ5Scjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkDQT6QJRQcjs.LARGE_BUFFER; exports.LogLevel = _chunkIRCFHYKZcjs.LogLevel; exports.LogLevelLabel = _chunkIRCFHYKZcjs.LogLevelLabel; exports.applyDefaultConfig = _chunkMBEJXPRQcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkJ7BFGUIXcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkJ7BFGUIXcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkJ7BFGUIXcjs.applyWorkspaceTokens; exports.basename = _chunkM3REM2FUcjs.basename; exports.correctPaths = _chunkM3REM2FUcjs.correctPaths; exports.createConfigExtension = _chunkGVHRCPKHcjs.createConfigExtension; exports.createLogger = _chunkZ62ZL5WEcjs.createLogger; exports.createStormWorkspaceConfig = _chunkGVHRCPKHcjs.createStormWorkspaceConfig; exports.dirname = _chunkM3REM2FUcjs.dirname; exports.exitWithError = _chunkWUZAZNK3cjs.exitWithError; exports.exitWithSuccess = _chunkWUZAZNK3cjs.exitWithSuccess; exports.extname = _chunkM3REM2FUcjs.extname; exports.findFileName = _chunkJMI7BRL7cjs.findFileName; exports.findFilePath = _chunkJMI7BRL7cjs.findFilePath; exports.findWorkspaceRoot = _chunkNOTWBXXMcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkNOTWBXXMcjs.findWorkspaceRootSafe; exports.format = _chunkM3REM2FUcjs.format; exports.formatLogMessage = _chunkAKMWVY6Jcjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getColor = _chunkR4QJBJ5Scjs.getColor; exports.getColorConfig = _chunkR4QJBJ5Scjs.getColorConfig; exports.getConfig = _chunkQPNEQJUQcjs.getConfig; exports.getConfigEnv = _chunkCLT4IIBScjs.getConfigEnv; exports.getConfigFile = _chunkBWNFZH2Scjs.getConfigFile; exports.getConfigFileByName = _chunkBWNFZH2Scjs.getConfigFileByName; exports.getExtensionEnv = _chunkCLT4IIBScjs.getExtensionEnv; exports.getLogFn = _chunkAKMWVY6Jcjs.getLogFn; exports.getLogLevel = _chunk4PX5UVANcjs.getLogLevel; exports.getLogLevelLabel = _chunk4PX5UVANcjs.getLogLevelLabel; exports.getPackageJsonConfig = _chunkMBEJXPRQcjs.getPackageJsonConfig; exports.getStopwatch = _chunkAKMWVY6Jcjs.getStopwatch; exports.getWorkspaceConfig = _chunkQPNEQJUQcjs.getWorkspaceConfig; exports.handleProcess = _chunkWUZAZNK3cjs.handleProcess; exports.isAbsolute = _chunkM3REM2FUcjs.isAbsolute; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunk4PX5UVANcjs.isVerbose; exports.joinPaths = _chunkM3REM2FUcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunkGVHRCPKHcjs.loadStormWorkspaceConfig; exports.modifyCargoNestedTable = _chunkCG3ZPQSHcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkCG3ZPQSHcjs.modifyCargoTable; exports.normalizeString = _chunkM3REM2FUcjs.normalizeString; exports.normalizeWindowsPath = _chunkM3REM2FUcjs.normalizeWindowsPath; exports.parse = _chunkM3REM2FUcjs.parse; exports.parseCargoToml = _chunkCG3ZPQSHcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkCG3ZPQSHcjs.parseCargoTomlWithTree; exports.relative = _chunkM3REM2FUcjs.relative; exports.removeExtension = _chunkJMI7BRL7cjs.removeExtension; exports.resolve = _chunkM3REM2FUcjs.resolve; exports.run = _chunkDQT6QJRQcjs.run; exports.runAsync = _chunkDQT6QJRQcjs.runAsync; exports.sep = _chunkM3REM2FUcjs.sep; exports.setConfigEnv = _chunkCO4ZADWXcjs.setConfigEnv; exports.setExtensionEnv = _chunkCO4ZADWXcjs.setExtensionEnv; exports.stringifyCargoToml = _chunkCG3ZPQSHcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkM3REM2FUcjs.toNamespacedPath; exports.tryGetWorkspaceConfig = _chunkQPNEQJUQcjs.tryGetWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkGVHRCPKHcjs.tryLoadStormWorkspaceConfig; exports.writeDebug = _chunkAKMWVY6Jcjs.writeDebug; exports.writeError = _chunkAKMWVY6Jcjs.writeError; exports.writeFatal = _chunkAKMWVY6Jcjs.writeFatal; exports.writeInfo = _chunkAKMWVY6Jcjs.writeInfo; exports.writeSuccess = _chunkAKMWVY6Jcjs.writeSuccess; exports.writeSystem = _chunkAKMWVY6Jcjs.writeSystem; exports.writeTrace = _chunkAKMWVY6Jcjs.writeTrace; exports.writeWarning = _chunkAKMWVY6Jcjs.writeWarning;
196
+
197
+ exports.CONSOLE_ICONS = _chunkWBQ4VS7Ecjs.CONSOLE_ICONS; exports.DEFAULT_COLOR_CONFIG = _chunkYGJGYNZLcjs.DEFAULT_COLOR_CONFIG; exports.LARGE_BUFFER = _chunkDQT6QJRQcjs.LARGE_BUFFER; exports.LogLevel = _chunkIRCFHYKZcjs.LogLevel; exports.LogLevelLabel = _chunkIRCFHYKZcjs.LogLevelLabel; exports.applyDefaultConfig = _chunkMBEJXPRQcjs.applyDefaultConfig; exports.applyWorkspaceBaseTokens = _chunkJ7BFGUIXcjs.applyWorkspaceBaseTokens; exports.applyWorkspaceProjectTokens = _chunkJ7BFGUIXcjs.applyWorkspaceProjectTokens; exports.applyWorkspaceTokens = _chunkJ7BFGUIXcjs.applyWorkspaceTokens; exports.basename = _chunkM3REM2FUcjs.basename; exports.correctPaths = _chunkM3REM2FUcjs.correctPaths; exports.createConfigExtension = _chunkPQATN7O6cjs.createConfigExtension; exports.createLogger = _chunk3235YC2Jcjs.createLogger; exports.createStormWorkspaceConfig = _chunkPQATN7O6cjs.createStormWorkspaceConfig; exports.dirname = _chunkM3REM2FUcjs.dirname; exports.exitWithError = _chunkGJ7QM6FNcjs.exitWithError; exports.exitWithSuccess = _chunkGJ7QM6FNcjs.exitWithSuccess; exports.extname = _chunkM3REM2FUcjs.extname; exports.findFileName = _chunkJMI7BRL7cjs.findFileName; exports.findFilePath = _chunkJMI7BRL7cjs.findFilePath; exports.findWorkspaceRoot = _chunkNOTWBXXMcjs.findWorkspaceRoot; exports.findWorkspaceRootSafe = _chunkNOTWBXXMcjs.findWorkspaceRootSafe; exports.format = _chunkM3REM2FUcjs.format; exports.formatLogMessage = _chunkXA4G3MSVcjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getColor = _chunkYGJGYNZLcjs.getColor; exports.getColorConfig = _chunkYGJGYNZLcjs.getColorConfig; exports.getConfig = _chunkEDQ2BMIVcjs.getConfig; exports.getConfigEnv = _chunkCLT4IIBScjs.getConfigEnv; exports.getConfigFile = _chunkZTCEXE7Tcjs.getConfigFile; exports.getConfigFileByName = _chunkZTCEXE7Tcjs.getConfigFileByName; exports.getExtensionEnv = _chunkCLT4IIBScjs.getExtensionEnv; exports.getGradient = _chunkYGJGYNZLcjs.getGradient; exports.getLogFn = _chunkXA4G3MSVcjs.getLogFn; exports.getLogLevel = _chunk4PX5UVANcjs.getLogLevel; exports.getLogLevelLabel = _chunk4PX5UVANcjs.getLogLevelLabel; exports.getPackageJsonConfig = _chunkMBEJXPRQcjs.getPackageJsonConfig; exports.getStopwatch = _chunkXA4G3MSVcjs.getStopwatch; exports.getWorkspaceConfig = _chunkEDQ2BMIVcjs.getWorkspaceConfig; exports.handleProcess = _chunkGJ7QM6FNcjs.handleProcess; exports.isAbsolute = _chunkM3REM2FUcjs.isAbsolute; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunk4PX5UVANcjs.isVerbose; exports.joinPaths = _chunkM3REM2FUcjs.joinPaths; exports.loadStormWorkspaceConfig = _chunkPQATN7O6cjs.loadStormWorkspaceConfig; exports.modifyCargoNestedTable = _chunk2LK4ZGLWcjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunk2LK4ZGLWcjs.modifyCargoTable; exports.normalizeString = _chunkM3REM2FUcjs.normalizeString; exports.normalizeWindowsPath = _chunkM3REM2FUcjs.normalizeWindowsPath; exports.parse = _chunkM3REM2FUcjs.parse; exports.parseCargoToml = _chunk2LK4ZGLWcjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunk2LK4ZGLWcjs.parseCargoTomlWithTree; exports.relative = _chunkM3REM2FUcjs.relative; exports.removeExtension = _chunkJMI7BRL7cjs.removeExtension; exports.resolve = _chunkM3REM2FUcjs.resolve; exports.run = _chunkDQT6QJRQcjs.run; exports.runAsync = _chunkDQT6QJRQcjs.runAsync; exports.sep = _chunkM3REM2FUcjs.sep; exports.setConfigEnv = _chunkCO4ZADWXcjs.setConfigEnv; exports.setExtensionEnv = _chunkCO4ZADWXcjs.setExtensionEnv; exports.stringifyCargoToml = _chunk2LK4ZGLWcjs.stringifyCargoToml; exports.toNamespacedPath = _chunkM3REM2FUcjs.toNamespacedPath; exports.tryGetWorkspaceConfig = _chunkEDQ2BMIVcjs.tryGetWorkspaceConfig; exports.tryLoadStormWorkspaceConfig = _chunkPQATN7O6cjs.tryLoadStormWorkspaceConfig; exports.writeDebug = _chunkXA4G3MSVcjs.writeDebug; exports.writeError = _chunkXA4G3MSVcjs.writeError; exports.writeFatal = _chunkXA4G3MSVcjs.writeFatal; exports.writeInfo = _chunkXA4G3MSVcjs.writeInfo; exports.writeSuccess = _chunkXA4G3MSVcjs.writeSuccess; exports.writeSystem = _chunkXA4G3MSVcjs.writeSystem; exports.writeTrace = _chunkXA4G3MSVcjs.writeTrace; exports.writeWarning = _chunkXA4G3MSVcjs.writeWarning;
package/dist/index.d.cts CHANGED
@@ -12,7 +12,7 @@ export { getLogLevel, getLogLevelLabel, isVerbose } from './logger/get-log-level
12
12
  export { isUnicodeSupported } from './logger/is-unicode-supported.cjs';
13
13
  export { BaseTokenizerOptions, DeepPartial, LogLevel, LogLevelLabel, Logger, ProjectTokenizerOptions } from './types.cjs';
14
14
  export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens } from './utilities/apply-workspace-tokens.cjs';
15
- export { DEFAULT_COLOR_CONFIG, getColor, getColorConfig } from './utilities/colors.cjs';
15
+ export { DEFAULT_COLOR_CONFIG, getColor, getColorConfig, getGradient } from './utilities/colors.cjs';
16
16
  export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from './utilities/correct-paths.cjs';
17
17
  export { FindFileNameOptions, findFileName, findFilePath, removeExtension } from './utilities/file-path-utils.cjs';
18
18
  export { findWorkspaceRoot, findWorkspaceRootSafe } from './utilities/find-workspace-root.cjs';
package/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ export { getLogLevel, getLogLevelLabel, isVerbose } from './logger/get-log-level
12
12
  export { isUnicodeSupported } from './logger/is-unicode-supported.js';
13
13
  export { BaseTokenizerOptions, DeepPartial, LogLevel, LogLevelLabel, Logger, ProjectTokenizerOptions } from './types.js';
14
14
  export { applyWorkspaceBaseTokens, applyWorkspaceProjectTokens, applyWorkspaceTokens } from './utilities/apply-workspace-tokens.js';
15
- export { DEFAULT_COLOR_CONFIG, getColor, getColorConfig } from './utilities/colors.js';
15
+ export { DEFAULT_COLOR_CONFIG, getColor, getColorConfig, getGradient } from './utilities/colors.js';
16
16
  export { basename, correctPaths, dirname, extname, format, isAbsolute, joinPaths, normalizeString, normalizeWindowsPath, parse, relative, resolve, sep, toNamespacedPath } from './utilities/correct-paths.js';
17
17
  export { FindFileNameOptions, findFileName, findFilePath, removeExtension } from './utilities/file-path-utils.js';
18
18
  export { findWorkspaceRoot, findWorkspaceRootSafe } from './utilities/find-workspace-root.js';
package/dist/index.js CHANGED
@@ -2,24 +2,24 @@ import {
2
2
  getConfig,
3
3
  getWorkspaceConfig,
4
4
  tryGetWorkspaceConfig
5
- } from "./chunk-R4UCFEO2.js";
5
+ } from "./chunk-TFYMXKIT.js";
6
6
  import {
7
7
  createConfigExtension,
8
8
  createStormWorkspaceConfig,
9
9
  loadStormWorkspaceConfig,
10
10
  tryLoadStormWorkspaceConfig
11
- } from "./chunk-KHLQU66A.js";
11
+ } from "./chunk-FBMPJNMM.js";
12
12
  import "./chunk-2AVLCXLT.js";
13
13
  import {
14
14
  getConfigFile,
15
15
  getConfigFileByName
16
- } from "./chunk-FNCPJCRZ.js";
16
+ } from "./chunk-NYDB5GIZ.js";
17
17
  import "./chunk-UKGRDKIH.js";
18
18
  import {
19
19
  exitWithError,
20
20
  exitWithSuccess,
21
21
  handleProcess
22
- } from "./chunk-5WYSI634.js";
22
+ } from "./chunk-X56PD6LB.js";
23
23
  import {
24
24
  LARGE_BUFFER,
25
25
  run,
@@ -31,7 +31,7 @@ import {
31
31
  parseCargoToml,
32
32
  parseCargoTomlWithTree,
33
33
  stringifyCargoToml
34
- } from "./chunk-HRYS4NSW.js";
34
+ } from "./chunk-BTZVY4J2.js";
35
35
  import {
36
36
  applyWorkspaceBaseTokens,
37
37
  applyWorkspaceProjectTokens,
@@ -54,7 +54,7 @@ import "./chunk-6JBGUE4A.js";
54
54
  import "./chunk-RRKB32OH.js";
55
55
  import {
56
56
  createLogger
57
- } from "./chunk-NAULCOC3.js";
57
+ } from "./chunk-TTT5G3NU.js";
58
58
  import {
59
59
  formatLogMessage,
60
60
  getLogFn,
@@ -67,12 +67,13 @@ import {
67
67
  writeSystem,
68
68
  writeTrace,
69
69
  writeWarning
70
- } from "./chunk-HUE33BQZ.js";
70
+ } from "./chunk-EK7IXIHA.js";
71
71
  import {
72
72
  DEFAULT_COLOR_CONFIG,
73
73
  getColor,
74
- getColorConfig
75
- } from "./chunk-VLS3MDSR.js";
74
+ getColorConfig,
75
+ getGradient
76
+ } from "./chunk-3TO7MEJT.js";
76
77
  import {
77
78
  getChalk
78
79
  } from "./chunk-HVVJHTFS.js";
@@ -153,6 +154,7 @@ export {
153
154
  getConfigFile,
154
155
  getConfigFileByName,
155
156
  getExtensionEnv,
157
+ getGradient,
156
158
  getLogFn,
157
159
  getLogLevel,
158
160
  getLogLevelLabel,
@@ -10,8 +10,8 @@
10
10
 
11
11
 
12
12
 
13
- var _chunkAKMWVY6Jcjs = require('../chunk-AKMWVY6J.cjs');
14
- require('../chunk-R4QJBJ5S.cjs');
13
+ var _chunkXA4G3MSVcjs = require('../chunk-XA4G3MSV.cjs');
14
+ require('../chunk-YGJGYNZL.cjs');
15
15
  require('../chunk-LOY6ICHZ.cjs');
16
16
  require('../chunk-WBQ4VS7E.cjs');
17
17
  require('../chunk-DTGT4OI3.cjs');
@@ -30,4 +30,4 @@ require('../chunk-IRCFHYKZ.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.formatLogMessage = _chunkAKMWVY6Jcjs.formatLogMessage; exports.getLogFn = _chunkAKMWVY6Jcjs.getLogFn; exports.getStopwatch = _chunkAKMWVY6Jcjs.getStopwatch; exports.writeDebug = _chunkAKMWVY6Jcjs.writeDebug; exports.writeError = _chunkAKMWVY6Jcjs.writeError; exports.writeFatal = _chunkAKMWVY6Jcjs.writeFatal; exports.writeInfo = _chunkAKMWVY6Jcjs.writeInfo; exports.writeSuccess = _chunkAKMWVY6Jcjs.writeSuccess; exports.writeSystem = _chunkAKMWVY6Jcjs.writeSystem; exports.writeTrace = _chunkAKMWVY6Jcjs.writeTrace; exports.writeWarning = _chunkAKMWVY6Jcjs.writeWarning;
33
+ exports.formatLogMessage = _chunkXA4G3MSVcjs.formatLogMessage; exports.getLogFn = _chunkXA4G3MSVcjs.getLogFn; exports.getStopwatch = _chunkXA4G3MSVcjs.getStopwatch; exports.writeDebug = _chunkXA4G3MSVcjs.writeDebug; exports.writeError = _chunkXA4G3MSVcjs.writeError; exports.writeFatal = _chunkXA4G3MSVcjs.writeFatal; exports.writeInfo = _chunkXA4G3MSVcjs.writeInfo; exports.writeSuccess = _chunkXA4G3MSVcjs.writeSuccess; exports.writeSystem = _chunkXA4G3MSVcjs.writeSystem; exports.writeTrace = _chunkXA4G3MSVcjs.writeTrace; exports.writeWarning = _chunkXA4G3MSVcjs.writeWarning;
@@ -10,8 +10,8 @@ import {
10
10
  writeSystem,
11
11
  writeTrace,
12
12
  writeWarning
13
- } from "../chunk-HUE33BQZ.js";
14
- import "../chunk-VLS3MDSR.js";
13
+ } from "../chunk-EK7IXIHA.js";
14
+ import "../chunk-3TO7MEJT.js";
15
15
  import "../chunk-HVVJHTFS.js";
16
16
  import "../chunk-LM2UMGYA.js";
17
17
  import "../chunk-G2MK47WL.js";
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkZ62ZL5WEcjs = require('../chunk-Z62ZL5WE.cjs');
4
- require('../chunk-AKMWVY6J.cjs');
5
- require('../chunk-R4QJBJ5S.cjs');
3
+ var _chunk3235YC2Jcjs = require('../chunk-3235YC2J.cjs');
4
+ require('../chunk-XA4G3MSV.cjs');
5
+ require('../chunk-YGJGYNZL.cjs');
6
6
  require('../chunk-LOY6ICHZ.cjs');
7
7
  require('../chunk-WBQ4VS7E.cjs');
8
8
  require('../chunk-DTGT4OI3.cjs');
@@ -11,4 +11,4 @@ require('../chunk-4PX5UVAN.cjs');
11
11
  require('../chunk-IRCFHYKZ.cjs');
12
12
 
13
13
 
14
- exports.createLogger = _chunkZ62ZL5WEcjs.createLogger;
14
+ exports.createLogger = _chunk3235YC2Jcjs.createLogger;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  createLogger
3
- } from "../chunk-NAULCOC3.js";
4
- import "../chunk-HUE33BQZ.js";
5
- import "../chunk-VLS3MDSR.js";
3
+ } from "../chunk-TTT5G3NU.js";
4
+ import "../chunk-EK7IXIHA.js";
5
+ import "../chunk-3TO7MEJT.js";
6
6
  import "../chunk-HVVJHTFS.js";
7
7
  import "../chunk-LM2UMGYA.js";
8
8
  import "../chunk-G2MK47WL.js";
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-7PV6L7I7.cjs');
2
2
 
3
3
 
4
- var _chunkZ62ZL5WEcjs = require('../chunk-Z62ZL5WE.cjs');
4
+ var _chunk3235YC2Jcjs = require('../chunk-3235YC2J.cjs');
5
5
 
6
6
 
7
7
 
@@ -14,8 +14,8 @@ var _chunkZ62ZL5WEcjs = require('../chunk-Z62ZL5WE.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkAKMWVY6Jcjs = require('../chunk-AKMWVY6J.cjs');
18
- require('../chunk-R4QJBJ5S.cjs');
17
+ var _chunkXA4G3MSVcjs = require('../chunk-XA4G3MSV.cjs');
18
+ require('../chunk-YGJGYNZL.cjs');
19
19
 
20
20
 
21
21
  var _chunkLOY6ICHZcjs = require('../chunk-LOY6ICHZ.cjs');
@@ -54,4 +54,4 @@ require('../chunk-IRCFHYKZ.cjs');
54
54
 
55
55
 
56
56
 
57
- exports.CONSOLE_ICONS = _chunkWBQ4VS7Ecjs.CONSOLE_ICONS; exports.createLogger = _chunkZ62ZL5WEcjs.createLogger; exports.formatLogMessage = _chunkAKMWVY6Jcjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getLogFn = _chunkAKMWVY6Jcjs.getLogFn; exports.getLogLevel = _chunk4PX5UVANcjs.getLogLevel; exports.getLogLevelLabel = _chunk4PX5UVANcjs.getLogLevelLabel; exports.getStopwatch = _chunkAKMWVY6Jcjs.getStopwatch; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunk4PX5UVANcjs.isVerbose; exports.writeDebug = _chunkAKMWVY6Jcjs.writeDebug; exports.writeError = _chunkAKMWVY6Jcjs.writeError; exports.writeFatal = _chunkAKMWVY6Jcjs.writeFatal; exports.writeInfo = _chunkAKMWVY6Jcjs.writeInfo; exports.writeSuccess = _chunkAKMWVY6Jcjs.writeSuccess; exports.writeSystem = _chunkAKMWVY6Jcjs.writeSystem; exports.writeTrace = _chunkAKMWVY6Jcjs.writeTrace; exports.writeWarning = _chunkAKMWVY6Jcjs.writeWarning;
57
+ exports.CONSOLE_ICONS = _chunkWBQ4VS7Ecjs.CONSOLE_ICONS; exports.createLogger = _chunk3235YC2Jcjs.createLogger; exports.formatLogMessage = _chunkXA4G3MSVcjs.formatLogMessage; exports.formatTimestamp = _chunkBN6MEGGYcjs.formatTimestamp; exports.getChalk = _chunkLOY6ICHZcjs.getChalk; exports.getLogFn = _chunkXA4G3MSVcjs.getLogFn; exports.getLogLevel = _chunk4PX5UVANcjs.getLogLevel; exports.getLogLevelLabel = _chunk4PX5UVANcjs.getLogLevelLabel; exports.getStopwatch = _chunkXA4G3MSVcjs.getStopwatch; exports.isUnicodeSupported = _chunkDTGT4OI3cjs.isUnicodeSupported; exports.isVerbose = _chunk4PX5UVANcjs.isVerbose; exports.writeDebug = _chunkXA4G3MSVcjs.writeDebug; exports.writeError = _chunkXA4G3MSVcjs.writeError; exports.writeFatal = _chunkXA4G3MSVcjs.writeFatal; exports.writeInfo = _chunkXA4G3MSVcjs.writeInfo; exports.writeSuccess = _chunkXA4G3MSVcjs.writeSuccess; exports.writeSystem = _chunkXA4G3MSVcjs.writeSystem; exports.writeTrace = _chunkXA4G3MSVcjs.writeTrace; exports.writeWarning = _chunkXA4G3MSVcjs.writeWarning;
@@ -1,7 +1,7 @@
1
1
  import "../chunk-RRKB32OH.js";
2
2
  import {
3
3
  createLogger
4
- } from "../chunk-NAULCOC3.js";
4
+ } from "../chunk-TTT5G3NU.js";
5
5
  import {
6
6
  formatLogMessage,
7
7
  getLogFn,
@@ -14,8 +14,8 @@ import {
14
14
  writeSystem,
15
15
  writeTrace,
16
16
  writeWarning
17
- } from "../chunk-HUE33BQZ.js";
18
- import "../chunk-VLS3MDSR.js";
17
+ } from "../chunk-EK7IXIHA.js";
18
+ import "../chunk-3TO7MEJT.js";
19
19
  import {
20
20
  getChalk
21
21
  } from "../chunk-HVVJHTFS.js";
@@ -2,9 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkR4QJBJ5Scjs = require('../chunk-R4QJBJ5S.cjs');
6
5
 
6
+ var _chunkYGJGYNZLcjs = require('../chunk-YGJGYNZL.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.DEFAULT_COLOR_CONFIG = _chunkR4QJBJ5Scjs.DEFAULT_COLOR_CONFIG; exports.getColor = _chunkR4QJBJ5Scjs.getColor; exports.getColorConfig = _chunkR4QJBJ5Scjs.getColorConfig;
10
+
11
+
12
+ exports.DEFAULT_COLOR_CONFIG = _chunkYGJGYNZLcjs.DEFAULT_COLOR_CONFIG; exports.getColor = _chunkYGJGYNZLcjs.getColor; exports.getColorConfig = _chunkYGJGYNZLcjs.getColorConfig; exports.getGradient = _chunkYGJGYNZLcjs.getGradient;
@@ -1,42 +1,49 @@
1
1
  import { StormWorkspaceConfig, ColorConfig } from '@storm-software/config/types';
2
+ import * as z from 'zod';
3
+
4
+ declare const MultiThemeColorConfigSchema: z.ZodObject<{
5
+ dark: z.ZodObject<{
6
+ foreground: z.ZodDefault<z.ZodString>;
7
+ background: z.ZodDefault<z.ZodString>;
8
+ brand: z.ZodDefault<z.ZodString>;
9
+ alternate: z.ZodOptional<z.ZodString>;
10
+ accent: z.ZodOptional<z.ZodString>;
11
+ link: z.ZodDefault<z.ZodString>;
12
+ help: z.ZodDefault<z.ZodString>;
13
+ success: z.ZodDefault<z.ZodString>;
14
+ info: z.ZodDefault<z.ZodString>;
15
+ warning: z.ZodDefault<z.ZodString>;
16
+ danger: z.ZodDefault<z.ZodString>;
17
+ fatal: z.ZodOptional<z.ZodString>;
18
+ positive: z.ZodDefault<z.ZodString>;
19
+ negative: z.ZodDefault<z.ZodString>;
20
+ gradient: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ light: z.ZodObject<{
23
+ foreground: z.ZodDefault<z.ZodString>;
24
+ background: z.ZodDefault<z.ZodString>;
25
+ brand: z.ZodDefault<z.ZodString>;
26
+ alternate: z.ZodOptional<z.ZodString>;
27
+ accent: z.ZodOptional<z.ZodString>;
28
+ link: z.ZodDefault<z.ZodString>;
29
+ help: z.ZodDefault<z.ZodString>;
30
+ success: z.ZodDefault<z.ZodString>;
31
+ info: z.ZodDefault<z.ZodString>;
32
+ warning: z.ZodDefault<z.ZodString>;
33
+ danger: z.ZodDefault<z.ZodString>;
34
+ fatal: z.ZodOptional<z.ZodString>;
35
+ positive: z.ZodDefault<z.ZodString>;
36
+ negative: z.ZodDefault<z.ZodString>;
37
+ gradient: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>;
40
+
41
+ type MultiThemeColorConfig = z.infer<typeof MultiThemeColorConfigSchema>;
2
42
 
3
43
  /**
4
44
  * Storm theme config values used for styling various workspace elements
5
45
  */
6
- declare const DEFAULT_COLOR_CONFIG: {
7
- light: {
8
- background: string;
9
- foreground: string;
10
- brand: string;
11
- alternate: string;
12
- help: string;
13
- success: string;
14
- info: string;
15
- warning: string;
16
- danger: string;
17
- fatal: string;
18
- link: string;
19
- positive: string;
20
- negative: string;
21
- gradient: string[];
22
- };
23
- dark: {
24
- background: string;
25
- foreground: string;
26
- brand: string;
27
- alternate: string;
28
- help: string;
29
- success: string;
30
- info: string;
31
- warning: string;
32
- danger: string;
33
- fatal: string;
34
- link: string;
35
- positive: string;
36
- negative: string;
37
- gradient: string[];
38
- };
39
- };
46
+ declare const DEFAULT_COLOR_CONFIG: MultiThemeColorConfig;
40
47
  /**
41
48
  * Get the color configuration from the Storm workspace configuration.
42
49
  *
@@ -52,5 +59,13 @@ declare function getColorConfig(config?: Partial<Pick<StormWorkspaceConfig, "col
52
59
  * @returns The color value for the specified key, or a default value if not defined.
53
60
  */
54
61
  declare function getColor(key: "background" | "foreground" | "brand" | "help" | "success" | "info" | "warning" | "danger" | "positive" | "negative" | "alternate" | "accent" | "link" | "fatal", config?: Partial<Pick<StormWorkspaceConfig, "colors">>): string;
62
+ /**
63
+ * Get a specific color from the Storm workspace configuration.
64
+ *
65
+ * @param key - The key of the color to retrieve.
66
+ * @param config - An optional, partial color configuration for the Storm workspace.
67
+ * @returns The color value for the specified key, or a default value if not defined.
68
+ */
69
+ declare function getGradient(config?: Partial<Pick<StormWorkspaceConfig, "colors">>): string[] | undefined;
55
70
 
56
- export { DEFAULT_COLOR_CONFIG, getColor, getColorConfig };
71
+ export { DEFAULT_COLOR_CONFIG, getColor, getColorConfig, getGradient };
@@ -1,42 +1,49 @@
1
1
  import { StormWorkspaceConfig, ColorConfig } from '@storm-software/config/types';
2
+ import * as z from 'zod';
3
+
4
+ declare const MultiThemeColorConfigSchema: z.ZodObject<{
5
+ dark: z.ZodObject<{
6
+ foreground: z.ZodDefault<z.ZodString>;
7
+ background: z.ZodDefault<z.ZodString>;
8
+ brand: z.ZodDefault<z.ZodString>;
9
+ alternate: z.ZodOptional<z.ZodString>;
10
+ accent: z.ZodOptional<z.ZodString>;
11
+ link: z.ZodDefault<z.ZodString>;
12
+ help: z.ZodDefault<z.ZodString>;
13
+ success: z.ZodDefault<z.ZodString>;
14
+ info: z.ZodDefault<z.ZodString>;
15
+ warning: z.ZodDefault<z.ZodString>;
16
+ danger: z.ZodDefault<z.ZodString>;
17
+ fatal: z.ZodOptional<z.ZodString>;
18
+ positive: z.ZodDefault<z.ZodString>;
19
+ negative: z.ZodDefault<z.ZodString>;
20
+ gradient: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
+ }, z.core.$strip>;
22
+ light: z.ZodObject<{
23
+ foreground: z.ZodDefault<z.ZodString>;
24
+ background: z.ZodDefault<z.ZodString>;
25
+ brand: z.ZodDefault<z.ZodString>;
26
+ alternate: z.ZodOptional<z.ZodString>;
27
+ accent: z.ZodOptional<z.ZodString>;
28
+ link: z.ZodDefault<z.ZodString>;
29
+ help: z.ZodDefault<z.ZodString>;
30
+ success: z.ZodDefault<z.ZodString>;
31
+ info: z.ZodDefault<z.ZodString>;
32
+ warning: z.ZodDefault<z.ZodString>;
33
+ danger: z.ZodDefault<z.ZodString>;
34
+ fatal: z.ZodOptional<z.ZodString>;
35
+ positive: z.ZodDefault<z.ZodString>;
36
+ negative: z.ZodDefault<z.ZodString>;
37
+ gradient: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>;
40
+
41
+ type MultiThemeColorConfig = z.infer<typeof MultiThemeColorConfigSchema>;
2
42
 
3
43
  /**
4
44
  * Storm theme config values used for styling various workspace elements
5
45
  */
6
- declare const DEFAULT_COLOR_CONFIG: {
7
- light: {
8
- background: string;
9
- foreground: string;
10
- brand: string;
11
- alternate: string;
12
- help: string;
13
- success: string;
14
- info: string;
15
- warning: string;
16
- danger: string;
17
- fatal: string;
18
- link: string;
19
- positive: string;
20
- negative: string;
21
- gradient: string[];
22
- };
23
- dark: {
24
- background: string;
25
- foreground: string;
26
- brand: string;
27
- alternate: string;
28
- help: string;
29
- success: string;
30
- info: string;
31
- warning: string;
32
- danger: string;
33
- fatal: string;
34
- link: string;
35
- positive: string;
36
- negative: string;
37
- gradient: string[];
38
- };
39
- };
46
+ declare const DEFAULT_COLOR_CONFIG: MultiThemeColorConfig;
40
47
  /**
41
48
  * Get the color configuration from the Storm workspace configuration.
42
49
  *
@@ -52,5 +59,13 @@ declare function getColorConfig(config?: Partial<Pick<StormWorkspaceConfig, "col
52
59
  * @returns The color value for the specified key, or a default value if not defined.
53
60
  */
54
61
  declare function getColor(key: "background" | "foreground" | "brand" | "help" | "success" | "info" | "warning" | "danger" | "positive" | "negative" | "alternate" | "accent" | "link" | "fatal", config?: Partial<Pick<StormWorkspaceConfig, "colors">>): string;
62
+ /**
63
+ * Get a specific color from the Storm workspace configuration.
64
+ *
65
+ * @param key - The key of the color to retrieve.
66
+ * @param config - An optional, partial color configuration for the Storm workspace.
67
+ * @returns The color value for the specified key, or a default value if not defined.
68
+ */
69
+ declare function getGradient(config?: Partial<Pick<StormWorkspaceConfig, "colors">>): string[] | undefined;
55
70
 
56
- export { DEFAULT_COLOR_CONFIG, getColor, getColorConfig };
71
+ export { DEFAULT_COLOR_CONFIG, getColor, getColorConfig, getGradient };
@@ -1,10 +1,12 @@
1
1
  import {
2
2
  DEFAULT_COLOR_CONFIG,
3
3
  getColor,
4
- getColorConfig
5
- } from "../chunk-VLS3MDSR.js";
4
+ getColorConfig,
5
+ getGradient
6
+ } from "../chunk-3TO7MEJT.js";
6
7
  export {
7
8
  DEFAULT_COLOR_CONFIG,
8
9
  getColor,
9
- getColorConfig
10
+ getColorConfig,
11
+ getGradient
10
12
  };