style: Always use light text for recording indicator

The red tone that the recording indicator uses as background doesn't
lend itself well to dark text and icon on top. Stick to a light color.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7112
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2983>
This commit is contained in:
Georges Basile Stavracas Neto 2023-10-18 15:26:05 -03:00 committed by Marge Bot
parent 81546652c6
commit 80f6fb79c3

View File

@ -71,7 +71,7 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
}
&.screen-recording-indicator {
@include panel_button($screenshot_ui_button_red, $flat: false);
@include panel_button($screenshot_ui_button_red, $fg:$panel_system_fg_color, $flat: false);
}
&.screen-sharing-indicator {
@ -112,7 +112,7 @@ $panel_transition_duration: 250ms; // same as the overview transition duration
// unfortunate duplication so these indicators have styles
&.screen-recording-indicator {
@include panel_button($screenshot_ui_button_red, $flat: false);
@include panel_button($screenshot_ui_button_red, $fg:$panel_system_fg_color, $flat: false);
}
&.screen-sharing-indicator {