gleamy_lights/premixed

Pre-mixed colors

A palette of pre-mixed colors, that I used before.

Functions

pub fn bg_black(msg: String) -> String

Black background

pub fn bg_blue(msg: String) -> String

Blue background

pub fn bg_bright_cyan(msg: String) -> String

Bright cyan background

pub fn bg_bright_orange(msg: String) -> String

Bright orange background

pub fn bg_bright_red(msg: String) -> String

Bright red background

pub fn bg_bright_white(msg: String) -> String

Bright white background

pub fn bg_bright_yellow(msg: String) -> String

Bright yellow background

pub fn bg_cyan(msg: String) -> String

Cyan background

pub fn bg_dark_black(msg: String) -> String

Dark black background

pub fn bg_error_red(msg: String) -> String

“Error” red background

(Note: this is not a standard color, but it’s specifically chosen to be used in error messages)

pub fn bg_green(msg: String) -> String

Green background

pub fn bg_lightblue(msg: String) -> String

Light blue background

pub fn bg_lilac(msg: String) -> String

Lilac background

pub fn bg_lime(msg: String) -> String

Lime background

pub fn bg_magenta(msg: String) -> String

Magenta background

pub fn bg_ok_green(msg: String) -> String

“OK” green background

(Note: this is not a standard color, but it’s specifically chosen to be used in success messages)

pub fn bg_orange(msg: String) -> String

Orange background

pub fn bg_pink(msg: String) -> String

Pink background

pub fn bg_purple(msg: String) -> String

Purple background

pub fn bg_red(msg: String) -> String

Red background

pub fn bg_white(msg: String) -> String

White background

pub fn bg_yellow(msg: String) -> String

Yellow background

pub fn text_black(msg: String) -> String

Black text

pub fn text_blue(msg: String) -> String

Blue text

pub fn text_bright_cyan(msg: String) -> String

Bright cyan text

pub fn text_bright_orange(msg: String) -> String

Bright orange text

pub fn text_bright_red(msg: String) -> String

Bright red text

pub fn text_bright_white(msg: String) -> String

Bright white text

pub fn text_bright_yellow(msg: String) -> String

Bright yellow text

pub fn text_cyan(msg: String) -> String

Cyan text

pub fn text_dark_black(msg: String) -> String

Dark black text

pub fn text_error_red(msg: String) -> String

“Error” red text

(Note: this is not a standard color, but it’s specifically chosen to be used in error messages)///

pub fn text_green(msg: String) -> String

Green text

pub fn text_lightblue(msg: String) -> String

Light blue text

pub fn text_lilac(msg: String) -> String

Lilac text

pub fn text_lime(msg: String) -> String

Lime text

pub fn text_magenta(msg: String) -> String

Magenta text

pub fn text_ok_green(msg: String) -> String

“OK” green text

(Note: this is not a standard color, but it’s specifically chosen to be used in success messages)

pub fn text_orange(msg: String) -> String

Orange text

pub fn text_pink(msg: String) -> String

Pink text

pub fn text_purple(msg: String) -> String

Purple text

pub fn text_red(msg: String) -> String

Red text

pub fn text_white(msg: String) -> String

White text

pub fn text_yellow(msg: String) -> String

Yellow text

Search Document