Expose styles as variables
This commit is contained in:
parent
c2311622c3
commit
7c3fa8d0d5
2 changed files with 8 additions and 0 deletions
|
|
@ -209,4 +209,8 @@ export {
|
|||
stderrColor as supportsColorStderr,
|
||||
};
|
||||
|
||||
export const modifiers = Object.keys(ansiStyles.modifier);
|
||||
export const foregroundColors = Object.keys(ansiStyles.color);
|
||||
export const backgroundColors = Object.keys(ansiStyles.bgColor);
|
||||
|
||||
export default chalk;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue