6b9f277081
The default sizing for user-icon style was not defined in the theme, but it simply used the default Avatar iconSize from UserWidget.js. This didn't work with the current fallback avatar styling (i.e. when the avatar icon is not set for an user account, and a symbolic icon is displayed in its place), as the fallback StIcon was not scaled to align inside the circle shaped user-icon properly. Define the user-icon and corrected fallback StIcon sizes in the stylesheet to correct this. The default 64px user-icon size is based on default UserWidget.Avatar iconSize. The sizing for the StIcon is taken from `.user-widget.horizontal .user-icon` styling, which uses the same base icon-size. Additionally, the special `.user-widget.horizontal .user-icon` styling is removed, as it is now redundant. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1490> |
||
---|---|---|
.. | ||
widgets | ||
_colors.scss | ||
_common.scss | ||
_drawing.scss | ||
_high-contrast-colors.scss | ||
_widgets.scss | ||
COPYING | ||
gnome-shell-sass.doap | ||
NEWS | ||
README.md |
GNOME Shell Sass
GNOME Shell Sass is a project intended to allow the sharing of the theme sources in sass between gnome-shell and other projects like gnome-shell-extensions.
Any changes should be done in the GNOME Shell subtree and not the stand-alone gnome-shell-sass repository. They will then be synchronized periodically before releases.
License
GNOME Shell Sass is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.