[gnome-themes-standard] named colors: extend name colors exposed



commit c59f69c3d437ac6b3362f2af9727916e479ce6b5
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Jun 11 17:09:46 2014 +0200

    named colors: extend name colors exposed

 themes/Adwaita/gtk-3.0/_colors.scss           |   30 +++++++-----------------
 themes/Adwaita/gtk-3.0/gtk-contained-dark.css |   26 +++++---------------
 themes/Adwaita/gtk-3.0/gtk-contained.css      |   26 +++++---------------
 3 files changed, 23 insertions(+), 59 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_colors.scss b/themes/Adwaita/gtk-3.0/_colors.scss
index 1013f2c..8c76ff8 100644
--- a/themes/Adwaita/gtk-3.0/_colors.scss
+++ b/themes/Adwaita/gtk-3.0/_colors.scss
@@ -44,6 +44,12 @@ $backdrop_borders_color: mix($borders_color, $bg_color, 90%);
 @define-color theme_selected_fg_color $selected_fg_color;
 @define-color insensitive_bg_color $insensitive_bg_color;
 @define-color insensitive_fg_color $insensitive_fg_color;
+ define-color insensitive_base_color $base_color;
+ define-color theme_unfocused_fg_color $backdrop_fg_color;
+ define-color theme_unfocused_bg_color $backdrop_bg_color;
+ define-color theme_unfocused_base_color $backdrop_base_color;
+ define-color theme_unfocused_selected_bg_color $selected_bg_color;
+ define-color theme_unfocused_selected_fg_color $selected_fg_color;
 
 @define-color warning_color $warning_color;
 @define-color error_color $error_color;
@@ -68,25 +74,7 @@ $backdrop_borders_color: mix($borders_color, $bg_color, 90%);
 @define-color wm_button_active_color_b shade($bg_color, 0.89);
 @define-color wm_button_active_color_c shade($bg_color, 0.9);
 
-/*
-$wm_button_bg_a: $bg_color;
-$wm_button_bg_b: darken($bg_color, 15%);
-$wm_button_bg_c: darken($bg_color, 20%);
-$wm_button_bg_d: darken($bg_color, 10%);
- define-color wm_button_bg_a shade($bg_color, 1.0);
- define-color wm_button_bg_b shade($bg_color, 0.85);
- define-color wm_button_bg_c shade($bg_color, 0.8);
- define-color wm_button_bg_d shade($bg_color, 0.9);
-
- define-color wm_button_bg_hover_a shade($wm_button_bg_a, 1.1);
- define-color wm_button_bg_hover_b shade($wm_button_bg_b, 1.1);
- define-color wm_button_bg_hover_c shade($wm_button_bg_c, 1.1);
- define-color wm_button_bg_hover_d shade($wm_button_bg_d, 1.1);
-
- define-color wm_button_bg_active_a shade($bg_color, 0.7);
- define-color wm_button_bg_active_b shade($bg_color, 0.9);
- define-color wm_button_bg_active_c shade($bg_color, 0.9);
-*/
-
-//FIXME we probably need many more for mutter
+//FIXME this is really an API
+
+ define-color content_view_bg $base_color;
 
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
index 62eb528..9c09d3b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained-dark.css
@@ -6,6 +6,12 @@
 @define-color theme_selected_fg_color white;
 @define-color insensitive_bg_color #363a3a;
 @define-color insensitive_fg_color #939695;
+ define-color insensitive_base_color #333333;
+ define-color theme_unfocused_fg_color #c9cbc9;
+ define-color theme_unfocused_bg_color #393f3f;
+ define-color theme_unfocused_base_color #262626;
+ define-color theme_unfocused_selected_bg_color #215d9c;
+ define-color theme_unfocused_selected_fg_color white;
 @define-color warning_color #f57900;
 @define-color error_color #cc0000;
 @define-color success_color #5aa411;
@@ -22,25 +28,7 @@
 @define-color wm_button_active_color_a shade(#393f3f, 0.85);
 @define-color wm_button_active_color_b shade(#393f3f, 0.89);
 @define-color wm_button_active_color_c shade(#393f3f, 0.9);
-/*
-$wm_button_bg_a: $bg_color;
-$wm_button_bg_b: darken($bg_color, 15%);
-$wm_button_bg_c: darken($bg_color, 20%);
-$wm_button_bg_d: darken($bg_color, 10%);
- define-color wm_button_bg_a shade($bg_color, 1.0);
- define-color wm_button_bg_b shade($bg_color, 0.85);
- define-color wm_button_bg_c shade($bg_color, 0.8);
- define-color wm_button_bg_d shade($bg_color, 0.9);
-
- define-color wm_button_bg_hover_a shade($wm_button_bg_a, 1.1);
- define-color wm_button_bg_hover_b shade($wm_button_bg_b, 1.1);
- define-color wm_button_bg_hover_c shade($wm_button_bg_c, 1.1);
- define-color wm_button_bg_hover_d shade($wm_button_bg_d, 1.1);
-
- define-color wm_button_bg_active_a shade($bg_color, 0.7);
- define-color wm_button_bg_active_b shade($bg_color, 0.9);
- define-color wm_button_bg_active_c shade($bg_color, 0.9);
-*/
+ define-color content_view_bg #333333;
 * {
   engine: adwaita;
   padding: 0;
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index ac52baf..d9bb550 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -6,6 +6,12 @@
 @define-color theme_selected_fg_color white;
 @define-color insensitive_bg_color #f4f4f4;
 @define-color insensitive_fg_color #8d9091;
+ define-color insensitive_base_color white;
+ define-color theme_unfocused_fg_color #54595a;
+ define-color theme_unfocused_bg_color #ededed;
+ define-color theme_unfocused_base_color #fcfcfc;
+ define-color theme_unfocused_selected_bg_color #4a90d9;
+ define-color theme_unfocused_selected_fg_color white;
 @define-color warning_color #f57900;
 @define-color error_color #cc0000;
 @define-color success_color #73d216;
@@ -22,25 +28,7 @@
 @define-color wm_button_active_color_a shade(#ededed, 0.85);
 @define-color wm_button_active_color_b shade(#ededed, 0.89);
 @define-color wm_button_active_color_c shade(#ededed, 0.9);
-/*
-$wm_button_bg_a: $bg_color;
-$wm_button_bg_b: darken($bg_color, 15%);
-$wm_button_bg_c: darken($bg_color, 20%);
-$wm_button_bg_d: darken($bg_color, 10%);
- define-color wm_button_bg_a shade($bg_color, 1.0);
- define-color wm_button_bg_b shade($bg_color, 0.85);
- define-color wm_button_bg_c shade($bg_color, 0.8);
- define-color wm_button_bg_d shade($bg_color, 0.9);
-
- define-color wm_button_bg_hover_a shade($wm_button_bg_a, 1.1);
- define-color wm_button_bg_hover_b shade($wm_button_bg_b, 1.1);
- define-color wm_button_bg_hover_c shade($wm_button_bg_c, 1.1);
- define-color wm_button_bg_hover_d shade($wm_button_bg_d, 1.1);
-
- define-color wm_button_bg_active_a shade($bg_color, 0.7);
- define-color wm_button_bg_active_b shade($bg_color, 0.9);
- define-color wm_button_bg_active_c shade($bg_color, 0.9);
-*/
+ define-color content_view_bg white;
 * {
   engine: adwaita;
   padding: 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]