Files
klz-cables.com/.pnpm-store/v10/files/39/97b1ae79003c4a699f95af0995a203f1c55fe8a313b0e7c4bcea5c1de433631bf9f67e779bd0e89964ac06df32ede9643c75c60dc90936425583e0a2c0b627
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

34 lines
1015 B
Plaintext

const codes = {
blue: '\x1b[34m',
bold: '\x1b[1m',
cyan: '\x1b[36m',
dim: '\x1b[2m',
green: '\x1b[32m',
magenta: '\x1b[35m',
red: '\x1b[31m',
reset: '\x1b[0m',
underline: '\x1b[4m',
white: '\x1b[37m',
yellow: '\x1b[33m'
};
function colorize(str, ...styles) {
const start = styles.map((s)=>codes[s] || '').join('');
return `${start}${str}${codes.reset}`;
}
export const miniChalk = {
blue: (str)=>colorize(str, 'blue'),
bold: (str)=>colorize(str, 'bold'),
cyan: (str)=>colorize(str, 'cyan'),
dim: (str)=>colorize(str, 'dim'),
green: (str)=>colorize(str, 'green'),
magenta: (str)=>colorize(str, 'magenta'),
red: (str)=>colorize(str, 'red'),
underline: (str)=>colorize(str, 'underline'),
white: (str)=>colorize(str, 'white'),
yellow: (str)=>colorize(str, 'yellow'),
// combos
redBold: (str)=>colorize(str, 'red', 'bold'),
yellowBold: (str)=>colorize(str, 'yellow', 'bold')
};
//# sourceMappingURL=miniChalk.js.map