Gimp not matching color theme

This is the pitch black (RevontuliNight) one, GIMP appears to not be pitch black, but firefox is, odd…

Theming engines are completely different between Plasma (which you’re using) and GTK applications (which Gimp belongs to). Conversely there is not always a one-to-one match between GTK and KDE themes. The fact that Firefox adapts to theme changes only means the “theme change detection” is implemented differently between the two. There may be a fix for that but don’t expect a 100% reliability. Also keep in mind virtualised application packages may, too, miss theme changes.

1 Like

GIMP has its own themes and doesn’t properly follow anything set by the DM. You may want to try playing around with the various GIMP themes (Edit->Preferences->Interface->Theme). You can also download third-party themes if any of those suit you (though I found most of them to be more ego-trips than anything worth using). At a pinch, you could even edit an existing theme to show what you want (copy it and edit the copy, otherwise it’ll get over-written next time GIMP updates).

1 Like

Can I get those buttons on a black title bar though? Where is the GIMP theme fplder I thought in usr/local/gimp, but I can;t find it??

Well, technically, it follows the gtk3 theme — at least, mine does if I tell it to use the system theme — because gimp is based upon gtk3 now.

Gamma at 0.40 is good on dark. It should be like this with Gamma unchanged (IMO). Ut is crazy there is no Gamma adjust in Watland yet or/& the Nvidia settings don’t work yet…

The dark theme was hazy, ao I wenr to kgamma, turned it to 0.40 (all) & now it is that. Might npt look the same for yiu, anyway I want it BLACK. Is there any Gimp themes that are Ink black. Crazy Wayland has no way to change gamma, the bloody Nvidia settings server has no way to change how things look yet….

GIMP allegedly still uses GTK-3, could this be an issue?
https://en.wikipedia.org/wiki/GTK#Development
https://en.wikipedia.org/wiki/GIMP#Versions

1 Like

That is with the contrast up, notmally it is gray (Dark themes deon’t seem to be black) I want it Ink black.

Then you’re going to have to find an ink-black gtk3 theme, aren’t you? :man_shrugging:

The AUR has jgd-black:backhand_index_pointing_down:

pamac build jgd-black

On the other hand, gnome-look.org has these… :backhand_index_pointing_down:

… and several others. I’m not going to be listing them all for you. But you should get the idea.

3 Likes

Where do I put GIMP themes */*?

The instructions are on the pages of those themes. They are not gimp themes per se, but gtk themes, and gimp is a gtk application.

gtk themes are stored in ~/.themes/.

I hope this ok for a solved issue.

GIMP Pitch Black Theme (update-safe, independent of GTK theming)

This creates a custom GIMP theme in your home directory.

1. Create the theme folder

mkdir -p ~/.config/GIMP/3.0/themes/PitchBlack

2. Create the CSS file

Create ~/.config/GIMP/3.0/themes/PitchBlack/gimp-dark.css with the contents below.

/* Pitch Black variant — adapted from GIMP 3.0 Dark default */

/* Basic foreground, background and border colors. */
@define-color fg-color               rgb(210,210,210);
@define-color bg-color               rgb(16,16,16);
@define-color border-color           rgb(4,4,4);

/********* Variants for foreground colors *********/
@define-color dimmed-fg-color        rgb(115,115,115);
@define-color disabled-fg-color      rgb(95,95,95);
@define-color disabled-button-color  rgb(65,65,65);

/********* Variants for background colors *********/
/* Hover needs to be visibly lighter than bg on a near-black base */
@define-color hover-color            rgb(38,38,38);
/* widget-bg slightly darker than bg so it recedes */
@define-color widget-bg-color        rgb(10,10,10);
/* selected pops against widget-bg */
@define-color selected-color         rgb(28,28,28);
/* extreme-bg is the absolute darkest surface */
@define-color extreme-bg-color       rgb(6,6,6);
/* extreme-selected must still be distinguishable from extreme-bg */
@define-color extreme-selected-color rgb(22,22,22);

/********* Variants for border colors *********/
@define-color strong-border-color    rgb(12,12,12);
@define-color stronger-border-color  rgb(32,32,32);
@define-color edge-border-color      rgb(3,3,3);

