@@ -66,7 +66,7 @@ struct CreateTopicPage: StateView {
6666 } label: {
6767 Text ( isPreviewing ? " 编辑 " : " 预览 " )
6868 . font ( . callout)
69- . foregroundColor ( Color . white )
69+ . foregroundColor ( Color . background )
7070 . padding ( . horizontal, 12 )
7171 . padding ( . vertical, 8 )
7272 . background ( Color . tintColor)
@@ -106,7 +106,7 @@ struct CreateTopicPage: StateView {
106106 // show placeholder
107107 Text ( " 如果标题能够表达完整内容, 此处可为空 " )
108108 . greedyFrame ( . topLeading)
109- . foregroundColor ( . gray )
109+ . foregroundColor ( . secondaryText )
110110 . debug ( )
111111 } else if isPreviewing {
112112 Text ( state. content. attributedString)
@@ -135,7 +135,7 @@ struct CreateTopicPage: StateView {
135135 } label: {
136136 Text ( " 发布主题 " )
137137 . font ( . callout)
138- . foregroundColor ( Color . white )
138+ . foregroundColor ( Color . background )
139139 . padding ( . horizontal, 12 )
140140 . padding ( . vertical, 8 )
141141 . background ( Color . tintColor)
@@ -156,12 +156,12 @@ struct CreateTopicPage: StateView {
156156 private var sectionItemView : some View {
157157 HStack {
158158 Image ( systemName: " grid.circle " )
159- . foregroundColor ( . gray )
159+ . foregroundColor ( . secondaryText )
160160 Text ( state. selectedNode? . text ?? " 选择节点 " )
161161 Spacer ( )
162162 Image ( systemName: " chevron.right " )
163163 . font ( . body. weight ( . regular) )
164- . foregroundColor ( . gray )
164+ . foregroundColor ( . secondaryText )
165165 . padding ( . trailing)
166166 }
167167 . padding ( )
0 commit comments