1
Fork 0
mirror of https://github.com/RGBCube/color.v synced 2025-08-01 18:37:45 +00:00
This commit is contained in:
RGBCube 2022-11-19 19:09:50 +03:00
parent a4e8e2b623
commit 2be7e9c5ba
2 changed files with 13 additions and 13 deletions

View file

@ -21,16 +21,16 @@ pub const (
bright_cyan = Color(BasicColor.bright_cyan)
bright_white = Color(BasicColor.bright_white)
// Styles
reset = Style.reset
bold = Style.bold
dim = Style.dim
italic = Style.italic
underline = Style.underline
slow_blink = Style.slow_blink
rapid_blink = Style.rapid_blink
inverse = Style.inverse
hidden = Style.hidden
strikethrough = Style.strikethrough
reset = Style.reset
bold = Style.bold
dim = Style.dim
italic = Style.italic
underline = Style.underline
slow_blink = Style.slow_blink
rapid_blink = Style.rapid_blink
inverse = Style.inverse
hidden = Style.hidden
strikethrough = Style.strikethrough
)
const no_color = !term.can_show_color_on_stdout()

View file

@ -12,9 +12,9 @@ __global:
[params]
pub struct BrushParams {
fg ?Color
bg ?Color
style []Style
fg ?Color
bg ?Color
style []Style
disabled bool
}