[gnome-shell] theme: Make base icon size font-relative
- From: Sam Hewitt <snwh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] theme: Make base icon size font-relative
- Date: Wed, 12 Feb 2020 18:55:30 +0000 (UTC)
commit 77f77b430520d02a7373ce68a61e5fcc737537c8
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Feb 12 19:46:44 2020 +0100
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
data/theme/gnome-shell-sass/_common.scss | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 197b4fcb95..d64809762a 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -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));
// icons
-// $base_icon_size: 1.09em;
-$base_icon_size: 16px;
+$base_icon_size: 1.09em;
+// $base_icon_size: 16px;
// Stage
stage {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]