Re-use variables in color definitions
authorTuomas Jormola <tj@solitudo.net>
Tue, 15 Mar 2016 21:19:39 +0000 (23:19 +0200)
committerTuomas Jormola <tj@solitudo.net>
Tue, 15 Mar 2016 21:19:39 +0000 (23:19 +0200)
Darklooks/theme.lua
Glossy/theme.lua
Orion/theme.lua

index c56fa4b..498419a 100644 (file)
@@ -31,14 +31,14 @@ theme.bg_systray                                = theme.bg_normal
 
 theme.fg_normal                                 = '#e6e6e6'
 theme.fg_focus                                  = '#ffffff'
-theme.fg_urgent                                 = '#ffffff'
-theme.fg_minimize                               = '#7aa3cc'
+theme.fg_urgent                                 = theme.fg_focus
+theme.fg_minimize                               = theme.bg_focus
 
-theme.border_normal                             = '#e6e6e6'
-theme.border_focus                              = '#7aa3cc'
-theme.border_marked                             = '#7f55d7'
+theme.border_normal                             = theme.fg_normal
+theme.border_focus                              = theme.bg_focus
+theme.border_marked                             = theme.bg_urgent
 
-theme.bg_widget                                 = '#555753'
+theme.bg_widget                                 = theme.bg_normal
 theme.fg_widget                                 = '#aaaaaa'
 theme.fg_center_widget                          = '#555555'
 theme.fg_end_widget                             = '#000000'
index b3ccccd..d86b428 100644 (file)
@@ -30,20 +30,20 @@ theme.bg_systray                                = theme.bg_normal
 
 theme.fg_normal                                 = '#000000'
 theme.fg_focus                                  = '#ffffff'
-theme.fg_urgent                                 = '#ffffff'
-theme.fg_minimize                               = '#000000'
+theme.fg_urgent                                 = theme.fg_focus
+theme.fg_minimize                               = theme.fg_normal
 
-theme.border_normal                             = '#000000'
-theme.border_focus                              = '#5598d7'
-theme.border_marked                             = '#7f55d7'
+theme.border_normal                             = theme.fg_normal
+theme.border_focus                              = theme.bg_focus
+theme.border_marked                             = theme.bg_urgent
 
-theme.bg_widget                                 = '#f5f2ef'
+theme.bg_widget                                 = theme.bg_normal
 theme.fg_widget                                 = '#00a2fe'
 theme.fg_center_widget                          = '#0066e5'
 theme.fg_end_widget                             = '#0017ed'
 
 theme.tooltip_bg_color                          = '#ffffbf'
-theme.tooltip_fg_color                          = '#000000'
+theme.tooltip_fg_color                          = theme.fg_normal
 
 -- Misc. settings
 theme.wallpaper_cmd                             = { 'xsetroot -solid \\#40659f' }
index 99b76a0..addb8f0 100644 (file)
@@ -30,20 +30,20 @@ theme.bg_systray                                = theme.bg_normal
 
 theme.fg_normal                                 = '#000000'
 theme.fg_focus                                  = '#ffffff'
-theme.fg_urgent                                 = '#ffffff'
-theme.fg_minimize                               = '#000000'
+theme.fg_urgent                                 = theme.fg_focus
+theme.fg_minimize                               = theme.fg_normal
 
-theme.border_normal                             = '#000000'
-theme.border_focus                              = '#579ce4'
-theme.border_marked                             = '#7f55d7'
+theme.border_normal                             = theme.fg_normal
+theme.border_focus                              = theme.bg_focus
+theme.border_marked                             = theme.bg_urgent
 
-theme.bg_widget                                 = '#eeeeee'
+theme.bg_widget                                 = theme.bg_normal
 theme.fg_widget                                 = '#00a2fe'
 theme.fg_center_widget                          = '#0066e5'
 theme.fg_end_widget                             = '#0017ed'
 
 theme.tooltip_bg_color                          = '#ffffbf'
-theme.tooltip_fg_color                          = '#000000'
+theme.tooltip_fg_color                          = theme.fg_normal
 
 -- Misc. settings
 theme.wallpaper_cmd                             = { 'xsetroot -solid \\#40659f' }