Made the ON switches green

pull/41/head
Satyajit Sahoo 2013-06-05 22:43:25 +05:30
parent 2aadaa3e2c
commit 82b259bf6f
2 changed files with 5 additions and 3 deletions

View File

@ -1728,6 +1728,7 @@ GtkComboBox .separator {
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)); -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent));
background-position: 14% 14%, 0% 50%, 14% 86%, 50% 100%, 86% 86%, 100% 50%, 86% 14%, 50% 0%; background-position: 14% 14%, 0% 50%, 14% 86%, 50% 100%, 86% 86%, 100% 50%, 86% 14%, 50% 0%;
background-size: 15% 15%; background-size: 15% 15%;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -1742,6 +1743,7 @@ GtkComboBox .separator {
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.250)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.5, to(alpha(currentColor, 0.125)), to(transparent)),
-gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent)); -gtk-gradient(radial, center center, 0, center center, 0.5, to(currentColor), to(transparent));
animation: spinner 1s infinite linear; animation: spinner 1s infinite linear;
} }
@ -1810,8 +1812,8 @@ GtkSwitch.trough {
} }
GtkSwitch.trough:active { GtkSwitch.trough:active {
border-color: shade(@theme_selected_bg_color, 0.9); border-color: shade(@success_color, 0.9);
background-color: @theme_selected_bg_color; background-color: @success_color;
background-image: none; background-image: none;
color: @theme_selected_fg_color; color: @theme_selected_fg_color;
} }

View File

@ -32,7 +32,7 @@
@define-color error_fg_color rgb (255, 255, 255); @define-color error_fg_color rgb (255, 255, 255);
@define-color error_bg_color rgb (237, 54, 54); @define-color error_bg_color rgb (237, 54, 54);
@define-color link_color #fc6f5d; @define-color link_color #fc6f5d;
@define-color success_color #4e9a06; @define-color success_color #53a93f;
@define-color error_color #cc0000; @define-color error_color #cc0000;
/* widget colors */ /* widget colors */