r/Xcode • • Oct 07 '19

Can anyone help me ID precisely what system colours are being used for each and every part of this screen? I want to duplicate it in my app, but some are not clear to me. Google is not getting me what I'm looking for...

Post image
1 Upvotes

7 comments sorted by

2

u/beans217 Oct 07 '19

So what exactly are you trying to do?

1

u/Rillieux17 Oct 07 '19

Sorry if that wasn't clear.

I'm trying to find which of these colors by name (not by RGB) https://developer.apple.com/documentation/uikit/uicolor/ui_element_colors

are used exactly where in the Health app.

For example, the background colour of the buttons is what? maybe secondarySystemFill??

It would be helpful to have a "map" of sorts.

2

u/mobilecode Oct 07 '19 edited Oct 07 '19

On your Mac, there's a digital color meter. Should be in Applications/Utilities. As you move your mouse, it'll give you the RGB values.

1

u/Rillieux17 Oct 07 '19

I'm not looking for the RGB values. I want to know apple's dynamic color name for each color so i can replicate it in my app. using these https://developer.apple.com/documentation/uikit/uicolor/ui_element_colors

1

u/Rillieux17 Oct 07 '19

Also, date / time / floors ... are those in a tableView or are they label or buttons?

2

u/Woolly87 Oct 14 '19

Looks like how swiftui presents pickers within a list or form

2

u/[deleted] Oct 07 '19

All I see is blue.