Byte-snake-engine/cli/commands/colors.go

15 lines
375 B
Go
Raw Normal View History

package commands
2023-02-19 17:17:59 +00:00
// ANSI escape codes to be used in the color output of the board view
const (
TERM_RESET = "\033[0m"
TERM_BG_GRAY = "\033[48;2;127;127;127m"
TERM_BG_WHITE = "\033[107m"
TERM_FG_GRAY = "\033[38;2;127;127;127m"
TERM_FG_LIGHTGRAY = "\033[38;2;200;200;200m"
TERM_FG_FOOD = "\033[38;2;255;92;117m"
TERM_FG_RGB = "\033[38;2;%d;%d;%dm"
)