mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
style: Fix free disk space caption dot color
It hardcodes a color which matches only in light mode, and only if high contrast is not enabled. Instead derive from currentColor to get light/dark automatic support and double the alpha opacity on high contrast. The alpha values were copied from libadwaita's color used by level bar.
This commit is contained in:
parent
efeecb449a
commit
ba1f41b592
2 changed files with 5 additions and 1 deletions
|
@ -10,3 +10,7 @@
|
|||
#NautilusQueryEditorTag {
|
||||
box-shadow: inset 0 0 0 1px @borders;
|
||||
}
|
||||
|
||||
.disk-space-free {
|
||||
color: alpha(currentColor, 0.3);
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
}
|
||||
|
||||
.disk-space-free {
|
||||
color: alpha(@dark_5, 0.12);
|
||||
color: alpha(currentColor, 0.15);
|
||||
}
|
||||
.disk-space-used {
|
||||
color: @accent_bg_color;
|
||||
|
|
Loading…
Reference in a new issue