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

Mac Catalyst colors can be different #8

Open
michaellenaghan opened this issue Oct 7, 2020 · 2 comments
Open

Mac Catalyst colors can be different #8

michaellenaghan opened this issue Oct 7, 2020 · 2 comments

Comments

@michaellenaghan
Copy link

Just to make sure you're aware: Mac Catalyst colors can be different; here's my list of the ones that are (light mode / dark mode):

// .systemBackground: #FFFFFFFF rgba(255, 255, 255, 1.00) / #1E1E1EFF rgba(30, 30, 30, 1.00)
// .secondarySystemBackground: #ECECECFF rgba(236, 236, 236, 1.00) / #323232FF rgba(50, 50, 50, 1.00)
// .tertiarySystemBackground: #D5D5D5FF rgba(213, 213, 213, 1.00) / #464646FF rgba(70, 70, 70, 1.00)

// .systemGroupedBackground: #FFFFFFFF rgba(255, 255, 255, 1.00) / #1E1E1EFF rgba(30, 30, 30, 1.00)
// .secondarySystemGroupedBackground: #ECECECFF rgba(236, 236, 236, 1.00) / #323232FF rgba(50, 50, 50, 1.00)
// .tertiarySystemGroupedBackground: #D5D5D5FF rgba(213, 213, 213, 1.00) / #464646FF rgba(70, 70, 70, 1.00)

// .separator: #00000019 rgba(0, 0, 0, 0.10) // #FFFFFF19 rgba(255, 255, 255, 0.10)
// .opaqueSeparator: #CCCCCCFF rgba(204, 204, 204, 1.00) / #FFFFFF19 rgba(255, 255, 255, 0.10)

// .label: #000000D8 rgba(0, 0, 0, 0.85) / #FFFFFFD8 rgba(255, 255, 255, 0.85)
// .secondaryLabel: #0000007F rgba(0, 0, 0, 0.50) / #FFFFFF8C rgba(255, 255, 255, 0.55)
// .tertiaryLabel: #0000003F rgba(0, 0, 0, 0.25) / #FFFFFF3F rgba(255, 255, 255, 0.25)
// .quaternaryLabel: #00000019 rgba(0, 0, 0, 0.10) / #FFFFFF19 rgba(255, 255, 255, 0.10)

// .placeholderText: #0000003F rgba(0, 0, 0, 0.25) / #FFFFFF3F rgba(255, 255, 255, 0.25)

// .systemGreen: #28CD41FF rgba(40, 205, 65, 1.00) / #32D74BFF rgba(50, 215, 75, 1.00)

Of course, it's possible I've made transcription errors!

@noahsark769
Copy link
Owner

Thank you for noting this! I'll look further into it. However, I don't think that Catalyst color differences matter for the purposes of this library since Catalyst is iOS 13+ anyway and can use the new UIColor system colors, but please correct me if I'm wrong!

@michaellenaghan
Copy link
Author

Use the info as you like. Your library saved me time by enumerating the values; I was just trying to repay the favour. :-)

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

No branches or pull requests

2 participants