gnome-shell 40: Define default user-icon sizing in SASS
https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/6b9f2770814318076c03badedf08012b9e533ce7
By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.
https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/6b9f2770814318076c03badedf08012b9e533ce7
roundabout,
created on Sunday, 21 March 2021, 14:25:15 (1616336715),
received on Sunday, 11 May 2025, 13:23:00 (1746969780)
Author identity: nana-4 <hnmaigo@gmail.com>
fe536942d177e0f6ba12a9be9c1ed6ad8a51baea
} } @mixin user-icon-size($size) { icon-size: $size; StIcon { width: $size / 2; height: $size / 2; padding: $size / 4; } } @if $version >= 3.36 { .user-icon { StIcon { background-color: fill($on-surface); border-radius: $circular-radius; } @if $version >= 40 { @include user-icon-size(64px); }} @each $class, $size in (".vertical", 128px), (".horizontal", 64px) {.user-widget#{$class} .user-icon {icon-size: $size;.user-widget.vertical .user-icon { @include user-icon-size(128px); }StIcon {width: $size / 2;height: $size / 2;padding: $size / 4;}@if $version < 40 { .user-widget.horizontal .user-icon { @include user-icon-size(64px);} } }