summaryrefslogtreecommitdiff
path: root/tui/style.go
diff options
context:
space:
mode:
authorcitrons <citrons@mondecitronne.com>2025-01-27 00:19:52 -0600
committercitrons <citrons@mondecitronne.com>2025-01-27 00:19:52 -0600
commitbfb892b0fc8c93e97f2adf47bc7b1314ca3eaba6 (patch)
tree6d86ac08f90d81c91ab980055d431adf53ebb12b /tui/style.go
parent10b8a79389e7073f6bd65695c3d05c77b825bc33 (diff)
TUI library
Diffstat (limited to 'tui/style.go')
-rw-r--r--tui/style.go32
1 files changed, 32 insertions, 0 deletions
diff --git a/tui/style.go b/tui/style.go
new file mode 100644
index 0000000..dedd287
--- /dev/null
+++ b/tui/style.go
@@ -0,0 +1,32 @@
+package tui
+
+type Style struct {
+ Fg int32
+ Bg int32
+ Truecolor bool
+ Bold bool
+ Italic bool
+ Underline bool
+ Strikethrough bool
+}
+
+const (
+ Black = iota
+ Red
+ Green
+ Yellow
+ Blue
+ Magenta
+ Cyan
+ White
+ BrightBlack
+ BrightRed
+ BrightGreen
+ BrightYellow
+ BrightBlue
+ BrightMagenta
+ BrightCyan
+ BrightWhite
+)
+
+var DefaultStyle = Style {Fg: BrightWhite, Bg: Black}