Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Its-Just-Nans
Copy link
Contributor

@Its-Just-Nans Its-Just-Nans commented Nov 5, 2025

Following this MR #7375

Without Syntect, the urrent theme selector is global_theme_preference_buttons. It should be the dark_theme variable of the local CodeTheme - same as syntect

Tested with

cargo run
# and
cargo run --features syntect 
  • I have followed the instructions in the PR template

thanks for this amazing library!

@github-actions
Copy link

github-actions bot commented Nov 5, 2025

Preview available at https://egui-pr-preview.github.io/pr/7684-fix-code-theme-functions
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

@Its-Just-Nans
Copy link
Contributor Author

Note that the potential other option is to remove the CodeTheme dark_mode (and theme choice) when syntect is disabled

@Its-Just-Nans
Copy link
Contributor Author

This MR also add methods to easily change the font and font size

Its-Just-Nans added a commit to Its-Just-Nans/galago that referenced this pull request Dec 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant