Skip to content

Commit

Permalink
add: added ColorCodes.py and Color.py for RedBlackTrees
Browse files Browse the repository at this point in the history
  • Loading branch information
warmachine028 committed Aug 3, 2023
1 parent ad0c71d commit 28a04e2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datastax/Utils/ColorCodes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class ColorCodes:
RED = 0
BLACK = 1
11 changes: 11 additions & 0 deletions datastax/Utils/Colors.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from dataclasses import dataclass


@dataclass
class Colors:
BLACK: str = '\x1B[38;5;232m'
RED: str = '\x1B[38;5;196m'
GREY: str = '\x1B[38;5;237m'
FORE: str = '\x1B[38;5;'
BACK: str = '\x1B[48;5;'
RESET: str = '\x1b[0m'

0 comments on commit 28a04e2

Please sign in to comment.