Sha256: f83aaf6fe9ffb1bcf884ae3618bed4f01b6e09840885c3fcd166ed34e7df3652
Contents?: true
Size: 673 Bytes
Versions: 7
Compression:
Stored size: 673 Bytes
Contents
require 'whirled_peas/utils/ansi' require_relative 'color' module WhirledPeas module Settings class BgColor < Color BG_OFFSET = 10 private_constant :BG_OFFSET BLACK = new(Utils::Ansi::BLACK + BG_OFFSET) RED = new(Utils::Ansi::RED + BG_OFFSET) GREEN = new(Utils::Ansi::GREEN + BG_OFFSET) YELLOW = new(Utils::Ansi::YELLOW + BG_OFFSET) BLUE = new(Utils::Ansi::BLUE + BG_OFFSET) MAGENTA = new(Utils::Ansi::MAGENTA + BG_OFFSET) CYAN = new(Utils::Ansi::CYAN + BG_OFFSET) WHITE = new(Utils::Ansi::WHITE + BG_OFFSET) GRAY = BLACK.bright DEFAULT = nil # Use system defined default end end end
Version data entries
7 entries across 7 versions & 1 rubygems