diff options
author | Tulir Asokan <tulir@maunium.net> | 2019-01-11 23:28:47 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2019-01-11 23:28:47 +0200 |
commit | 331597b9f8a7942cbcb233a328301e4d5bf94fb0 (patch) | |
tree | 5ec624585ebf66c63549a098acb6f7421f1193a7 /vendor/maunium.net/go/tview/styles.go | |
parent | 2fc3378b717f40f37f3a188b68407887242d9c06 (diff) |
Switch to Go modules and make other changes
Diffstat (limited to 'vendor/maunium.net/go/tview/styles.go')
-rw-r--r-- | vendor/maunium.net/go/tview/styles.go | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/vendor/maunium.net/go/tview/styles.go b/vendor/maunium.net/go/tview/styles.go deleted file mode 100644 index 8c3e0d7..0000000 --- a/vendor/maunium.net/go/tview/styles.go +++ /dev/null @@ -1,34 +0,0 @@ -package tview - -import "maunium.net/go/tcell" - -// Styles defines various colors used when primitives are initialized. These -// may be changed to accommodate a different look and feel. -// -// The default is for applications with a black background and basic colors: -// black, white, yellow, green, and blue. -var Styles = struct { - PrimitiveBackgroundColor tcell.Color // Main background color for primitives. - ContrastBackgroundColor tcell.Color // Background color for contrasting elements. - MoreContrastBackgroundColor tcell.Color // Background color for even more contrasting elements. - BorderColor tcell.Color // Box borders. - TitleColor tcell.Color // Box titles. - GraphicsColor tcell.Color // Graphics. - PrimaryTextColor tcell.Color // Primary text. - SecondaryTextColor tcell.Color // Secondary text (e.g. labels). - TertiaryTextColor tcell.Color // Tertiary text (e.g. subtitles, notes). - InverseTextColor tcell.Color // Text on primary-colored backgrounds. - ContrastSecondaryTextColor tcell.Color // Secondary text on ContrastBackgroundColor-colored backgrounds. -}{ - PrimitiveBackgroundColor: tcell.ColorBlack, - ContrastBackgroundColor: tcell.ColorBlue, - MoreContrastBackgroundColor: tcell.ColorGreen, - BorderColor: tcell.ColorWhite, - TitleColor: tcell.ColorWhite, - GraphicsColor: tcell.ColorWhite, - PrimaryTextColor: tcell.ColorWhite, - SecondaryTextColor: tcell.ColorYellow, - TertiaryTextColor: tcell.ColorGreen, - InverseTextColor: tcell.ColorBlue, - ContrastSecondaryTextColor: tcell.ColorDarkCyan, -} |