mirror of
https://github.com/RGBCube/color.v
synced 2025-08-01 10:27:45 +00:00
Reformat
This commit is contained in:
parent
a4e8e2b623
commit
2be7e9c5ba
2 changed files with 13 additions and 13 deletions
|
@ -21,16 +21,16 @@ pub const (
|
||||||
bright_cyan = Color(BasicColor.bright_cyan)
|
bright_cyan = Color(BasicColor.bright_cyan)
|
||||||
bright_white = Color(BasicColor.bright_white)
|
bright_white = Color(BasicColor.bright_white)
|
||||||
// Styles
|
// Styles
|
||||||
reset = Style.reset
|
reset = Style.reset
|
||||||
bold = Style.bold
|
bold = Style.bold
|
||||||
dim = Style.dim
|
dim = Style.dim
|
||||||
italic = Style.italic
|
italic = Style.italic
|
||||||
underline = Style.underline
|
underline = Style.underline
|
||||||
slow_blink = Style.slow_blink
|
slow_blink = Style.slow_blink
|
||||||
rapid_blink = Style.rapid_blink
|
rapid_blink = Style.rapid_blink
|
||||||
inverse = Style.inverse
|
inverse = Style.inverse
|
||||||
hidden = Style.hidden
|
hidden = Style.hidden
|
||||||
strikethrough = Style.strikethrough
|
strikethrough = Style.strikethrough
|
||||||
)
|
)
|
||||||
|
|
||||||
const no_color = !term.can_show_color_on_stdout()
|
const no_color = !term.can_show_color_on_stdout()
|
||||||
|
|
|
@ -12,9 +12,9 @@ __global:
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
pub struct BrushParams {
|
pub struct BrushParams {
|
||||||
fg ?Color
|
fg ?Color
|
||||||
bg ?Color
|
bg ?Color
|
||||||
style []Style
|
style []Style
|
||||||
disabled bool
|
disabled bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue