mirror of
https://github.com/yJason/ClashX-Dashboard.git
synced 2026-02-04 10:02:26 +08:00
misc: background color
This commit is contained in:
@@ -16,7 +16,7 @@ struct ConnectionsView: View {
|
|||||||
|
|
||||||
CollectionsTableView(data: data.conns,
|
CollectionsTableView(data: data.conns,
|
||||||
filterString: searchString)
|
filterString: searchString)
|
||||||
.background(.white)
|
.background(Color(nsColor: .textBackgroundColor))
|
||||||
.searchable(text: $searchString)
|
.searchable(text: $searchString)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ struct LogsView: View {
|
|||||||
.width(min: 40, max: 65)
|
.width(min: 40, max: 65)
|
||||||
TableColumn("", value: \.log)
|
TableColumn("", value: \.log)
|
||||||
}
|
}
|
||||||
.background(.white)
|
|
||||||
.searchable(text: $searchString)
|
.searchable(text: $searchString)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ struct OverviewTopItemView: View {
|
|||||||
}
|
}
|
||||||
.frame(width: 125)
|
.frame(width: 125)
|
||||||
.padding(EdgeInsets(top: 10, leading: 13, bottom: 10, trailing: 13))
|
.padding(EdgeInsets(top: 10, leading: 13, bottom: 10, trailing: 13))
|
||||||
.background(.white)
|
.background(Color(nsColor: .textBackgroundColor))
|
||||||
.cornerRadius(10)
|
.cornerRadius(10)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ struct ProviderProxiesView: View {
|
|||||||
proxy: proxy,
|
proxy: proxy,
|
||||||
selectable: false
|
selectable: false
|
||||||
)
|
)
|
||||||
.background(.white)
|
.background(Color(nsColor: .textBackgroundColor))
|
||||||
.cornerRadius(8)
|
.cornerRadius(8)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ struct ProxyGroupView: View {
|
|||||||
proxy: proxy,
|
proxy: proxy,
|
||||||
selectable: selectable
|
selectable: selectable
|
||||||
)
|
)
|
||||||
.background(proxyGroup.now == proxy.name ? Color.teal : Color.white)
|
.background(proxyGroup.now == proxy.name ? Color.pink.opacity(0.3) : Color(nsColor: .textBackgroundColor))
|
||||||
.cornerRadius(8)
|
.cornerRadius(8)
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
let item = proxy
|
let item = proxy
|
||||||
|
|||||||
Reference in New Issue
Block a user