forked from AuroraMiddleware/gtk
Adwaita: make focus visible in GtkColorSwatch
- use the same fg color as the selection icon - both dark & light to use the same opacity
This commit is contained in:
parent
e50c37c8a3
commit
c21a16e2bc
@ -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); }
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user