ChalkBox::Styles
Inherits ChalkBox::Styles::Private::Reset
ANSI escape codes for styling strings in the terminal
This module is based in chalk/ansi-styles
Usage
require "chalk-box"
include ChalkBox::Styles
puts "#{red}Red#{reset}"
puts "#{green.open}Green#{green.close}"
API
Each style has an open and close property (except reset)
Instance methods
bgBlack
bgBlue
bgColor
SourcebgCyan
bgDarkGray
bgDarkGrey
bgGray
bgGreen
bgGrey
bgLightBlue
bgLightCyan
bgLightGray
bgLightGreen
bgLightGrey
bgLightMagenta
bgLightRed
bgLightYellow
bgMagenta
bgRed
bgWhite
bgYellow
black
blink
blue
bold
bright
color
Sourcecyan
dark_gray
dark_grey
dim
gray
green
grey
light_blue
light_cyan
light_gray
light_green
light_grey
light_magenta
light_red
light_yellow
magenta
modifier
Sourcered
reverse
underline
white
yellow