Skip to content

Instantly share code, notes, and snippets.

@feixue299
Created November 25, 2021 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feixue299/e9983b0d0ba758cb521c035ae72d91a6 to your computer and use it in GitHub Desktop.
Save feixue299/e9983b0d0ba758cb521c035ae72d91a6 to your computer and use it in GitHub Desktop.

标签颜色

class var label: UIColor
// 包含主要内容的文本标签的颜色。

class var secondaryLabel: UIColor
// 包含次要内容的文本标签的颜色。

class var tertiaryLabel: UIColor
// 包含第三级内容的文本标签的颜色。

class var quaternaryLabel: UIColor
// 包含四元内容的文本标签的颜色。

填充颜​​色

class var systemFill: UIColor
// 薄和小形状的覆盖填充颜色。

class var secondarySystemFill: UIColor
//中等大小形状的叠加填充颜色。

class var tertiarySystemFill: UIColor
// 大型形状的叠加填充颜色。

class var quaternarySystemFill: UIColor
// 包含复杂内容的大区域的叠加填充颜色。

文字颜色

class var placeholderText: UIColor
// 控件或文本视图中占位符文本的颜色。

标准内容背景颜色

class var systemBackground: UIColor
// 界面主背景的颜色。

class var secondarySystemBackground: UIColor
// 分层在主背景之上的内容颜色。

class var tertiarySystemBackground: UIColor
// 分层在次要背景之上的内容的颜色。

分组内容背景颜色

class var systemGroupedBackground: UIColor
// 分组界面的主背景颜色。

class var secondarySystemGroupedBackground: UIColor
// 分层在分组界面主背景之上的内容颜色。

class var tertiarySystemGroupedBackground: UIColor
// 分层在分组界面的次要背景之上的内容颜色。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment