Col-E / Recaf

The modern Java bytecode editor
https://recaf.coley.software
MIT License
5.91k stars 457 forks source link

Light theme option #782

Open stevenxxiu opened 4 months ago

stevenxxiu commented 4 months ago

From my previous issue #779, I saw that v2 wasn't supported anymore. I tried the latest commit in the dev4 branch, 9653c529563500a37286cd7f395c23f27ad22d8d, today, but found no theme option.

Could there be a light theme?

I understand you prefer dark themes, but there's people who prefer light themes too. It'll make this so much easier to use.

stevenxxiu commented 1 month ago

I made a few patches to get light theme working. The patched files are:

The syntax highlighting colors use Catppuccin Latte colors, except for Javadoc.

Maybe there could be an option to use a custom theme via CSS files? This way the theme doesn't have to be hardcoded.

A screenshot of what my patches look like:

recaf_light_theme

Col-E commented 1 month ago

Eventually we'll add file watching in the style directory and re-apply changes to windows, but its not been a priority item.