docs/colors.rst
author Radek Brich <radek.brich@devl.cz>
Sat, 19 Jan 2013 13:05:21 +0100
changeset 63 2a0e04091898
parent 7 d4a291b31cbb
permissions -rw-r--r--
Rework MenuBar. Add MenuButton. Add mouse event cascading to floaters. LinearLayout: spacing now applies to all children, not just those with expand. Fix Window resize request inside layouts. UnicodeGraphics: prepare for styling/theming.

Colors
======

backend.setcolor(name, description)

  This will parse description, prepare attributes and save them under 'name'.
  Description is in format <foreground> "on" <background> "," <attributes>.
  For example:
    "black on cyan"
    "white on cyan" or "gray on cyan, standout" (equivalent)
    "yellow on red, underline, blink"

backend.pushcolor(name)

backend.popcolor()


Default theme
-------------

menu-normal - black on cyan
menu-highlight - white on cyan

window-normal - gray on blue
window-highlight - white on blue