lsh-0.1.0.0: A simple ls clone with modern, colored formatting
Safe HaskellSafe-Inferred
LanguageHaskell2010

Colors

Synopsis

Normal colors

Note that the coloring is actually just ANSI escaping text in a right way, so apllying these functions changes the length of the string.

Also, the actual colors are dependant on your terminal's colorscheme, so they may look differently on your terminal

black :: String -> String Source #

Colors the given text in black

red :: String -> String Source #

Colors the given text in red

green :: String -> String Source #

Colors the given text in green

yellow :: String -> String Source #

Colors the given text in yellow

blue :: String -> String Source #

Colors the given text in blue

magenta :: String -> String Source #

Colors the given text in magenta

cyan :: String -> String Source #

Colors the given text in cyan

white :: String -> String Source #

Colors the given text in white (important because of the length change)

Vivid colors

Same as normal colors, but are more vivid (or what your colorscheme considers to be more vivid)

bblack :: String -> String Source #

Colors the given text in vivid black

bred :: String -> String Source #

Colors the given text in vivid red

bgreen :: String -> String Source #

Colors the given text in vivid green

byellow :: String -> String Source #

Colors the given text in vivid yellow

bblue :: String -> String Source #

Colors the given text in vivid blue

bmagenta :: String -> String Source #

Colors the given text in vivid magenta

bcyan :: String -> String Source #

Colors the given text in vivid cyan

bwhite :: String -> String Source #

Colors the given text in vivid white (important because of the length change)