Module
Choku.Style
- Package
- purescript-choku
- Repository
- m15a/purescript-choku
Styles applied to chalks for modifying/colorizing strings.
These styles are of signature Choku -> Choku
, appending another
modification to any chalk.
The full list of styles can be found here
in the original chalk's README.
An only difference from the original API is that those six methods to apply
styles using RGB/ANSI256 color models, namely chalk.rgb()
, chalk.hex()
,
chalk.ansi256()
, chalk.bgRgb()
, chalk.bgHex()
, and chalk.bgAnsi256()
are
integrated into two functions fg
and bg
, thanks to PureScript's GADTs.
See also
#blackBright Source
blackBright :: Style
#greenBright Source
greenBright :: Style
#blueBright Source
blueBright :: Style
#cyanBright Source
cyanBright :: Style
#whiteBright Source
whiteBright :: Style
#bgRedBright Source
bgRedBright :: Style