-
-
Notifications
You must be signed in to change notification settings - Fork 113
Follow system style toggle #1192
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
Conversation
jeremypw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks clean to me and works as expected. Just some padding required between the switch and the label. Needs input from design team as well.
|
Although the UI closely follows the corresponding Terminal PR (#666) there is a significant difference in behaviour. Terminal persists the user preference when the "follow-system-style" is toggled - i.e. the original appearance is restored when the switch is toggled off. This PR does not persist the original setting but overwrites it. I think Terminal's behaviour is better. |
|
Closing since this has conflicts and OP hasn't responded in 2 months |

Fixes #902
Adds a follow system style toggle to the preference menu as mentioned in #902
Default is off, if enabled Code follows the global dark style setting.
It uses solarized-light for syntax highlighting if follow system style is set to true and system style is set to default. So currently there is no way to use the classic theme for syntax highlighting while having follow system style enabled. But to make that possible one would have to separate the choice of color scheme for syntax highlighting and gtk dark style.