메인 하단 탭 - 아이콘 색상, 글자 색상 변경
This commit is contained in:
@@ -34,8 +34,8 @@ struct BottomTabView: View {
|
||||
},
|
||||
color: {
|
||||
currentTab == .content ?
|
||||
Color(hex: "9970ff") :
|
||||
Color(hex: "909090")
|
||||
Color(hex: "3bb9f1") :
|
||||
Color(hex: "bbbbbb")
|
||||
},
|
||||
width: tabWidth
|
||||
)
|
||||
@@ -59,8 +59,8 @@ struct BottomTabView: View {
|
||||
},
|
||||
color: {
|
||||
currentTab == .live ?
|
||||
Color(hex: "9970ff") :
|
||||
Color(hex: "909090")
|
||||
Color(hex: "3bb9f1") :
|
||||
Color(hex: "bbbbbb")
|
||||
},
|
||||
width: tabWidth
|
||||
)
|
||||
@@ -84,8 +84,8 @@ struct BottomTabView: View {
|
||||
},
|
||||
color: {
|
||||
currentTab == .explorer ?
|
||||
Color(hex: "9970ff") :
|
||||
Color(hex: "909090")
|
||||
Color(hex: "3bb9f1") :
|
||||
Color(hex: "bbbbbb")
|
||||
},
|
||||
width: tabWidth
|
||||
)
|
||||
@@ -109,8 +109,8 @@ struct BottomTabView: View {
|
||||
},
|
||||
color: {
|
||||
currentTab == .message ?
|
||||
Color(hex: "9970ff") :
|
||||
Color(hex: "909090")
|
||||
Color(hex: "3bb9f1") :
|
||||
Color(hex: "bbbbbb")
|
||||
},
|
||||
width: tabWidth
|
||||
)
|
||||
@@ -134,8 +134,8 @@ struct BottomTabView: View {
|
||||
},
|
||||
color: {
|
||||
currentTab == .mypage ?
|
||||
Color(hex: "9970ff") :
|
||||
Color(hex: "909090")
|
||||
Color(hex: "3bb9f1") :
|
||||
Color(hex: "bbbbbb")
|
||||
},
|
||||
width: tabWidth
|
||||
)
|
||||
|
Reference in New Issue
Block a user