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
|
||||
|
||||
pub const (
|
||||
// Colors
|
||||
black = Color(BasicColor.black)
|
||||
red = Color(BasicColor.red)
|
||||
green = Color(BasicColor.green)
|
||||
|
@ -19,9 +20,7 @@ pub const (
|
|||
bright_magenta = Color(BasicColor.bright_magenta)
|
||||
bright_cyan = Color(BasicColor.bright_cyan)
|
||||
bright_white = Color(BasicColor.bright_white)
|
||||
)
|
||||
|
||||
pub const (
|
||||
// Styles
|
||||
reset = Style.reset
|
||||
bold = Style.bold
|
||||
dim = Style.dim
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue