From 6eead687904b1b29815c8145e17fbaea29101dcc Mon Sep 17 00:00:00 2001
From: Rokosun <rokosun@trom.tf>
Date: Tue, 3 Sep 2024 13:12:21 +0530
Subject: [PATCH] Tweak GTK CSS to make the buttons look better

---
 themeSwitcher.nim | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/themeSwitcher.nim b/themeSwitcher.nim
index 34156ab..3631089 100644
--- a/themeSwitcher.nim
+++ b/themeSwitcher.nim
@@ -12,7 +12,18 @@ const
   styleIconsDir = iconsDir / "Styles"
   accentIconsDir = iconsDir / "Accent Colors"
   # GTK CSS for overriding the default icon size of buttons
-  gtkCSS = ".style-button { -gtk-icon-size: 100px; } .accent-button { -gtk-icon-size: 30px; }"
+  gtkCSS = """
+.style-button {
+  -gtk-icon-size: 100px;
+  padding: 3px 7px;
+  border-radius: 15px;
+}
+
+.accent-button {
+  -gtk-icon-size: 30px;
+  padding: 8px;
+  border-radius: 30px;
+}"""
   appID = "com.tromjaro.ThemeSwitcher"
   appLogo = "tromjaro-theme-switcher"
   themeShades = ["Light", "", "Dark"]