gnome-shell/data/theme/gnome-shell-sass/widgets
Jonas Dreßler 3eb40df06b panel: Don't change text color when entering the overview or lockscreen
With the introduction of the transparent panel in the overview, we
started making the panel text/icon color slightly brighter in the
overview and on the lockscreen to ensure best contrast. Now
unfortunately, setting the text color incurred a relayout of the
underlying ClutterText actor (fixed with
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1750), and
setting the icon color causes the icon texture to get regenerated
(fixed with
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/932).
Regenerating the icon texture will replace the icon actor, which also
causes a relayout.

This relayout of the panel has been measured to add at least 1
millisecond (the numbers fluctuated a lot) to about 5 ms it takes to
layout the first frame when showing the overview.

Since https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/932 is
unlikely to land this cycle, this commit proposes a different solution:
Simply don't use a different color for text in the overview. To avoid
issues with contrast in the overview, make the default color slightly
brighter and change it from #ccc to #ddd.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1733>
2021-03-09 13:15:09 +00:00
..
_a11y.scss theme: Move accessibility-related selectors into _a11y.scss 2020-02-13 19:46:29 +00:00
_app-grid.scss appDisplay: Adapt to available extra space showing icon grids 2021-03-02 22:02:56 +00:00
_base.scss stylesheet: Increase app dropshadows 2021-02-10 16:19:23 +01:00
_buttons.scss theme: use spaces instead of tabs 2020-01-09 16:43:24 +01:00
_calendar.scss panel: Indicate focus using a pill-shaped background 2021-01-13 23:06:48 +00:00
_check-box.scss theme: use spaces instead of tabs 2020-01-09 16:43:24 +01:00
_corner-ripple.scss theme: Move accessibility-related selectors into _a11y.scss 2020-02-13 19:46:29 +00:00
_dash.scss theme/dash: Tweak margins of the dash 2021-03-03 12:08:58 +00:00
_dialogs.scss welcomeDialog: Add “welcome” dialog 2021-02-05 13:41:26 +00:00
_entries.scss shellEntry: Hide caps lock warning and use animation to show it 2020-01-30 14:35:26 +00:00
_hotplug.scss theme: Improve button styling 2020-01-17 12:21:44 +00:00
_ibus-popup.scss theme: Move .candidate-popup-boxpointer into _ibus-popup.scss 2020-02-13 19:46:29 +00:00
_keyboard.scss theme: Update theming of special OSK keys 2020-02-20 11:34:07 +00:00
_login-dialog.scss loginDialog: Keep hint string from pushing the login box higher 2021-01-28 20:26:38 +00:00
_looking-glass.scss lookingGlass: Add actor tree inspector 2020-06-02 12:44:21 -03:00
_message-list.scss theme: Scale media player button padding with font size 2021-02-04 22:42:08 +00:00
_misc.scss workspaceAnimation: Move background to WorkspaceGroup 2021-02-02 19:35:07 +00:00
_network-dialog.scss theme: Remove unnecessary %bubble_panel extensions 2020-01-17 12:21:44 +00:00
_notifications.scss *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
_osd.scss theme > osd: light variant fixes; variables 2020-01-09 16:43:26 +01:00
_overview.scss theme/overview: Use a spacing of 16px between elements 2021-03-03 12:08:58 +00:00
_panel.scss panel: Don't change text color when entering the overview or lockscreen 2021-03-09 13:15:09 +00:00
_popovers.scss style: Swap text-align in RTL locales 2020-08-03 16:26:37 +00:00
_screen-shield.scss theme/screen-shield: Use the same background color as in the overview 2021-03-04 11:33:03 +00:00
_scrollbars.scss theme: use spaces instead of tabs 2020-01-09 16:43:24 +01:00
_search-entry.scss theme/search-entry: Tweak the margins a bit 2021-03-03 12:08:58 +00:00
_search-results.scss search: Replace IconGrid from grid search results 2020-05-19 16:40:49 -03:00
_slider.scss *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
_switcher-popup.scss theme/switcher-popup: Increase contrast of switcher items 2020-03-27 13:58:47 +00:00
_switches.scss theme: use spaces instead of tabs 2020-01-09 16:43:24 +01:00
_tiled-previews.scss theme: use spaces instead of tabs 2020-01-09 16:43:24 +01:00
_window-picker.scss theme/window-picker: Fixup box-shadow of overview workspace backgrounds 2021-02-18 22:10:02 +01:00
_workspace-switcher.scss theme: Fix workspace switcher popup box size 2020-02-19 14:07:36 +00:00
_workspace-thumbnails.scss theme: Adjust workspaces thumbnails visuals 2021-01-29 15:01:03 +00:00