Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Theming 3.2 ( in my case like win3.x)
#1
[attachment=14495] 


Hi, is there a documentation on how to theme gimp 3.2? In the screenshot you can see how far i could progress on my own. Gimp now looks a lot friendlyier and more usable to my taste. And its blazingly fast on linux with 64 GB of ram. 

I did found out that the toolitem group can be acessed from css with:
Code:
GimpDock toolitemgroup button.flat  {
border-color: #000; background-image: none; border-radius: 2px; color: #000000; border-top: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; background-color: #c6c6c6; box-shadow: inset -2px 0 #94918C, inset 0 -2px #94918C, inset 2px 0 #FFFFFF, inset 0 2px #FFFFFF;
}

GimpDock toolitemgroup button:checked {
border-color: #000; box-shadow:inset 2px 2px #000, inset -2px -2px;
}


 kind regards bluedxca93
Reply
#2
Hi! GIMP uses GTK3 CSS, which is a subset of the full CSS specs. Information here: Gtk – 3.0: CSS Overview

The current themes can be found here:
https://gitlab.gnome.org/GNOME/gimp/-/tr...ter/themes

The System folder's gimp.css contains "base" settings. Those are loaded first.

The Default folder contains the default theme, with light, grey, and dark variants. The "gimp-*.css" files there contain the theme colors. The "common-*.css" files contain the actual theme rules.

You can copy + paste + rename the Default folder to make your own theme (which you can select in Preferences). GIMP reloads the CSS file whenever you change variants - so when I'm doing test, I sometimes have the Welcome dialogue open and just toggle that setting to see my changes.

There's also the GtkInspector: GTK Inspector - GNOME Developer Documentation
It lets you make CSS changes live, and find the CSS names of various widgets in GIMP. You can access it by going to Edit -> Keyboard Shorts, searching for the Debug category, and binding a shortcut to it.
Reply
#3
Cannot see the screenshot ( not in Firefox, not in Chromium)
Reply
#4
(6 hours ago)MrsP-from-C Wrote: Cannot see the screenshot ( not in Firefox, not in Chromium)

[Image: gimp-oldlook.png]

foto‑sharing plattform 

Now  it should be visible. GTK_DEBUG=interaktive i know already. Thanks for the hint that Gimp has a Default CSS File. I'll take a look at it.
Reply


Forum Jump: