Lines Matching refs:styles
66 function buildStyle(chalk, styles) { argument
69 for (const layer of styles) {
70 for (const style of layer.styles) {
94 const styles = []; variable
105 chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str));
106 styles.push({inverse, styles: parseStyle(style)}); property
108 if (styles.length === 0) {
112 chunks.push(buildStyle(chalk, styles)(chunk.join('')));
114 styles.pop();
122 if (styles.length > 0) {
123 …const errMsg = `Chalk template literal is missing ${styles.length} closing bracket${styles.length …