docs/colors.rst
changeset 7 d4a291b31cbb
equal deleted inserted replaced
6:d4ee152d7d07 7:d4a291b31cbb
       
     1 Colors
       
     2 ======
       
     3 
       
     4 backend.setcolor(name, description)
       
     5 
       
     6   This will parse description, prepare attributes and save them under 'name'.
       
     7   Description is in format <foreground> "on" <background> "," <attributes>.
       
     8   For example:
       
     9     "black on cyan"
       
    10     "white on cyan" or "gray on cyan, standout" (equivalent)
       
    11     "yellow on red, underline, blink"
       
    12 
       
    13 backend.pushcolor(name)
       
    14 
       
    15 backend.popcolor()
       
    16 
       
    17 
       
    18 Default theme
       
    19 -------------
       
    20 
       
    21 menu-normal - black on cyan
       
    22 menu-highlight - white on cyan
       
    23 
       
    24 window-normal - gray on blue
       
    25 window-highlight - white on blue