theme: Make base icon size font-relative

Most icons are used along-side text, like the top bar or menus.
It therefore makes sense for them to adjust along-side the text
when the text-scaling changes.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/995
This commit is contained in:
Florian Müllner 2020-02-12 19:46:44 +01:00
parent 910a1aed96
commit 77f77b4305

View File

@ -54,8 +54,8 @@ $base_font_size: 11;
$text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2)); $text_shadow_color: if($variant == 'light', rgba(255,255,255,0.3), rgba(0,0,0,0.2));
// icons // icons
// $base_icon_size: 1.09em; $base_icon_size: 1.09em;
$base_icon_size: 16px; // $base_icon_size: 16px;
// Stage // Stage
stage { stage {