UNPKG

@eightshone/sshman

Version:
43 lines 1.39 kB
import colors from "yoctocolors-cjs"; export const inquirerTheme = { prefix: { idle: "", done: "", }, spinner: { interval: 80, frames: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"].map((frame) => colors.yellow(frame)), }, style: { answer: () => "", message: () => "", error: (text) => colors.red(`> ${text}`), defaultAnswer: (text) => colors.dim(`(${text})`), help: colors.dim, highlight: colors.cyan, key: (text) => colors.cyan(colors.bold(`<${text}>`)), disabled: (text) => ` ${text}`, }, }; export const logsTheme = { prefix: { idle: "", done: "", }, spinner: { interval: 80, frames: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"].map((frame) => colors.yellow(frame)), }, style: { answer: () => "", message: (msg) => msg, error: (text) => colors.red(`> ${text}`), defaultAnswer: (text) => colors.dim(`(${text})`), help: () => colors.dim("\nUse ↑ ↓ to navigate. Press ENTER↵ to exit"), highlight: (txt) => colors.bgWhite(colors.black(txt)), key: (text) => colors.cyan(colors.bold(`<${text}>`)), disabled: (text) => ` ${text}`, }, helpMode: "always", }; //# sourceMappingURL=themes.js.map