@evitcastudio/kit 3.3.0 → 3.3.2
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/lib/bundle/cli/cli.js +1635 -1513
- package/lib/bundle/cli/kit-game-templates/multi/package.json +0 -2
- package/lib/bundle/cli/kit-game-templates/single/package.json +0 -2
- package/lib/cli/app-bundler.d.ts.map +1 -1
- package/lib/cli/app-bundler.js +44 -6
- package/lib/cli/create.d.ts.map +1 -1
- package/lib/cli/create.js +7 -6
- package/lib/cli/doctor.d.ts.map +1 -1
- package/lib/cli/doctor.js +57 -30
- package/lib/cli/host.d.ts.map +1 -1
- package/lib/cli/host.js +19 -12
- package/lib/cli/init.d.ts.map +1 -1
- package/lib/cli/init.js +20 -17
- package/lib/cli/resource-builder.d.ts.map +1 -1
- package/lib/cli/resource-builder.js +11 -8
- package/lib/cli/theme.d.ts +36 -0
- package/lib/cli/theme.d.ts.map +1 -0
- package/lib/cli/theme.js +41 -0
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Modern high-contrast CLI theme system.
|
|
3
|
+
* Built around emerald green (#10B981 / #059669 family) with crisp slate neutrals
|
|
4
|
+
* and vivid semantic accents for readability on dark and light terminal backgrounds.
|
|
5
|
+
*/
|
|
6
|
+
export declare const theme: {
|
|
7
|
+
brand: import("chalk").ChalkInstance;
|
|
8
|
+
brandBold: import("chalk").ChalkInstance;
|
|
9
|
+
brandLight: import("chalk").ChalkInstance;
|
|
10
|
+
brandMuted: import("chalk").ChalkInstance;
|
|
11
|
+
accent: import("chalk").ChalkInstance;
|
|
12
|
+
success: import("chalk").ChalkInstance;
|
|
13
|
+
successIcon: import("chalk").ChalkInstance;
|
|
14
|
+
warning: import("chalk").ChalkInstance;
|
|
15
|
+
warningMuted: import("chalk").ChalkInstance;
|
|
16
|
+
error: import("chalk").ChalkInstance;
|
|
17
|
+
errorText: import("chalk").ChalkInstance;
|
|
18
|
+
info: import("chalk").ChalkInstance;
|
|
19
|
+
infoBold: import("chalk").ChalkInstance;
|
|
20
|
+
alert: import("chalk").ChalkInstance;
|
|
21
|
+
title: import("chalk").ChalkInstance;
|
|
22
|
+
text: import("chalk").ChalkInstance;
|
|
23
|
+
secondary: import("chalk").ChalkInstance;
|
|
24
|
+
muted: import("chalk").ChalkInstance;
|
|
25
|
+
highlight: import("chalk").ChalkInstance;
|
|
26
|
+
url: import("chalk").ChalkInstance;
|
|
27
|
+
bracket: import("chalk").ChalkInstance;
|
|
28
|
+
divider: import("chalk").ChalkInstance;
|
|
29
|
+
bullet: string;
|
|
30
|
+
stepNumber: import("chalk").ChalkInstance;
|
|
31
|
+
white: import("chalk").ChalkInstance;
|
|
32
|
+
whiteBold: import("chalk").ChalkInstance;
|
|
33
|
+
dim: import("chalk").ChalkInstance;
|
|
34
|
+
gray: import("chalk").ChalkInstance;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/cli/theme.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCjB,CAAC"}
|
package/lib/cli/theme.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
/**
|
|
3
|
+
* Modern high-contrast CLI theme system.
|
|
4
|
+
* Built around emerald green (#10B981 / #059669 family) with crisp slate neutrals
|
|
5
|
+
* and vivid semantic accents for readability on dark and light terminal backgrounds.
|
|
6
|
+
*/
|
|
7
|
+
export const theme = {
|
|
8
|
+
// Brand - Emerald palette
|
|
9
|
+
brand: chalk.hex('#10B981'),
|
|
10
|
+
brandBold: chalk.bold.hex('#10B981'),
|
|
11
|
+
brandLight: chalk.hex('#34D399'),
|
|
12
|
+
brandMuted: chalk.hex('#059669'),
|
|
13
|
+
accent: chalk.bold.hex('#2DD4BF'), // teal/mint highlight
|
|
14
|
+
// Semantic status colors (luminous, high contrast, zero muddiness)
|
|
15
|
+
success: chalk.bold.hex('#10B981'),
|
|
16
|
+
successIcon: chalk.bold.hex('#34D399'),
|
|
17
|
+
warning: chalk.bold.hex('#FBBF24'), // warm amber
|
|
18
|
+
warningMuted: chalk.hex('#FCD34D'),
|
|
19
|
+
error: chalk.bold.hex('#F43F5E'), // vibrant rose/coral
|
|
20
|
+
errorText: chalk.hex('#FB7185'),
|
|
21
|
+
info: chalk.hex('#38BDF8'), // sky blue for build times & stats
|
|
22
|
+
infoBold: chalk.bold.hex('#38BDF8'),
|
|
23
|
+
alert: chalk.bold.hex('#FBBF24'),
|
|
24
|
+
// High-contrast neutrals (replaces muddy ANSI dim)
|
|
25
|
+
title: chalk.bold.white,
|
|
26
|
+
text: chalk.hex('#F1F5F9'), // Slate 100 - clear, crisp primary text
|
|
27
|
+
secondary: chalk.hex('#94A3B8'), // Slate 400 - clean, readable secondary details
|
|
28
|
+
muted: chalk.hex('#64748B'), // Slate 500 - separators, subtle notes
|
|
29
|
+
highlight: chalk.bold.hex('#F8FAFC'), // White bold highlight
|
|
30
|
+
url: chalk.bold.hex('#38BDF8').underline,
|
|
31
|
+
// Structural elements
|
|
32
|
+
bracket: chalk.hex('#64748B'),
|
|
33
|
+
divider: chalk.hex('#334155'),
|
|
34
|
+
bullet: chalk.hex('#10B981')('›'),
|
|
35
|
+
stepNumber: chalk.bold.hex('#10B981'),
|
|
36
|
+
// Legacy neutral aliases for backward compatibility
|
|
37
|
+
white: chalk.white,
|
|
38
|
+
whiteBold: chalk.white.bold,
|
|
39
|
+
dim: chalk.hex('#94A3B8'),
|
|
40
|
+
gray: chalk.hex('#94A3B8'),
|
|
41
|
+
};
|