Class: Brut::TUI::Themes::Dark

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

Overview

A theme designed to work on a dark 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/dark.rb', line 3

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

#brightObject



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

def bright        = bright_white

#bright_blackObject



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

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

#bright_offObject



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

def bright_off    = normal

#bright_whiteObject



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

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

#bright_yellowObject



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

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

#codeObject



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

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

#code_offObject



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

def code_off      = normal

#normalObject



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

def normal        = super + white

#whiteObject



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

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

#yellowObject



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

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