themix-project / oomox-gtk-theme

Oomox-gtk-theme is a fork of Numix-gtk-theme with slightly different visual design choices and more customization capabilities. It can be used in Themix/Oomox app.
https://github.com/themix-project/oomox
GNU General Public License v3.0
42 stars 8 forks source link

Making GTK2 Theme a Bit More Customizable #57

Open gyaal opened 6 years ago

gyaal commented 6 years ago

How would I go about changing the color of that border around the contents of Page1 and the ones around that menu button below the slider and the check button in that example window in lxappearance to be more easily distinguishable against the background when using darker themes? Also, that "Demo" text is colored in some bright white-ish color which I don't have defined in oomox for some reason. That lighter bar on the bottom of the example window is another color I didn't define in oomox. Maybe add those settings in oomox?

actionless commented 6 years ago

those colors you mentioned are computed as mixture of background and foreground colors

in GTK+3 it's quite easy to configure a border of any element, there is almost all the CSS power for that

while in GTK+2 theming options are limited by the theme engine used for the element (ie Button, Label) and for borders some of them allowing only to choose "level of contrast" or "lightness/darkness" of the border but not the border color explicitly

actually 3 days ago i just was thinking about reviving the effort on clearing this out started few months ago by another contributor: https://github.com/themix-project/oomox/pull/88#issuecomment-378763951

but my overall feeling what more we'll proceed on adding border-configuration options for GTK+3 theme, bigger difference will be between GTK+2 and GTK+3 themes (because of the limitations of GTK+2 theme engines), see also https://github.com/themix-project/oomox-gtk-theme/issues/45