File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Sources/AppUI/Components/Filters Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,15 @@ private extension TabFilter {
4646 }
4747
4848 tab. image
49+ . frame ( square: 22 )
4950 . symbolVariant ( tab == selectedTab ? . fill : . none)
50- . foregroundStyle ( tab == selectedTab ? . white : . secondary )
51+ . foregroundStyle ( tab == selectedTab ? . white : . primary )
5152 . transition ( . opacity)
5253
5354 if tab == selectedTab {
5455 Text ( tab. name)
5556 . foregroundStyle ( . white)
56- . transition ( . move ( edge : . bottom ) . combined ( with : . opacity) )
57+ . transition ( . opacity)
5758 }
5859
5960 if tab == selectedTab {
@@ -93,7 +94,7 @@ private enum PreviewTab: TabFilterItem {
9394
9495 var systemImage : String {
9596 switch self {
96- case . main: return " house "
97+ case . main: return " fork.knife "
9798 case . promotions: return " tag "
9899 case . updates: return " arrow.up.circle "
99100 case . shopping: return " cart "
@@ -114,4 +115,5 @@ private enum PreviewTab: TabFilterItem {
114115 @Previewable @State var selectedTab = PreviewTab . main
115116
116117 TabFilter ( selectedTab: $selectedTab)
118+ . padding ( )
117119}
You can’t perform that action at this time.
0 commit comments