Skip to content

Commit

Permalink
Fixed some comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver committed Mar 9, 2019
1 parent de9730f commit d3efe1d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions styles.go
Expand Up @@ -2,8 +2,7 @@ package tview

import "github.com/gdamore/tcell"

// Styles defines various colors used when primitives are initialized. These
// may be changed to accommodate a different look and feel.
// Theme defines the colors used when primitives are initialized.
type Theme struct {
PrimitiveBackgroundColor tcell.Color // Main background color for primitives.
ContrastBackgroundColor tcell.Color // Background color for contrasting elements.
Expand All @@ -18,9 +17,9 @@ type Theme struct {
ContrastSecondaryTextColor tcell.Color // Secondary text on ContrastBackgroundColor-colored backgrounds.
}

// Styles is the global singleton which effects the current theming of widgets
// The default is for applications with a black background and basic colors:
// black, white, yellow, green, and blue.
// Styles defines the theme for applications. The default is for a black
// background and some basic colors: black, white, yellow, green, cyan, and
// blue.
var Styles = Theme{
PrimitiveBackgroundColor: tcell.ColorBlack,
ContrastBackgroundColor: tcell.ColorBlue,
Expand Down

0 comments on commit d3efe1d

Please sign in to comment.