@@ -11,8 +11,8 @@ struct HomeView : View {
11
11
12
12
@State var index = 0
13
13
@State var stories = [
14
- CarouselExtension ( id: 0 , image: " p0 " , offset: 0 , title: " Jack the Persian and the Black Castel" ) ,
15
- CarouselExtension ( id: 1 , image: " p1 " , offset: 0 , title: " The Dreaming Moon" ) ,
14
+ CarouselExtension ( id: 0 , image: " p0 " , offset: 0 , title: " Black Castel " ) ,
15
+ CarouselExtension ( id: 1 , image: " p1 " , offset: 0 , title: " Dreaming Moon " ) ,
16
16
CarouselExtension ( id: 2 , image: " p2 " , offset: 0 , title: " Fallen In Love " ) ,
17
17
CarouselExtension ( id: 3 , image: " p3 " , offset: 0 , title: " Hounted Ground " ) ]
18
18
@State var scrolled = 0
@@ -23,32 +23,32 @@ struct HomeView : View {
23
23
VStack {
24
24
HStack {
25
25
Button ( action: { } ) {
26
- Image ( systemName: " line.horizontal.3 " )
26
+ Image ( systemName: " line.horizontal.3.decrease " )
27
27
. font ( Font . title. weight ( . medium) )
28
28
. imageScale ( . small)
29
- . foregroundColor ( . white )
29
+ . foregroundColor ( . black )
30
30
}
31
31
32
32
Spacer ( )
33
33
Button ( action: { } ) {
34
34
Image ( systemName: " magnifyingglass " )
35
35
. font ( Font . title. weight ( . medium) )
36
36
. imageScale ( . small)
37
- . foregroundColor ( . white )
37
+ . foregroundColor ( . black )
38
38
}
39
39
}
40
40
. padding ( )
41
41
42
42
HStack {
43
43
Text ( " Trending " )
44
44
. font ( . system( size: 40 , weight: . bold) )
45
- . foregroundColor ( . white )
45
+ . foregroundColor ( . black )
46
46
Spacer ( minLength: 0 )
47
47
Button ( action: { } ) {
48
48
Image ( systemName: " ellipsis " )
49
49
. font ( Font . title. weight ( . medium) )
50
50
. imageScale ( . small)
51
- . foregroundColor ( . white )
51
+ . foregroundColor ( . black )
52
52
}
53
53
}
54
54
. padding ( . horizontal)
@@ -60,7 +60,7 @@ struct HomeView : View {
60
60
. fontWeight ( . bold)
61
61
. padding ( . vertical, 6 )
62
62
. padding ( . horizontal, 20 )
63
- . background ( Color . blue . opacity ( index == 0 ? 1 : 0 ) )
63
+ . background ( Color . black . opacity ( index == 0 ? 1 : 0 ) )
64
64
. clipShape ( Capsule ( ) )
65
65
. onTapGesture {
66
66
index = 0
@@ -72,7 +72,7 @@ struct HomeView : View {
72
72
. fontWeight ( . bold)
73
73
. padding ( . vertical, 6 )
74
74
. padding ( . horizontal, 20 )
75
- . background ( Color . blue . opacity ( index == 01 ? 1 : 0 ) )
75
+ . background ( Color . black . opacity ( index == 01 ? 1 : 0 ) )
76
76
. clipShape ( Capsule ( ) )
77
77
. onTapGesture {
78
78
index = 1
@@ -108,7 +108,7 @@ struct HomeView : View {
108
108
. foregroundColor ( . white)
109
109
. padding ( . vertical, 6 )
110
110
. padding ( . horizontal, 25 )
111
- . background ( Color . blue )
111
+ . background ( Color . black )
112
112
. clipShape ( Capsule ( ) )
113
113
}
114
114
}
@@ -159,13 +159,13 @@ struct HomeView : View {
159
159
HStack {
160
160
Text ( " Favorites " )
161
161
. font ( . system( size: 40 , weight: . bold) )
162
- . foregroundColor ( . white )
162
+ . foregroundColor ( . black )
163
163
Spacer ( minLength: 0 )
164
164
Button ( action: { } ) {
165
165
Image ( systemName: " ellipsis " )
166
166
. font ( Font . title. weight ( . medium) )
167
167
. imageScale ( . small)
168
- . foregroundColor ( . white )
168
+ . foregroundColor ( . black )
169
169
}
170
170
}
171
171
. padding ( . horizontal)
@@ -178,7 +178,7 @@ struct HomeView : View {
178
178
. fontWeight ( . bold)
179
179
. padding ( . vertical, 6 )
180
180
. padding ( . horizontal, 20 )
181
- . background ( Color . blue . opacity ( index1 == 0 ? 1 : 0 ) )
181
+ . background ( Color . black . opacity ( index1 == 0 ? 1 : 0 ) )
182
182
. clipShape ( Capsule ( ) )
183
183
. onTapGesture {
184
184
index1 = 0
@@ -189,7 +189,7 @@ struct HomeView : View {
189
189
. fontWeight ( . bold)
190
190
. padding ( . vertical, 6 )
191
191
. padding ( . horizontal, 20 )
192
- . background ( Color . blue . opacity ( index1 == 01 ? 1 : 0 ) )
192
+ . background ( Color . black . opacity ( index1 == 01 ? 1 : 0 ) )
193
193
. clipShape ( Capsule ( ) )
194
194
. onTapGesture {
195
195
index1 = 1
0 commit comments