mirror of
https://github.com/RGBCube/color.v
synced 2025-08-01 18:37: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_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()
|
||||
|
|
|
@ -12,9 +12,9 @@ __global:
|
|||
|
||||
[params]
|
||||
pub struct BrushParams {
|
||||
fg ?Color
|
||||
bg ?Color
|
||||
style []Style
|
||||
fg ?Color
|
||||
bg ?Color
|
||||
style []Style
|
||||
disabled bool
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue