built out themes a bit more
This commit is contained in:
@@ -203,7 +203,7 @@ struct ContentView: View {
|
||||
)
|
||||
}
|
||||
.background(
|
||||
Color(theme.secondaryBGColor)
|
||||
Color(theme.currentTheme.secondaryBGColor)
|
||||
)
|
||||
.coordinateSpace(name: "scroll")
|
||||
.onPreferenceChange(ViewOffsetKey.self) { value in
|
||||
@@ -223,7 +223,7 @@ struct ContentView: View {
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.padding()
|
||||
.background(
|
||||
Color(theme.secondaryBGColor)
|
||||
Color(theme.currentTheme.secondaryBGColor)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ struct ContentView: View {
|
||||
|
||||
private var emptyView: some View {
|
||||
ZStack {
|
||||
Color(theme.secondaryBGColor)
|
||||
Color(theme.currentTheme.secondaryBGColor)
|
||||
|
||||
VStack {
|
||||
Text(String(localized: "content_view_empty_title"))
|
||||
@@ -347,7 +347,7 @@ struct ContentView: View {
|
||||
VStack {
|
||||
SmallRollUpHeaderView(fakeData: false, backDays: 30)
|
||||
.background(
|
||||
Color(theme.secondaryBGColor)
|
||||
Color(theme.currentTheme.secondaryBGColor)
|
||||
)
|
||||
.cornerRadius(10, corners: [.topLeft, .topRight, .bottomLeft, .bottomRight])
|
||||
.padding()
|
||||
@@ -365,7 +365,7 @@ struct ContentView: View {
|
||||
}
|
||||
.padding(.bottom, 5)
|
||||
.background(
|
||||
theme.bg
|
||||
theme.currentTheme.bg
|
||||
.edgesIgnoringSafeArea(.all)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user