-
-
Notifications
You must be signed in to change notification settings - Fork 684
Changes for titlebar #1015
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
Changes for titlebar #1015
Conversation
lkebin
commented
Mar 4, 2020
- When MMTitlebarAppearsTransparent is enabled, using window appearance (NSAppearanceNameDarkAqua, 10.10 and higher version is required) to avoid title bar font color fusion with background.
- Add MMTitlebarDisableDocumentIconKey to disable file icon from titlebar
- When MMTitlebarAppearsTransparent is enabled, using window appearance (NSAppearanceNameDarkAqua, 10.10 and higher version is required) to avoid title bar font color fusion with background. - Add MMTitlebarDisableDocumentIconKey to disable file icon from titlebar
I guess you are using system dark mode. Could you switch system appearance to light mode ? |
Auto-picking dark aqua color scheme: I don't think this is a good idea. What if someone has a colorscheme with a light background (e.g. One option is to auto-pick light/dark theme based on the MMTitlebarDisableDocumentIconKey: I'm ok with this part, but we should probably add a line to the documentation ( |
I missed that problem 🤦♂️ |
If you want this feature I may add something like what I mentioned above with the four options. I may take your |
That will be great. I'm not familiar for macOS app develop. Thank you ! |
- Preference panel. Auto-refresh after setting option. New appearance page. - Background callback Original from (macvim-dev#1015): Changes for titlebar - When MMTitlebarAppearsTransparent is enabled, using window appearance (NSAppearanceNameDarkAqua, 10.10 and higher version is required) to avoid title bar font color fusion with background. - Add MMTitlebarDisableDocumentIconKey to disable file icon from titlebar
Add new preference that allows specifying how MacVim will use dark mode: use systems preference (default), force light mode, force dark mode, or use Vim's 'background' option to decide. Preference will be stored in defaults as 'MMAppearanceModeSelection'. Add docs for that as well. Also, add a new preferences panel called "Appearance" to allow setting the dark mode setting, and transparent titlebar as well. Setting it will refresh all Vim windows immediately for feedback. Also, when setting titlebars to transparent, also hide the file icon as it's distracting in what's a more minimalistic display. Don't use another preference for that for now to avoid having too many options. Minor: Remove preference panel's cross-fade effect as it's more distracting than useful. Fix macvim-dev#912 Also: - See macvim-dev#1015 for part of the contribution. - Close macvim-dev#266 - Close macvim-dev#933