summaryrefslogtreecommitdiff
path: root/alot/defaults/default.theme
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-02-19 12:31:48 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-02-19 12:31:48 +0000
commit98d59b557ea96d85d20259462840c1ef752af198 (patch)
tree09d04a4fb62d8d1823bfaf6e68b1a2dea5415860 /alot/defaults/default.theme
parent4bd55e5c1fa669fb98ba11eae46b250915937ac1 (diff)
read attrspecs in theme's init
this makes Theme objects check the integrity of their given configs by instanciating urwid.AttrSpec objects in ther constructor, so that invalid attribute strings don't raise errors at runtime
Diffstat (limited to 'alot/defaults/default.theme')
-rw-r--r--alot/defaults/default.theme14
1 files changed, 3 insertions, 11 deletions
diff --git a/alot/defaults/default.theme b/alot/defaults/default.theme
index aecf381e..269bf856 100644
--- a/alot/defaults/default.theme
+++ b/alot/defaults/default.theme
@@ -1,4 +1,4 @@
-[1c]
+[1]
[[global]]
[[[footer]]]
fg = 'standout'
@@ -21,7 +21,6 @@
fg = 'underline'
[[[title]]]
fg = 'standout'
-
[[bufferlist]]
[[[focus]]]
fg = 'standout'
@@ -29,7 +28,6 @@
fg = 'default'
[[[results_odd]]]
fg = 'default'
-
[[search]]
[[[thread]]]
fg = 'default'
@@ -67,7 +65,6 @@
fg = 'bold'
[[[thread_tags_focus]]]
fg = 'standout'
-
[[thread]]
[[[attachment]]]
fg = 'default'
@@ -88,7 +85,7 @@
[[[summary_odd]]]
fg = 'default'
-[16c]
+[16]
[[global]]
[[[footer]]]
bg = 'dark blue'
@@ -202,8 +199,8 @@
[[[thread_tags_focus]]]
bg = 'dark gray'
fg = 'yellow,bold'
-[256c]
+[256]
[[global]]
# attributes used in all modi
[[[footer]]]
@@ -224,8 +221,6 @@
[[[tag_focus]]]
bg = '#68a'
fg = '#ffa'
-
-
[[help]]
# formating of the `help bindings` overlay
[[[text]]]
@@ -237,7 +232,6 @@
[[[title]]]
bg = 'g35'
fg = 'white,bold,underline'
-
# mode specific attributes
[[bufferlist]]
[[[focus]]]
@@ -249,7 +243,6 @@
[[[results_odd]]]
bg = 'default'
fg = 'default'
-
[[search]]
[[[thread]]]
bg = 'default'
@@ -294,7 +287,6 @@
[[[thread_tags_focus]]]
bg = '#68a'
fg = '#ff8'
-
[[thread]]
[[[attachment]]]
bg = 'dark gray'