Class: Brut::TUI::Themes::Dark
- Inherits:
-
Brut::TUI::TerminalTheme
- Object
- Brut::TUI::TerminalTheme
- Brut::TUI::Themes::Dark
- Defined in:
- lib/brut/tui/themes/dark.rb
Overview
A theme designed to work on a dark background terminal.
Instance Method Summary collapse
-
#black ⇒ Object
-
#bright ⇒ Object
-
#bright_black ⇒ Object
-
#bright_off ⇒ Object
-
#bright_white ⇒ Object
-
#bright_yellow ⇒ Object
-
#code ⇒ Object
-
#code_off ⇒ Object
-
#normal ⇒ Object
-
#white ⇒ Object
-
#yellow ⇒ Object
Methods inherited from Brut::TUI::TerminalTheme
based_on_background, #bold, #bold_off, dark_background?, #error, #heading, #initialize, #italic, #italic_off, #reset, #strike, #strike_off, #success, #warning, #weak, #weak_off, #with_markup
Constructor Details
This class inherits a constructor from Brut::TUI::TerminalTheme
Instance Method Details
#black ⇒ Object
3 |
# File 'lib/brut/tui/themes/dark.rb', line 3 def black = esc("38;2;96;96;96") |
#bright ⇒ Object
12 |
# File 'lib/brut/tui/themes/dark.rb', line 12 def bright = bright_white |
#bright_black ⇒ Object
4 |
# File 'lib/brut/tui/themes/dark.rb', line 4 def bright_black = esc("38;2;128;128;128") |
#bright_off ⇒ Object
13 |
# File 'lib/brut/tui/themes/dark.rb', line 13 def bright_off = normal |
#bright_white ⇒ Object
6 |
# File 'lib/brut/tui/themes/dark.rb', line 6 def bright_white = esc("38;2;255;255;255") |
#bright_yellow ⇒ Object
8 |
# File 'lib/brut/tui/themes/dark.rb', line 8 def bright_yellow = esc("38;2;255;255;0") |
#code ⇒ Object
10 |
# File 'lib/brut/tui/themes/dark.rb', line 10 def code = esc("38;2;0;255;0") |
#code_off ⇒ Object
11 |
# File 'lib/brut/tui/themes/dark.rb', line 11 def code_off = normal |
#normal ⇒ Object
9 |
# File 'lib/brut/tui/themes/dark.rb', line 9 def normal = super + white |
#white ⇒ Object
5 |
# File 'lib/brut/tui/themes/dark.rb', line 5 def white = esc("38;2;233;233;233") |
#yellow ⇒ Object
7 |
# File 'lib/brut/tui/themes/dark.rb', line 7 def yellow = esc("38;2;191;191;0") |