@smi-digital/create-smi-app 1.0.1 → 1.0.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/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import chalkAnimation from "chalk-animation";
|
|
|
6
6
|
// src/modules/common.ts
|
|
7
7
|
var primary1 = "#8e2de2";
|
|
8
8
|
var primary2 = "#ff00d4";
|
|
9
|
+
var base = "#ffffff";
|
|
9
10
|
|
|
10
11
|
// src/modules/greetings.ts
|
|
11
12
|
var smiGradient = gradient([primary1, primary2]);
|
|
@@ -144,6 +145,7 @@ async function getIntegrationForSelection(templatesDir, selection) {
|
|
|
144
145
|
// src/modules/questions.ts
|
|
145
146
|
var primary12 = chalk.hex(primary1);
|
|
146
147
|
var primary22 = chalk.hex(primary2);
|
|
148
|
+
var base2 = chalk.hex(base);
|
|
147
149
|
var smiTheme = {
|
|
148
150
|
prefix: {
|
|
149
151
|
idle: primary12("?"),
|
|
@@ -151,7 +153,8 @@ var smiTheme = {
|
|
|
151
153
|
},
|
|
152
154
|
style: {
|
|
153
155
|
highlight: (text) => primary12(text),
|
|
154
|
-
answer: (text) => primary22(text)
|
|
156
|
+
answer: (text) => primary22(text),
|
|
157
|
+
message: (text) => base2.bold(text)
|
|
155
158
|
},
|
|
156
159
|
icon: {
|
|
157
160
|
cursor: primary12("\u276F")
|