How to Set a Custom Color Scheme as the Default Dark Theme When Using "Use System Theme" in Kate?

Post Body:
Hi everyone,

I’m using Kate with the “Use system theme” option enabled under Settings → Configure Kate → Fonts & Colors → Color Schemes. This allows Kate to automatically switch between light and dark modes depending on my KDE system’s global theme.

I created a custom dark color scheme (based on one of the existing dark themes), and I want it to be used whenever my system switches to dark mode. However, I can’t figure out how to make this specific custom scheme the default dark theme in this setup.

I know how to:

  • Edit a color scheme (e.g., to make indentation lines more visible)
  • Set a scheme as default manually

But since I’m using “Use system theme,” I need to know how to assign my custom dark theme to that automatic switching logic.

Is there a way to set my custom dark theme as the default dark scheme specifically for dark mode under “Use system theme”?

Thanks in advance!

Hi - for what it’s worth, there is an open feature request in the KDE Bugtracking System for what you’re mentioning: 483285 – Add option to set default light and dark schemes

If you’d like, you can add yourself to the CC list in Bugzilla to get email notifications whenever new comments are added, or the status is changed. Making sure the “Add me to CC list” option is checked, then choosing “Save Changes”, will add you.

2 Likes

Interesting question. I doubt it’s possible. Could be wrong though. As far as I know, it’s either this or that for now. I think that would be difficult to implement. Some sort of switch that defines whether a light or dark system theme is being used and switch the editor color theme accordingly. Or a default editor theme for light or dark. I’m afraid that for now one is stuck with a manual switch ( as a toolbar icon as the quickest option)

1 Like

Hi Thanks for the reply.

It’s unfortunate that this is not possible yet.

My new theme is just Breeze Dark with brighter indent line guides as they are very dim in the default theme.

Any other way I can make them more visible?

Here is how they look currently…

As you can see they are barely visible..


Cheers.

You can edit the colors by copying breeze dark. It will then be located in ~/.local/share/org.kde.syntax-highlighting/themes/. But since you have to rename it and I don’t have a clue how to edit the default breeze dark, where it’s even located at or if it uses the breeze dark color scheme…can’t help you with that.