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

Format and rename color/ to src/

This commit is contained in:
RGBCube 2022-12-01 20:15:22 +03:00
parent e64d1180f5
commit 4dcb5bca42
5 changed files with 3 additions and 4 deletions

View file

@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v3
- name: Format Code
run: v fmt -w .
run: v fmt -w ./
- name: Push To GitHub
continue-on-error: true

View file

@ -2,7 +2,6 @@ module color
import term
// Color is a Style extension that also supports rendering in the background.
// Every Color is a Style, but not every Style is a Color.
pub interface Color {

View file

@ -2,7 +2,7 @@ module color
import term
pub const (
pub const (
// Colors
black = Color(BasicColor.black)
red = Color(BasicColor.red)

View file

@ -3,7 +3,7 @@ module color
// Brush is the complex Style type that can hold multiple colors and styles.
pub interface Brush {
Style // Inherits Style methods.
mut:
mut:
set_disabled(bool) // Enable/disable the brush. When disabled, the brush doesn't render anything and returns the given string.
}