styles

Types

pub type Style {
  Style(map: dict.Dict(String, String))
}

Constructors

  • Style(map: dict.Dict(String, String))

Functions

pub fn background(style: Style, color: Color) -> Style
pub fn blink(style: Style, value: Bool) -> Style
pub fn bold(style: Style, value: Bool) -> Style
pub fn dim(style: Style, value: Bool) -> Style
pub fn foreground(style: Style, color: Color) -> Style
pub fn invert(style: Style, value: Bool) -> Style
pub fn italic(style: Style, value: Bool) -> Style
pub fn new_style() -> Style
pub fn render(style: Style, value: String) -> String
pub fn strikethrough(style: Style, value: Bool) -> Style
pub fn underline(style: Style, value: Bool) -> Style
Search Document