galant

Types

Styling used to build the StylingSequence

pub opaque type Styling

Functions

pub fn bg_black(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bg_blue(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bg_cyan(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bg_default(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bg_green(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bg_magenta(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bg_red(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bg_white(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bg_yellow(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn black(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn blinking(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn blue(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn bold(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn color_256(styled_text: List(Styling), text: String, color: Int) -> List(
  Styling,
)
pub fn color_bg_hex(styled_text: List(Styling), text: String, color: Int) -> List(
  Styling,
)
pub fn color_bg_rgb(styled_text: List(Styling), text: String, red: Int, green: Int, blue: Int) -> List(
  Styling,
)
pub fn color_hex(styled_text: List(Styling), text: String, color: Int) -> List(
  Styling,
)
pub fn color_rgb(styled_text: List(Styling), text: String, red: Int, green: Int, blue: Int) -> List(
  Styling,
)
pub fn cyan(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn default(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn dim(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn end_blinking(styled_text: List(Styling)) -> List(Styling)
pub fn end_bold(styled_text: List(Styling)) -> List(Styling)
pub fn end_dim(styled_text: List(Styling)) -> List(Styling)
pub fn end_hidden(styled_text: List(Styling)) -> List(Styling)
pub fn end_inverse(styled_text: List(Styling)) -> List(Styling)
pub fn end_italic(styled_text: List(Styling)) -> List(Styling)
pub fn end_strikethrough(styled_text: List(Styling)) -> List(
  Styling,
)
pub fn end_underline(styled_text: List(Styling)) -> List(Styling)
pub fn green(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn hidden(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn inverse(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn italic(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn magenta(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn open() -> List(Styling)

Start a new styled sequence

pub fn placeholder(styled_text: List(Styling)) -> List(Styling)
pub fn red(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn reset(styled_text: List(Styling)) -> List(Styling)
pub fn save(this_styled_text: List(Styling)) -> fn(
  List(Styling),
  String,
) -> List(Styling)
pub fn start_bg_black(styled_text: List(Styling)) -> List(Styling)
pub fn start_bg_blue(styled_text: List(Styling)) -> List(Styling)
pub fn start_bg_color_hex(styled_text: List(Styling), color: Int) -> List(
  Styling,
)
pub fn start_bg_color_rgb(styled_text: List(Styling), red: Int, green: Int, blue: Int) -> List(
  Styling,
)
pub fn start_bg_cyan(styled_text: List(Styling)) -> List(Styling)
pub fn start_bg_green(styled_text: List(Styling)) -> List(Styling)
pub fn start_bg_magenta(styled_text: List(Styling)) -> List(
  Styling,
)
pub fn start_bg_red(styled_text: List(Styling)) -> List(Styling)
pub fn start_bg_white(styled_text: List(Styling)) -> List(Styling)
pub fn start_bg_yellow(styled_text: List(Styling)) -> List(
  Styling,
)
pub fn start_black(styled_text: List(Styling)) -> List(Styling)
pub fn start_blinking(styled_text: List(Styling)) -> List(Styling)
pub fn start_blue(styled_text: List(Styling)) -> List(Styling)
pub fn start_bold(styled_text: List(Styling)) -> List(Styling)
pub fn start_color_hex(styled_text: List(Styling), color: Int) -> List(
  Styling,
)
pub fn start_color_rgb(styled_text: List(Styling), red: Int, green: Int, blue: Int) -> List(
  Styling,
)
pub fn start_cyan(styled_text: List(Styling)) -> List(Styling)
pub fn start_dim(styled_text: List(Styling)) -> List(Styling)
pub fn start_green(styled_text: List(Styling)) -> List(Styling)
pub fn start_hidden(styled_text: List(Styling)) -> List(Styling)
pub fn start_inverse(styled_text: List(Styling)) -> List(Styling)
pub fn start_italic(styled_text: List(Styling)) -> List(Styling)
pub fn start_magenta(styled_text: List(Styling)) -> List(Styling)
pub fn start_red(styled_text: List(Styling)) -> List(Styling)
pub fn start_strikethrough(styled_text: List(Styling)) -> List(
  Styling,
)
pub fn start_underline(styled_text: List(Styling)) -> List(
  Styling,
)
pub fn start_white(styled_text: List(Styling)) -> List(Styling)
pub fn start_yellow(styled_text: List(Styling)) -> List(Styling)
pub fn stop_bg_color(styled_text: List(Styling)) -> List(Styling)
pub fn stop_color(styled_text: List(Styling)) -> List(Styling)
pub fn strikethrough(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn text(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn to_string(styled_text: List(Styling)) -> String
pub fn to_string_styler(this_styled_text: List(Styling)) -> fn(
  String,
) -> String
pub fn underline(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn white(styled_text: List(Styling), text: String) -> List(
  Styling,
)
pub fn yellow(styled_text: List(Styling), text: String) -> List(
  Styling,
)
Search Document