vinceliuice / Fluent-gtk-theme

Fluent design gtk theme for linux desktops
GNU General Public License v3.0
1.04k stars 55 forks source link

Gnome Shell theme has small buttons on certain dialogs #91

Open mspaulding06 opened 2 years ago

mspaulding06 commented 2 years ago

I've noticed that dialogs such as logout and restart have very small buttons. I've tried installing different variations of the theme but I see this issue with all of them. I expected the buttons to be bigger.

logout-dialog-buttons

I'm running Gnome 41 on Debian Unstable with the latest Fluent theme from the master branch.

Anifyuli commented 2 years ago

@mspaulding06 , I'm get that issue too. I'm confuse how to fix that problem

mrmeszaros commented 1 year ago

I did some digging, and it seems to me that inside gnome-shell.css, rules like

.modal-dialog .modal-dialog-linked-button:last-child:hover {
  color: white;
  border-image: url("assets/modal-button-right-hover.svg") 16 16 16 16;
}

are responsible for styling the buttons, as well as the linked assets (things starting with modal-button). These in turn are defined in https://github.com/vinceliuice/Fluent-gtk-theme/blob/c413f80e8e7aa566dc4570f792038238e3c23385/src/gnome-shell/sass/_common-40-0.scss#L62

Now, the SVG-s do not look optimized, they have all sorts of editor data - this should not cause issues. However they have some unnecessary transforms that MIGHT screw with sizing.

I might try some tweaking if I'll have the time and try to figure out what is happening there, but I'm totally new to theming, so...