Zorin OS 18
Setting theme to any of Zorin's Dark themes (not Adwaita, etc.) causes visibility issue in Disks (disk management) app where selected partition displays as white text on white background. Also, the remove partition button is salmon color with black dash and doesn't grey-out when unfocused.
To fix all this, add the following to ~/.config/gtk-3.0/gtk.css file:
/* highlighted selection (partition) background color */
@define-color theme_selected_bg_color #116ead; /* focused */
@define-color theme_unfocused_selected_bg_color #116ead; /* unfocused */
/* button (remove partition) background color and dash color */
button.destructive-action,
headerbar button.destructive-action:not(.text-button):not(.titlebutton) { /* focused */
color: #ffffff;
background: image(#e33838);
}
button.destructive-action:backdrop,
button.destructive-action.flat:backdrop,
headerbar button.destructive-action:not(.text-button):not(.titlebutton):backdrop,
headerbar button.destructive-action:not(.text-button):not(.titlebutton).flat:backdrop { /* unfocused */
color: #a3a3a3;
background-color: #686868;
background-image: none;
}
These are the applicable selector/parameter commands within each Zorin theme's individual .css file but are evaluated after. Change the colors to your liking, these are what I chose. Once this is in place, colors for the applicable widgets, buttons in "Disks" are now set regardless of theme. Also, it's possible this fix will affect other apps besides "Disks" but so far I haven't come across any.
It took much detective work for such a small thing but wanted to share the fix.