Files
zeekayandHanzo Dev deea53538d Load a bundled config the way each emit loads modules
The CommonJS pass rewrites a dynamic import into a require, which
cannot take the file URL the ESM path hands it, so the load goes
through here.ts and its .cjs sibling. create-gui reads its manifest
from the package root at run time, names its relative imports with
their extension, and imports opener instead of requiring it.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-04 22:27:17 -07:00

50 lines
2.8 KiB
TypeScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import chalk from 'chalk'
import { rainbowColors } from './rainbowChalk.ts'
export const hanzoguiAsciiArt = `▀█▀ ▄▀█ █▀▄▀█ ▄▀█ █▀▀ █ █ █
█  █▀█ █ ▀ █ █▀█ █▄█ █▄█ █`
export const hanzoguiRainbowAsciiArt = (function () {
const char0_1 = chalk.hex(rainbowColors[0])('▀█▀')
const char0_2 = chalk.hex(rainbowColors[0])(' █ ')
const char1_1 = chalk.hex(rainbowColors[1])('▄▀█')
const char1_2 = chalk.hex(rainbowColors[1])('█▀█')
const char2_1 = chalk.hex(rainbowColors[2])('█▀▄▀█')
const char2_2 = chalk.hex(rainbowColors[2])('█ ▀ █')
const char3_1 = chalk.hex(rainbowColors[3])('▄▀█')
const char3_2 = chalk.hex(rainbowColors[3])('█▀█')
const char4_1 = chalk.hex(rainbowColors[4])('█▀▀')
const char4_2 = chalk.hex(rainbowColors[4])('█▄█')
const char5_1 = chalk.hex(rainbowColors[5])('█ █')
const char5_2 = chalk.hex(rainbowColors[5])('█▄█')
const char6_1 = chalk.hex(rainbowColors[6])('█')
const char6_2 = chalk.hex(rainbowColors[6])('█')
return `${char0_1} ${char1_1} ${char2_1} ${char3_1} ${char4_1} ${char5_1} ${char6_1}
${char0_2} ${char1_2} ${char2_2} ${char3_2} ${char4_2} ${char5_2} ${char6_2}
`
})()
export const takeoutAsciiArt = `████████╗░█████╗░██╗░░██╗███████╗░█████╗░██╗░░░██╗████████╗
╚══██╔══╝██╔══██╗██║░██╔╝██╔════╝██╔══██╗██║░░░██║╚══██╔══╝
░░░██║░░░███████║█████═╝░█████╗░░██║░░██║██║░░░██║░░░██║░░░
░░░██║░░░██╔══██║██╔═██╗░██╔══╝░░██║░░██║██║░░░██║░░░██║░░░
░░░██║░░░██║░░██║██║░╚██╗███████╗╚█████╔╝╚██████╔╝░░░██║░░░
░░░╚═╝░░░╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝░╚════╝░░╚═════╝░░░░╚═╝░░░`
export const hanzoguiDuckAsciiArt = ` ████████████
██ ██
██ ██ ██████
██ ██ ██
██ ████████
██ ██
██ ████
██ ██
██ ██ `