flix

0.55.0

Chalk

Definitions

def bgBlack(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default black color.

def bgBlackBright(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default black color.

def bgBlue(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default blue color.

def bgBlueBright(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default blue color.

def bgCyan(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default cyan color.

def bgCyanBright(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default cyan color.

def bgGreen(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default green color.

def bgGreenBright(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default green color.

def bgMagenta(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default magenta color.

def bgMagentaBright(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default magenta color.

def bgRed(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default red color.

def bgRedBright(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default red color.

def bgWhite(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default white color.

def bgWhiteBright(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default white color.

def bgYellow(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default yellow color.

def bgYellowBright(s: a): String \ Environment with ToString[a] Source

Returns the string s with background color of the default yellow color.

def black(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default black color.

def blackBright(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default bright black color.

def blue(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default blue color.

def blueBright(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default bright blue color.

def bold(s: a): String \ Environment with ToString[a] Source

A port of the popular Chalk library: https://github.com/chalk/chalk

Returns s formatted as bold.

def cyan(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default cyan color.

def cyanBright(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default bright cyan color.

def green(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default green color.

def greenBright(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default bright green color.

def hex(hexCode: String, s: a): String \ Environment with ToString[a] Source

Returns s formatted with color hexCode or if there's an error, returns the original string. Expected format of hexCode: "#" + "--" + "--" + "--" where each -- is a hex number between 00 and FF.

def invisible(s: a): String \ Environment with ToString[a] Source

Returns s formatted as reversed.

def italic(s: a): String \ Environment with ToString[a] Source

Returns s formatted as blink.

def magenta(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default magenta color.

def magentaBright(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default bright magenta color.

def red(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default red color.

def redBright(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default bright red color.

def reset(): String Source

Returns the reset control sequence as a string.

def reversed(s: a): String \ Environment with ToString[a] Source

Returns s formatted as reversed.

def rgb(c: (Int32, Int32, Int32), s: String, opts: { isFg = Bool }): String \ Environment Source

Returns the string s formatted with the given RGB color c.

def underline(s: a): String \ Environment with ToString[a] Source

Returns s formatted as underline.

def white(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default white color.

def whiteBright(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default bright white color.

def yellow(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default yellow color.

def yellowBright(s: a): String \ Environment with ToString[a] Source

Returns the string s formatted with the default bright yellow color.