[gtk+] Adwaita: make focus visible in GtkColorSwatch
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: make focus visible in GtkColorSwatch
- Date: Tue, 1 Sep 2015 08:18:42 +0000 (UTC)
commit c21a16e2bc57c4ee79b06eac3237a29098b2dabb
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Aug 31 13:59:12 2015 +0200
Adwaita: make focus visible in GtkColorSwatch
- use the same fg color as the selection icon
- both dark & light to use the same opacity
gtk/theme/Adwaita/_common.scss | 4 ++--
gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++--
gtk/theme/Adwaita/gtk-contained.css | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 32c47e6..3658277 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3157,12 +3157,12 @@ GtkColorSwatch {
// indicator and keynav outline colors
&.color-dark {
color: white;
- outline-color: transparentize(black, 0.7);
+ outline-color: transparentize(white, 0.5);
&:backdrop { color: transparentize(white, 0.7); }
}
&.color-light {
color: black;
- outline-color: transparentize(white, 0.5);
+ outline-color: transparentize(black, 0.5);
&:backdrop { color: transparentize(black, 0.7); }
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index f297ef7..12edfb8 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -4205,12 +4205,12 @@ GtkColorSwatch {
box-shadow: none; }
GtkColorSwatch.color-dark {
color: white;
- outline-color: rgba(0, 0, 0, 0.3); }
+ outline-color: rgba(255, 255, 255, 0.5); }
GtkColorSwatch.color-dark:backdrop {
color: rgba(255, 255, 255, 0.3); }
GtkColorSwatch.color-light {
color: black;
- outline-color: rgba(255, 255, 255, 0.5); }
+ outline-color: rgba(0, 0, 0, 0.5); }
GtkColorSwatch.color-light:backdrop {
color: rgba(0, 0, 0, 0.3); }
GtkColorSwatch.overlay, GtkColorSwatch.overlay:selected {
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 49c6974..287fafa 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -4377,12 +4377,12 @@ GtkColorSwatch {
box-shadow: none; }
GtkColorSwatch.color-dark {
color: white;
- outline-color: rgba(0, 0, 0, 0.3); }
+ outline-color: rgba(255, 255, 255, 0.5); }
GtkColorSwatch.color-dark:backdrop {
color: rgba(255, 255, 255, 0.3); }
GtkColorSwatch.color-light {
color: black;
- outline-color: rgba(255, 255, 255, 0.5); }
+ outline-color: rgba(0, 0, 0, 0.5); }
GtkColorSwatch.color-light:backdrop {
color: rgba(0, 0, 0, 0.3); }
GtkColorSwatch.overlay, GtkColorSwatch.overlay:selected {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]