[gnome-themes-standard] dark: tweak dark colors
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] dark: tweak dark colors
- Date: Mon, 21 Mar 2011 04:15:07 +0000 (UTC)
commit 3f241100d0687140f23b371a38f6b439b84ca62a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Mar 21 00:11:30 2011 -0400
dark: tweak dark colors
As I didn't really like the blue-ish selection color I decided to use a
gray shell-like selection color pattern for now.
themes/Adwaita/gtk-3.0/gtk-dark.css | 31 ++++++++++++++++++-------------
themes/Adwaita/gtk-3.0/gtk-widgets.css | 22 +++++++++++-----------
themes/Adwaita/gtk-3.0/gtk.css | 5 +++++
3 files changed, 34 insertions(+), 24 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index de0e715..e207b75 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -5,7 +5,7 @@
@define-color theme_text_color #d1cbc9;
@define-color theme_bg_color #121212;
@define-color theme_fg_color #d1cbc9;
- define-color theme_selected_bg_color #c8d6e6;
+ define-color theme_selected_bg_color alpha (@theme_fg_color, 0.70);
@define-color theme_selected_fg_color #000000;
@define-color theme_tooltip_bg_color #cbcbcb;
@@ -13,7 +13,7 @@
@define-color button_gradient_color_a #282528;
@define-color button_gradient_color_b #0d0b0d;
- define-color button_border #585458;
+ define-color button_border #383438;
@define-color button_active_gradient_color_a shade (@button_active_gradient_color_b, 0.83);
@define-color button_active_gradient_color_b #5d565d;
@@ -26,9 +26,12 @@
@define-color inactive_frame_color shade (@theme_bg_color, 1.19);
- define-color notebook_border #595959;
- define-color notebook_active_tab_border #b0c0d1;
- define-color notebook_selected_tab_color #b5bfc9;
+ define-color notebook_border #393939;
+ define-color notebook_active_tab_border alpha (@theme_base_color, 0.50);
+ define-color notebook_selected_tab_color alpha (@theme_fg_color, 0.75);
+
+ define-color notebook_tab_gradient_a @switch_slider_color;
+ define-color notebook_tab_gradient_b @theme_base_color;
@define-color switch_slider_color #111113;
@define-color switch_slider_border #a5b8cc;
@@ -36,11 +39,11 @@
@define-color highlighted_border #757075;
@define-color internal_element_color #77757a;
- define-color progressbar_background_a #abbac9;
- define-color progressbar_background_b #76b0ec;
- define-color progressbar_border #8ca5bf;
+ define-color progressbar_background_a alpha (@theme_fg_color, 0.70);
+ define-color progressbar_background_b alpha (@theme_fg_color, 0.45);
+ define-color progressbar_border alpha (@theme_fg_color, 0.60);
- define-color focused_entry_border #cadaeb;
+ define-color focused_entry_border alpha (@theme_fg_color, 0.95);
@define-color toolbar_gradient_base #1a1a1d;
@define-color toolbar_gradient_step1 #262628;
@@ -49,13 +52,15 @@
@define-color toolbar_active_button_color #6f6f7e;
+ define-color expander_row_selected_color alpha (@theme_base_color, 0.60);
+
@define-color menu_controls_color #aaa8ac;
- define-color keyboard_focus_border_a #d5e2f0;
- define-color keyboard_focus_border_b #aebdd1;
+ define-color keyboard_focus_border_a alpha (@theme_fg_color, 0.80);
+ define-color keyboard_focus_border_b alpha (@theme_fg_color, 0.60);
- define-color trough_bg_color_a #333338;
- define-color trough_bg_color_b #1b1b1e;
+ define-color trough_bg_color_a #1b1b1e;
+ define-color trough_bg_color_b #333338;
@define-color frame_color #756a7f;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 5f0432e..0cee88b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -327,8 +327,8 @@ GtkCalendar {
padding: 3 8 0;
background-image: -gtk-gradient (linear,
left top, left bottom,
- from (@theme_base_color),
- to (@switch_slider_color));
+ from (@notebook_tab_gradient_a),
+ to (@notebook_tab_gradient_b));
-adwaita-focus-border-radius: 2;
}
@@ -589,11 +589,11 @@ GtkComboBox.button {
}
.menu.check:prelight {
- color: @selected_fg_color;
+ color: @theme_selected_fg_color;
}
.menu.radio:prelight {
- color: @selected_fg_color;
+ color: @theme_selected_fg_color;
}
/*************************
@@ -881,8 +881,8 @@ GtkSwitch.trough:active {
color: @theme_base_color;
-adwaita-border-gradient: -gtk-gradient (linear,
left top, left bottom,
- from (shade (@selected_bg_color, 0.70)),
- to (shade (@selected_bg_color, 0.94)));
+ from (shade (@theme_selected_bg_color, 0.70)),
+ to (shade (@theme_selected_bg_color, 0.94)));
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@active_switch_bg_color_a),
@@ -945,7 +945,7 @@ GtkIconView {
GtkIconView.view.cell:selected,
GtkIconView.view.cell:selected:focused {
- background-color: @selected_bg_color;
+ background-color: @theme_selected_bg_color;
border-radius: 4;
/* FIXME: this probably needs to be better;
@@ -999,8 +999,8 @@ row:selected:focused {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@progressbar_border),
- color-stop (0.03, @progressbar_border),
- color-stop (0.04, @theme_selected_bg_color),
+ color-stop (0.02, @progressbar_border),
+ color-stop (0.03, @theme_selected_bg_color),
color-stop (0.97, @theme_selected_bg_color),
color-stop (0.98, @progressbar_border),
to (@progressbar_border));
@@ -1048,8 +1048,8 @@ row:selected {
.expander row:selected,
.expander row:selected:focused {
- border-color: #acccee;
- color: #acccee;
+ border-color: @expander_row_selected_color;
+ color: @expander_row_selected_color;
background-color: @theme_selected_bg_color;
}
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 9f92974..f673da4 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -85,6 +85,9 @@
@define-color notebook_active_tab_border #1372d3;
@define-color notebook_selected_tab_color #8dc0f3;
+ define-color notebook_tab_gradient_a @theme_base_color;
+ define-color notebook_tab_gradient_b @switch_slider_color;
+
@define-color toolbar_gradient_base #aaaa9e;
@define-color toolbar_gradient_step1 #bcbcb4;
@define-color toolbar_gradient_step2 #d9d9d7;
@@ -92,4 +95,6 @@
@define-color toolbar_active_button_color #909081;
+ define-color expander_row_selected_color #acccee;
+
@import url("gtk-widgets.css");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]