Class: Brut::TUI::Themes::Light
- Inherits:
-
Brut::TUI::TerminalTheme
- Object
- Brut::TUI::TerminalTheme
- Brut::TUI::Themes::Light
- Defined in:
- lib/brut/tui/themes/light.rb
Overview
A theme designed to work on a white background terminal.
Instance Method Summary collapse
-
#black ⇒ Object
-
#bright ⇒ Object
-
#bright_black ⇒ Object
-
#bright_green ⇒ Object
-
#bright_off ⇒ Object
-
#bright_white ⇒ Object
-
#bright_yellow ⇒ Object
-
#code ⇒ Object
-
#code_off ⇒ Object
-
#green ⇒ 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/light.rb', line 3 def black = esc("38;2;0;0;0") |
#bright ⇒ Object
14 |
# File 'lib/brut/tui/themes/light.rb', line 14 def bright = bright_blue |
#bright_black ⇒ Object
4 |
# File 'lib/brut/tui/themes/light.rb', line 4 def bright_black = esc("38;2;64;64;64") |
#bright_green ⇒ Object
13 |
# File 'lib/brut/tui/themes/light.rb', line 13 def bright_green = esc("38;2;34;155;0") |
#bright_off ⇒ Object
15 |
# File 'lib/brut/tui/themes/light.rb', line 15 def bright_off = normal |
#bright_white ⇒ Object
5 |
# File 'lib/brut/tui/themes/light.rb', line 5 def bright_white = esc("38;2;128;128;128") |
#bright_yellow ⇒ Object
8 |
# File 'lib/brut/tui/themes/light.rb', line 8 def bright_yellow = esc("38;2;255;255;0") |
#code ⇒ Object
10 |
# File 'lib/brut/tui/themes/light.rb', line 10 def code = esc("38;2;0;128;0") |
#code_off ⇒ Object
11 |
# File 'lib/brut/tui/themes/light.rb', line 11 def code_off = normal |
#green ⇒ Object
12 |
# File 'lib/brut/tui/themes/light.rb', line 12 def green = esc("38;2;25;105;0") |
#normal ⇒ Object
9 |
# File 'lib/brut/tui/themes/light.rb', line 9 def normal = super + black |
#white ⇒ Object
6 |
# File 'lib/brut/tui/themes/light.rb', line 6 def white = esc("38;2;191;191;191") |
#yellow ⇒ Object
7 |
# File 'lib/brut/tui/themes/light.rb', line 7 def yellow = esc("38;2;191;191;0") |