Use relative units in GTK CSS

This commit is contained in:
Rokosun 2024-10-18 23:21:41 +05:30
parent 12dfb42215
commit 8828398707

View File

@ -14,21 +14,21 @@ const
# GTK CSS for overriding the default icon size of buttons
gtkCSS = """
.style-button {
-gtk-icon-size: 100px;
padding: 3px 7px;
border-radius: 15px;
-gtk-icon-size: 5.5em;
padding: 0.1em 0.4em;
border-radius: 0.75em;
}
.accent-button {
-gtk-icon-size: 30px;
padding: 8px;
border-radius: 30px;
-gtk-icon-size: 1.65em;
padding: 0.4em;
border-radius: 1.5em;
}
#.accent-button.suggested-action {
# outline-color: black;
# outline-width: 1px;
# outline-offset: -9px;
# outline-width: 0.05em;
# outline-offset: -0.45em;
}"""
appID = "com.tromjaro.ThemeSwitcher"
appLogo = "tromjaro-theme-switcher"