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, #italic, #italic_off, #reset, #strike, #strike_off, #success, #warning, #weak, #weak_off, #with_markup

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")