Tweak GTK CSS to make the buttons look better

This commit is contained in:
Rokosun 2024-09-03 13:12:21 +05:30
parent 52c15867df
commit 6eead68790

View File

@ -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"]