Commits

Moises Henriquez committed a93cdea

Add new blue and gray palette to text UI

Comments (0)

Files changed (1)

vinstall/ui/urwid.py

         ('pb complete',     'dark blue',    'yellow'),
         ]
 
+    blue_gray_palette = [
+        ('body',            'dark blue',    'light gray',   'standout'),
+        ('bg 1',            'dark gray',   'dark blue',    'standout'),
+        ('header',          'white',       'dark gray',     'standout,bold'),
+        ('title',           'white',       'dark blue',    'bold'),
+        ('intro',           'light gray',  'dark blue'),
+        ('background main', 'light gray',  'dark blue',    'standout'),
+        ('body bg',         'dark red',    'light gray',    'standout'),
+        ('edit',            'black',       'light gray',    'standout'),
+        ('edit active',     'white',       'dark gray',    'bold'),
+        ('active'     ,     'white',       'dark gray',    'bold'),
+        ('button normal',   'light gray',  'dark blue',    'standout'),
+        ('button select',   'dark blue',   'light gray',    'bold,standout'),
+        ('popbg',           'white',       'dark blue',    'bold'),
+        ('pb normal',       'dark gray',   'dark blue'),
+        ('pb complete',     'dark gray',   'dark blue'),
+        ]
+
     urwid.command_map["esc"] = "cursor down"
     #urwid.command_map["tab"] = "cursor down"
     #urwid.command_map["shift tab"] = "cursor up"
         self.loop = urwid.MainLoop(self.frame,
                 unhandled_input=self.unhandled_input, pop_ups=True)
 
-        self.palettes = cycle([self.default_palette, self.blue_palette])
+        self.palettes = cycle([self.default_palette, self.blue_palette,
+				self.blue_gray_palette])
         self.set_palette()
 
     def get_title(self):