Lines Matching refs:styles
47 const styles = {};
52 styles[name] = wrap(identity, offset);
54 styles[name] = wrap(suite[targetSpace], offset);
58 return styles;
63 const styles = { variable
118 styles.color.gray = styles.color.blackBright;
119 styles.bgColor.bgGray = styles.bgColor.bgBlackBright;
120 styles.color.grey = styles.color.blackBright;
121 styles.bgColor.bgGrey = styles.bgColor.bgBlackBright;
123 for (const [groupName, group] of Object.entries(styles)) {
125 styles[styleName] = { variable
130 group[styleName] = styles[styleName];
135 Object.defineProperty(styles, groupName, {
141 Object.defineProperty(styles, 'codes', {
146 styles.color.close = '\u001B[39m';
147 styles.bgColor.close = '\u001B[49m';
149 …setLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, fal…
150 …setLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi…
151 …setLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, fals…
152 …setLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, t…
153 …setLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2an…
154 …setLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, tr…
156 return styles;