简体   繁体   中英

Xcode color asset catalog and dark appearance

Example
Anybody knows how can be setup small icon of colorSet in left asset catalog panel (in red circle on example image) in the same color as "Any Appearance" color, not as "Dark Appearance" color?

By default it looks the same as "Dark Appearance"color when my Mac has Dark Mode and looks the same as "Any Appearance" color when my Mac has Light Mode.

You can do it from attrribute inspector.

在此处输入图片说明

It may have something to do with the RGB settings below the appearance selector. I'm not positive though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM