@@ -74,9 +74,9 @@ public struct ColorConfig {
74
74
public struct Semantic {
75
75
/// Theme color
76
76
///
77
- /// Provides two levels of theme colors,
77
+ /// Provides three levels of theme colors,
78
78
/// you can use different levels of theme colors according to the situation.
79
- public let theme : SecondLevel
79
+ public let theme : ThreeLevel
80
80
81
81
/// Text color
82
82
public let text : ThreeLevel
@@ -109,7 +109,7 @@ public struct ColorConfig {
109
109
public let unavailableText : Color
110
110
111
111
public init (
112
- theme: SecondLevel ,
112
+ theme: ThreeLevel ,
113
113
text: ThreeLevel ,
114
114
separator: ConvertibleToColor ,
115
115
emphasis: ThreeLevel ,
@@ -175,7 +175,8 @@ extension ColorConfig {
175
175
let semanticConfig = Semantic (
176
176
theme: . init(
177
177
main: UIColor . systemIndigo,
178
- secondary: UIColor . systemIndigo. withAlphaComponent ( 0.8 )
178
+ secondary: UIColor . systemIndigo. withAlphaComponent ( 0.8 ) ,
179
+ tertiary: UIColor . systemIndigo. withAlphaComponent ( 0.6 )
179
180
) ,
180
181
text: . init(
181
182
main: UIColor . label,
@@ -217,7 +218,8 @@ extension ColorConfig {
217
218
let semanticConfig = Semantic (
218
219
theme: . init(
219
220
main: UIColor . blue,
220
- secondary: UIColor . blue. withAlphaComponent ( 0.8 )
221
+ secondary: UIColor . blue. withAlphaComponent ( 0.8 ) ,
222
+ tertiary: UIColor . blue. withAlphaComponent ( 0.6 )
221
223
) ,
222
224
text: . init(
223
225
main: UIColor . black,
@@ -259,7 +261,8 @@ extension ColorConfig {
259
261
let semanticConfig = Semantic (
260
262
theme: . init(
261
263
main: UIColor . blue,
262
- secondary: UIColor . blue. withAlphaComponent ( 0.8 )
264
+ secondary: UIColor . blue. withAlphaComponent ( 0.8 ) ,
265
+ tertiary: UIColor . blue. withAlphaComponent ( 0.6 )
263
266
) ,
264
267
text: . init(
265
268
main: UIColor . black,
0 commit comments