I'm using the KDE desktop (but originally installed normal Ubuntu). I like dark colors for my desktop theme. The only dark theme I see installed by default is "Elegance". When I select this theme, the default colors for text areas is light text on a dark background. This is just fine when both get set, but some places don't seem to use the dark background. For example, text fields in Firefox are mostly still white background, but the system light foreground is being used. AskUbuntu itself suffers this, in the "Tags" field as I type this question. Buttons and text areas on some of the system menus and dialogs likewise become unreadable. See screenshot for an example, trying to add a widget to the bottom panel (see the upper left corner).

Unreadable text on Elegance KDE Desktop theme

Is there a way to correct this color? I don't see any method in the System Settings->Workspace Appearance->Desktop Theme dialog to customize any of the colors.

I found a post with the same problem ( https://forum.kde.org/viewtopic.php?f=67&t=106925 ), and it's marked "solved", but it looked like the solution was "stop using the Elegance theme".

1 Answer 1


You can manually change the colors:

  1. Open $HOME/.kde/share/apps/desktoptheme/Elegance/colors in your favorite editor (vim, Kate, Sublime, ...)
  2. Locate the [Colors:Button] section
  3. Change ForegroundActive and ForegroundNormal to some darker color
    1. Colors are written as R,G,B values. You can use some color picker to get the values for the color you want.
  4. Save the file and logout/login (changing theme to something else and the back to Elegance also works)

Just as an example, here are the colors I used (still needs to be a bit darker I guess):


and this is the result:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .