Class: Brut::TUI::Themes::Light

Inherits:
Brut::TUI::TerminalTheme show all
Defined in:
lib/brut/tui/themes/light.rb

Overview

A theme designed to work on a white background terminal.

Instance Method Summary collapse

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

#blackObject



3
# File 'lib/brut/tui/themes/light.rb', line 3

def black         = esc("38;2;0;0;0")

#brightObject



14
# File 'lib/brut/tui/themes/light.rb', line 14

def bright        = bright_blue

#bright_blackObject



4
# File 'lib/brut/tui/themes/light.rb', line 4

def bright_black  = esc("38;2;64;64;64")

#bright_greenObject



13
# File 'lib/brut/tui/themes/light.rb', line 13

def bright_green  = esc("38;2;34;155;0")

#bright_offObject



15
# File 'lib/brut/tui/themes/light.rb', line 15

def bright_off    = normal

#bright_whiteObject



5
# File 'lib/brut/tui/themes/light.rb', line 5

def bright_white  = esc("38;2;128;128;128")

#bright_yellowObject



8
# File 'lib/brut/tui/themes/light.rb', line 8

def bright_yellow = esc("38;2;255;255;0")

#codeObject



10
# File 'lib/brut/tui/themes/light.rb', line 10

def code          = esc("38;2;0;128;0")

#code_offObject



11
# File 'lib/brut/tui/themes/light.rb', line 11

def code_off      = normal

#greenObject



12
# File 'lib/brut/tui/themes/light.rb', line 12

def green         = esc("38;2;25;105;0")

#normalObject



9
# File 'lib/brut/tui/themes/light.rb', line 9

def normal        = super + black

#whiteObject



6
# File 'lib/brut/tui/themes/light.rb', line 6

def white         = esc("38;2;191;191;191")

#yellowObject



7
# File 'lib/brut/tui/themes/light.rb', line 7

def yellow        = esc("38;2;191;191;0")