gtk/button: Use primary color for raised checked buttons
The gray overlay color was indistinguishable from the focus state.
The gray overlay color was indistinguishable from the focus state.
by roundabout, Friday, 20 March 2020, 03:10:07 (1584673807), pushed by roundabout, Sunday, 11 May 2025, 13:22:50 (1746969770)
Author identity: nana-4 <hnmaigo@gmail.com>
609ee6c408b10d58aa2c1a82e9322d55d9310b6d
}
&:checked {
background-color: mix(rgba($text, 1), $surface, percentage($overlay-checked-opacity));
background-color: mix($primary, $surface, percentage($overlay-checked-opacity + .04));
color: $primary;
@include raised-ink-color($primary);
&:disabled {
box-shadow: inset 0 0 0 9999px $overlay-checked;
&:checked {
background-color: $overlay-checked;
color: $text;
@include ink-color($text);
&:disabled {
color: $text-disabled;
0 0 2 / 0 0 2px;
background-color: transparent;
color: $titlebar-text;
@include ink-color($titlebar-text);
&:disabled {
background-color: transparent;