/********* Colors for special cases *********/
@define-color scrollbar-slider-color rgb(72,72,72);
@define-color scrollbar-trough-color rgb(12,12,12);
@define-color ruler-color            rgba(8,8,8,0.5);

@import url("/usr/share/gimp/3.0/themes/Default/common-dark.css");

Note the import path — because this file lives outside the Default theme folder, the @import must use the full absolute path.

Check if path exist before proceeding.

l /usr/share/gimp/3.0/themes/Default/common-dark.css

3. Apply in GIMP

Edit → Preferences → Interface → Theme: PitchBlack / Color scheme: Dark

Restart GIMP if it was already open.

NOTE:

For some reason when I use the .config css it is slidely greyer.

The first time I tested I changed the original /user/share../gimp-dark.css and the look was picth-black.

The downside of editing the default theming is it will change after a up[date of gimp and one need to do the steps again.

Have fun :wink:

This setup i tried the first time.

GIMP Pitch Black Theme (independent of GTK theming)

This replaces GIMP’s built-in dark color scheme with a near-black palette, completely independent of your system GTK theme.

1. Back up the original dark theme

sudo cp /usr/share/gimp/3.0/themes/Default/gimp-dark.css \
        /usr/share/gimp/3.0/themes/Default/gimp-dark.css.bak

2. Replace it with the pitch black version

sudo cp ~/your-pitch-black.css \
        /usr/share/gimp/3.0/themes/Default/gimp-dark.css

Or create the file directly at /usr/share/gimp/3.0/themes/Default/gimp-dark.css with the contents below.

3. The CSS — gimp-dark.css

/* Pitch Black variant — adapted from GIMP 3.0 Dark default */

/* Basic foreground, background and border colors. */
@define-color fg-color               rgb(210,210,210);
@define-color bg-color               rgb(16,16,16);
@define-color border-color           rgb(4,4,4);

/********* Variants for foreground colors *********/
@define-color dimmed-fg-color        rgb(115,115,115);
@define-color disabled-fg-color      rgb(95,95,95);
@define-color disabled-button-color  rgb(65,65,65);

/********* Variants for background colors *********/
/* Hover needs to be visibly lighter than bg on a near-black base */
@define-color hover-color            rgb(38,38,38);
/* widget-bg slightly darker than bg so it recedes */
@define-color widget-bg-color        rgb(10,10,10);
/* selected pops against widget-bg */
@define-color selected-color         rgb(28,28,28);
/* extreme-bg is the absolute darkest surface */
@define-color extreme-bg-color       rgb(6,6,6);
/* extreme-selected must still be distinguishable from extreme-bg */
@define-color extreme-selected-color rgb(22,22,22);

/********* Variants for border colors *********/
@define-color strong-border-color    rgb(12,12,12);
@define-color stronger-border-color  rgb(32,32,32);
@define-color edge-border-color      rgb(3,3,3);

/********* Colors for special cases *********/
@define-color scrollbar-slider-color rgb(72,72,72);
@define-color scrollbar-trough-color rgb(12,12,12);
@define-color ruler-color            rgba(8,8,8,0.5);

@import url("common-dark.css");

4. Apply in GIMP

Edit → Preferences → Interface → Theme: Default / Color scheme: Dark

Restart GIMP if it was already open.

@Edward78

I have merged your two topics about dark GIMP themes.

Yet another reminder – Please create only one thread on the same or a similar subject, else you risk closure of either topic at Staff discretion. Also, avoid marking a solution post if you are not actually satisfied with the outcome.

I have removed the currently marked solution post to allow you to reevaluate your options.

Regards.

1 Like

So the Breeze-Gently theme should make it pitch black right? Jow do I save it in KDE, it says I don’t have permision? I find a password window, put in PW, doesn’t save.

I am sorry I used theme dragon gtk with this method. That is a dark theme.

After changing another gtk theme the theme of gimp changes too.

Sorry for disruption. :hairy_creature:

I see now it is of course the Default theme to select to get the custom gimp theme.

l /usr/share/gimp/3.0/themes/Default/
common.css       common-light.css  gimp-dark.css      gimp-gray.css   ui
common-dark.css  gimp-black.css    gimp-dark.css.bak  gimp-light.css

This i cant help you with. Check if you have sudo rights as user.

I saved it in Home/downloads, is there a comand to move it to usr/share/gimp/3.0/themes/Default??

As in: mv?