struct

Crubbletea::Lipgloss::Style

Inherits Struct < Value < Object

Constructors

Instance methods

align(p : Pos) : Style
Source
align_horizontal(pos : Pos) : Style
Source
align_vertical(pos : Pos) : Style
Source
background(color : Color) : Style
Source
bold(v : Bool = true) : Style
Source
border(b : Border, sides : Array(Bool) | Nil = nil) : Style
Source
border_background(color : Color) : Style
Source
border_bottom(v : Bool = true) : Style
Source
border_foreground(color : Color) : Style
Source
border_left(v : Bool = true) : Style
Source
border_right(v : Bool = true) : Style
Source
border_top(v : Bool = true) : Style
Source
faint(v : Bool = true) : Style
Source
foreground(color : Color) : Style
Source
get_background
Source
get_foreground
Source
get_height
Source
get_horizontal_frame_size
Source
get_horizontal_margin
Source
get_horizontal_padding
Source
get_margin_bottom
Source
get_margin_left
Source
get_margin_right
Source
get_margin_top
Source
get_padding_bottom
Source
get_padding_left
Source
get_padding_right
Source
get_padding_top
Source
get_vertical_frame_size
Source
get_vertical_margin
Source
get_vertical_padding
Source
get_width
Source
has_border_bottom?
Source
has_border_left?
Source
has_border_right?
Source
has_border_top?
Source
height(h : Int32) : Style
Source
inherit(other : Style) : Style
Source
inline(v : Bool = true) : Style
Source
italic(v : Bool = true) : Style
Source
margin(top : Int32, right : Int32, bottom : Int32, left : Int32) : Style
Source
margin(v : Int32) : Style
Source
margin_horizontal(v : Int32) : Style
Source
margin_vertical(v : Int32) : Style
Source
max_height(h : Int32) : Style
Source
max_width(w : Int32) : Style
Source
min_height(h : Int32) : Style
Source
min_width(w : Int32) : Style
Source
padding(top : Int32, right : Int32, bottom : Int32, left : Int32) : Style
Source
padding(vertical : Int32, horizontal : Int32) : Style
Source
padding(v : Int32) : Style
Source
padding_horizontal(v : Int32) : Style
Source
padding_vertical(v : Int32) : Style
Source
render(s : String) : String
Source
reverse(v : Bool = true) : Style
Source
strikethrough(v : Bool = true) : Style
Source
underline(v : Bool = true) : Style
Source
width(w : Int32) : Style
Source

Macros

chain_bool(name)
Source

Nested types