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

Improve macOS 11 compatibility #58

Merged
merged 6 commits into from
Nov 11, 2020
Merged

Improve macOS 11 compatibility #58

merged 6 commits into from
Nov 11, 2020

Conversation

sindresorhus
Copy link
Owner

@sindresorhus sindresorhus commented Jul 30, 2020

Fixes #57


This cannot be released until Xcode 12 final is out, but if you really need this now, you can use the Git commit in the Xcode's Swift Package Manager tab.

TODO:

  • Check if NSImage.preferencesGeneralName becomes the correct SF Symbol before the final macOS 11 release, if so, we could revert to that. Currently, it's colored even on macOS 11.
    Update: It does not adopt the Big Sur look, so it cannot be used.
  • Document how to do backwards compatibility. Export the Big Sur icons and then use them.
  • Improve the segmented control style for macOS 11.

@urtti
Copy link

urtti commented Aug 24, 2020

Thanks for working on this, currently the toolbarItems style cuts a bit of the text in Big Sur. I suppose you are aware.

image

To be more specific, I see this with version 1.0.1.

@sindresorhus
Copy link
Owner Author

This is what I see on beta 5 with this PR (ignore the missing icons):

Screenshot 2020-08-25 at 02 34 43

@urtti
Copy link

urtti commented Aug 26, 2020

This is what I see on beta 5 with this PR (ignore the missing icons):

Screenshot 2020-08-25 at 02 34 43

Yep, that looks better. Without the PR it tries to show it inline with the window controls on the left, resulting in a funky look.
image

@sindresorhus sindresorhus marked this pull request as ready for review November 11, 2020 01:26
@sindresorhus sindresorhus merged commit dbe099f into master Nov 11, 2020
@sindresorhus sindresorhus deleted the bigsur branch November 11, 2020 01:27
dezinezync pushed a commit to dezinezync/Preferences that referenced this pull request Dec 17, 2022
dezinezync pushed a commit to dezinezync/Preferences that referenced this pull request Dec 17, 2022
dezinezync pushed a commit to dezinezync/Preferences that referenced this pull request Dec 17, 2022
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.

Will macOS Big Sur preferences style be supported?
2 participants