1
Fork 0
mirror of https://github.com/RGBCube/color.v synced 2025-07-31 09:57:47 +00:00

chore: add tests

This commit is contained in:
RGBCube 2023-01-14 14:24:53 +03:00
parent cf8a4669f9
commit 820fae1ae0
3 changed files with 35 additions and 4 deletions

View file

@ -33,9 +33,9 @@ Here are some examples to get you started:
```v oksyntax
import rgbcube.color
color.red.println('Hello World')
color.cyan.println_bg('Hello World')
color.bold.println('Hello World')
color.red.println('Hello, World!')
color.cyan.println_bg('Hello, World!')
color.bold.println('Hello, World!')
```
### Advanced
@ -49,7 +49,7 @@ brush := color.new_brush(
styles: [color.bold, color.underline, color.italic]
)
brush.println('Hello World')
brush.println('Hello, World!')
```
## License