Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

SyntaxEdit dark theme/style

I'm investigating adding a dark theme/style to my VCL app... because of the increasing popularity of dark themes.

I was hoping there was a simple color scheme for SyntaxEdit that I could use instead of the default.xml color scheme but there doesn't seem to be.

What is the best way to get a dark theme/style for SyntaxEdit? Is there a color scheme like dark.xml somewhere? If not then can you create one?

Thank you.

Comments

  • 3 Comments sorted by Votes Date Added
  • There no included dark color scheme. But, the idea is generally good, and we definitely should consider it as a new feature.
  • Yes, please provide a dark theme. I will see if I can come up with something quick by "converting" the dafault.xml color scheme to something that works well with a dark background. I think I've got my app mostly working with a couple of dark themes and I'm liking the look even though there are still some minor issues to iron out.
  • Support for a couple of new dark styles / themes in my app is coming along nicely and I think I will be able to use them as "BETA" features.

    I've come up with a "default-dark.xml" color scheme. The latest version is here if you want to look at it:

    Issue 1: One of the minor issues is that I can't find a setting/property to change the color of the line wrap symbols when gsPaintWrapsOnLineNumberBar is set. Is there a way to set the color of the wrap symbols on the line number bar?

    Issue 2: Another minor issue is that the editor scroll bars do not see to be drawn using the active style.

Sign In or Register to comment.