docs/colors.rst
changeset 7 d4a291b31cbb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/colors.rst	Wed Apr 13 01:33:27 2011 +0200
@@ -0,0 +1,25 @@
+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