Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light theme option #782

Open
stevenxxiu opened this issue Apr 28, 2024 · 2 comments
Open

Light theme option #782

stevenxxiu opened this issue Apr 28, 2024 · 2 comments

Comments

@stevenxxiu
Copy link

stevenxxiu commented Apr 28, 2024

From my previous issue #779, I saw that v2 wasn't supported anymore. I tried the latest commit in the dev4 branch, 9653c52, 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
Copy link
Author

stevenxxiu commented Jul 17, 2024

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

  • recaf-ui/src/main/resources/style/code-editor.css
  • recaf-ui/src/main/resources/style/recaf.css
  • recaf-ui/src/main/resources/style/tweaks.css
  • recaf-ui/src/main/resources/syntax/

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
Copy link
Owner

Col-E commented Jul 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants