1
Fork 0
mirror of https://github.com/RGBCube/color.v synced 2025-07-30 17:37:45 +00:00

Fix errors, rename src to color

This commit is contained in:
RGBCube 2022-12-02 21:26:05 +03:00
parent 8d2406c71a
commit f29d84d3a9
5 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ import rgbcube.color
brush := color.new_brush(
fg: color.rgb(0, 0, 0)
bg: color.hex(0xffffff)
style: [color.bold, color.underline, color.italic]
styles: [color.bold, color.underline, color.italic]
)
brush.println('Hello World')

View file

@ -22,7 +22,7 @@ pub fn new_brush(p BrushParams) Brush {
fg: p.fg
bg: p.bg
styles: p.styles
disabled: disabled
disabled: p.disabled
}
}