diff --git a/package-lock.json b/package-lock.json index d275e2c9f..05b96b8ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,6 +34,7 @@ "express": "^5.1.0", "glob": "^11.0.3", "gpt-tokenizer": "^3.0.1", + "gradient-string": "^3.0.0", "ignore-walk": "^7.0.0", "ink": "^6.0.1", "jszip": "^3.10.1", @@ -5957,6 +5958,12 @@ "@types/node": "*" } }, + "node_modules/@types/tinycolor2": { + "version": "1.4.6", + "resolved": "https://registry.npmjs.org/@types/tinycolor2/-/tinycolor2-1.4.6.tgz", + "integrity": "sha512-iEN8J0BoMnsWBqjVbWH/c0G0Hh7O21lpR2/+PrvAVgWdzL7eexIFm4JN/Wn10PTcmNdtS6U67r499mlWMXOxNw==", + "license": "MIT" + }, "node_modules/@types/triple-beam": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/@types/triple-beam/-/triple-beam-1.3.5.tgz", @@ -10322,6 +10329,19 @@ "dev": true, "license": "ISC" }, + "node_modules/gradient-string": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/gradient-string/-/gradient-string-3.0.0.tgz", + "integrity": "sha512-frdKI4Qi8Ihp4C6wZNB565de/THpIaw3DjP5ku87M+N9rNSGmPTjfkq61SdRXB7eCaL8O1hkKDvf6CDMtOzIAg==", + "license": "MIT", + "dependencies": { + "chalk": "^5.3.0", + "tinygradient": "^1.1.5" + }, + "engines": { + "node": ">=14" + } + }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", @@ -18113,6 +18133,12 @@ "dev": true, "license": "MIT" }, + "node_modules/tinycolor2": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz", + "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==", + "license": "MIT" + }, "node_modules/tinyexec": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", @@ -18165,6 +18191,16 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/tinygradient": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/tinygradient/-/tinygradient-1.1.5.tgz", + "integrity": "sha512-8nIfc2vgQ4TeLnk2lFj4tRLvvJwEfQuabdsmvDdQPT0xlk9TaNtpGd6nNRxXoK6vQhN6RSzj+Cnp5tTQmpxmbw==", + "license": "MIT", + "dependencies": { + "@types/tinycolor2": "^1.4.0", + "tinycolor2": "^1.0.0" + } + }, "node_modules/tinypool": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.1.1.tgz", diff --git a/package.json b/package.json index f4e77a052..b25d19c1b 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "express": "^5.1.0", "glob": "^11.0.3", "gpt-tokenizer": "^3.0.1", + "gradient-string": "^3.0.0", "ignore-walk": "^7.0.0", "ink": "^6.0.1", "jszip": "^3.10.1", diff --git a/src/asciiArt.ts b/src/asciiArt.ts index a7fbaa3fe..38260c2fa 100644 --- a/src/asciiArt.ts +++ b/src/asciiArt.ts @@ -1,23 +1,18 @@ import chalk from "chalk"; +import { mind } from "gradient-string"; import { getVersion } from "./version.js"; -const b = chalk.bold.blue; const d = chalk.dim; export const CONTINUE_ASCII_ART = ` - ${b("_____")}${d("____ ")}${b("_ __")}${d("___________ ____ ______")} - ${b("/ ___/")}${d(" __ \\")}${b("/ |/ /")}${d("_ __/ _/ |/ / / / / __/")} -${b("/ /__")}${d("/ /_/ ")}${b("/ /")}${d(" / / _/ // / /_/ / _/ ")} -${b("\\___/")}${d("\\____")}${b("/_/|_/")}${d(" /_/ /___/_/|_/\\____/___/")} - - ${d("v" + getVersion())}`; -// export const CONTINUE_ASCII_ART = ` -// _________ _ _____________ ____ ______ -// / ___/ __ \\/ |/ /_ __/ _/ |/ / / / / __/ -// / /__/ /_/ / / / / _/ // / /_/ / _/ -// \\___/\\____/_/|_/ /_/ /___/_/|_/\\____/___/ -// `; +${mind.multiline(` ██████╗ ██████╗ ███╗ ██╗████████╗██╗███╗ ██╗██╗ ██╗███████╗ +██╔════╝██╔═══██╗████╗ ██║╚══██╔══╝██║████╗ ██║██║ ██║██╔════╝ +██║ ██║ ██║██╔██╗ ██║ ██║ ██║██╔██╗ ██║██║ ██║█████╗ +██║ ██║ ██║██║╚██╗██║ ██║ ██║██║╚██╗██║██║ ██║██╔══╝ +╚██████╗╚██████╔╝██║ ╚████║ ██║ ██║██║ ╚████║╚██████╔╝███████╗ + ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝`)} + ${d("v" + getVersion())}`; export const CONTINUE_LOGO_ASCII_ART = ` @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@