mirror of
https://github.com/RGBCube/color.v
synced 2025-08-01 10:27:45 +00:00
Merge const blocks
This commit is contained in:
parent
3812a606dd
commit
87e89ced3f
1 changed files with 2 additions and 3 deletions
|
@ -3,6 +3,7 @@ module color
|
||||||
import term
|
import term
|
||||||
|
|
||||||
pub const (
|
pub const (
|
||||||
|
// Colors
|
||||||
black = Color(BasicColor.black)
|
black = Color(BasicColor.black)
|
||||||
red = Color(BasicColor.red)
|
red = Color(BasicColor.red)
|
||||||
green = Color(BasicColor.green)
|
green = Color(BasicColor.green)
|
||||||
|
@ -19,9 +20,7 @@ pub const (
|
||||||
bright_magenta = Color(BasicColor.bright_magenta)
|
bright_magenta = Color(BasicColor.bright_magenta)
|
||||||
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
|
||||||
|
|
||||||
pub const (
|
|
||||||
reset = Style.reset
|
reset = Style.reset
|
||||||
bold = Style.bold
|
bold = Style.bold
|
||||||
dim = Style.dim
|
dim = Style.dim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue