UNPKG

vibebench

Version:

CLI tool for VibeBench - vote on AI models from your terminal

60 lines 2.1 kB
import chalk from 'chalk'; // Color Palette export const colors = { primary: '#FFA500', // Orange - rankings, highlights, selections success: '#00FF00', // Green - positive actions, fire votes warning: '#FFFF00', // Yellow - mid votes, warnings error: '#FF0000', // Red - errors, cursed votes muted: '#808080', // Gray - secondary text, separators text: '#FFFFFF', // White - primary content }; // Styled text functions export const text = { primary: (str) => chalk.hex(colors.primary)(str), success: (str) => chalk.hex(colors.success)(str), warning: (str) => chalk.hex(colors.warning)(str), error: (str) => chalk.hex(colors.error)(str), muted: (str) => chalk.hex(colors.muted)(str), normal: (str) => chalk.hex(colors.text)(str), }; // Typography styles export const typography = { header: (str) => text.primary(str), subheader: (str) => text.normal(str), data: (str) => text.normal(str), meta: (str) => text.muted(str), highlight: (str) => text.primary(str), }; // Vote type styling export const voteStyles = { fire: (str) => text.success(str), mid: (str) => text.warning(str), cursed: (str) => text.error(str), }; // Message styles export const messages = { success: (str) => text.success(str), error: (str) => text.error(str), warning: (str) => text.warning(str), info: (str) => text.primary(str), }; // Table configuration for cli-table3 export const tableConfig = { style: { head: [], // No colors in head (we'll style manually) border: [], // No colors in border }, chars: { 'top': '─', 'top-mid': '┬', 'top-left': '┌', 'top-right': '┐', 'bottom': '─', 'bottom-mid': '┴', 'bottom-left': '└', 'bottom-right': '┘', 'left': '│', 'left-mid': '├', 'mid': '─', 'mid-mid': '┼', 'right': '│', 'right-mid': '┤', 'middle': '│' } }; // Interactive prompt styling export const promptStyles = { prefix: text.primary('►'), selection: text.primary, message: text.normal, }; //# sourceMappingURL=styles.js.map