From d0ea3e6c283d988c9b409acc8143811bc876e051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sun, 22 Mar 2026 17:25:50 -0700 Subject: [PATCH 1/2] Resource text size icons --- data/icons/text-large.svg | 18 ++++++++++++ data/icons/text-small.svg | 49 +++++++++++++++++++++++++++++++ data/quick-settings.gresource.xml | 2 ++ src/Widgets/TextScale.vala | 4 +-- 4 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 data/icons/text-large.svg create mode 100644 data/icons/text-small.svg diff --git a/data/icons/text-large.svg b/data/icons/text-large.svg new file mode 100644 index 0000000..4846240 --- /dev/null +++ b/data/icons/text-large.svg @@ -0,0 +1,18 @@ + + diff --git a/data/icons/text-small.svg b/data/icons/text-small.svg new file mode 100644 index 0000000..7f986c5 --- /dev/null +++ b/data/icons/text-small.svg @@ -0,0 +1,49 @@ + + diff --git a/data/quick-settings.gresource.xml b/data/quick-settings.gresource.xml index 9d24759..e5d5eac 100644 --- a/data/quick-settings.gresource.xml +++ b/data/quick-settings.gresource.xml @@ -9,6 +9,8 @@ icons/dark-mode.svg icons/system-suspend.svg icons/system-suspend-disabled.svg + icons/text-large.svg + icons/text-small.svg icons/quick-settings.svg icons/rotation-arrow.svg icons/rotation-allowed.svg diff --git a/src/Widgets/TextScale.vala b/src/Widgets/TextScale.vala index 955ee80..fd473e9 100644 --- a/src/Widgets/TextScale.vala +++ b/src/Widgets/TextScale.vala @@ -13,7 +13,7 @@ public class QuickSettings.TextScale : Gtk.Box { } construct { - zoom_out_button = new Gtk.Button.from_icon_name ("format-text-smaller-symbolic") { + zoom_out_button = new Gtk.Button.from_icon_name ("quick-settings-text-small-symbolic") { tooltip_text = _("Decrease text size"), valign = CENTER }; @@ -28,7 +28,7 @@ public class QuickSettings.TextScale : Gtk.Box { zoom_scale.add_mark (1, BOTTOM, null); zoom_scale.add_mark (1.5, BOTTOM, null); - zoom_in_button = new Gtk.Button.from_icon_name ("format-text-larger-symbolic") { + zoom_in_button = new Gtk.Button.from_icon_name ("quick-settings-text-large-symbolic") { tooltip_text = _("Increase text size"), valign = CENTER }; From 7fdd6e6812e8d7bf2df8438a9e090ece1d7f7fae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sun, 22 Mar 2026 17:29:25 -0700 Subject: [PATCH 2/2] Slightly disambiguate --- data/icons/text-large.svg | 14 ++++++------- data/icons/text-small.svg | 42 +++++---------------------------------- 2 files changed, 11 insertions(+), 45 deletions(-) diff --git a/data/icons/text-large.svg b/data/icons/text-large.svg index 4846240..555255e 100644 --- a/data/icons/text-large.svg +++ b/data/icons/text-large.svg @@ -8,11 +8,9 @@ xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> + id="text3" + style="font-size:10.996px;line-height:1;font-family:Inter;-inkscape-font-specification:Inter;letter-spacing:-0.512524px;white-space:pre;fill:#555761;stroke-width:3.99999998;-inkscape-stroke:none;opacity:0.5;vector-effect:none;fill-opacity:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + d="M 3.875 5 L 0.97070312 13 L 2.0546875 13 L 2.75 11 L 5.1425781 11 L 5.4765625 10 L 3.0957031 10 L 3.703125 8.2539062 C 3.8749373 7.759946 4.1226821 7.1851158 4.4609375 6.0039062 C 4.799193 7.1636393 5.0352268 7.7169928 5.2285156 8.2539062 L 5.6601562 9.4570312 L 6.1542969 7.9824219 L 5.0566406 5 L 3.875 5 z " /> diff --git a/data/icons/text-small.svg b/data/icons/text-small.svg index 7f986c5..a8403c2 100644 --- a/data/icons/text-small.svg +++ b/data/icons/text-small.svg @@ -5,45 +5,13 @@ version="1.1" id="svg228" xml:space="preserve" - xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> + transform="scale(1.0026942,0.99731303)" />