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,
|
||||
filterString: searchString)
|
||||
.background(.white)
|
||||
.background(Color(nsColor: .textBackgroundColor))
|
||||
.searchable(text: $searchString)
|
||||
|
||||
|
||||
|
||||
@@ -44,7 +44,6 @@ struct LogsView: View {
|
||||
.width(min: 40, max: 65)
|
||||
TableColumn("", value: \.log)
|
||||
}
|
||||
.background(.white)
|
||||
.searchable(text: $searchString)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ struct OverviewTopItemView: View {
|
||||
}
|
||||
.frame(width: 125)
|
||||
.padding(EdgeInsets(top: 10, leading: 13, bottom: 10, trailing: 13))
|
||||
.background(.white)
|
||||
.background(Color(nsColor: .textBackgroundColor))
|
||||
.cornerRadius(10)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ struct ProviderProxiesView: View {
|
||||
proxy: proxy,
|
||||
selectable: false
|
||||
)
|
||||
.background(.white)
|
||||
.background(Color(nsColor: .textBackgroundColor))
|
||||
.cornerRadius(8)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ struct ProxyGroupView: View {
|
||||
proxy: proxy,
|
||||
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)
|
||||
.onTapGesture {
|
||||
let item = proxy
|
||||
|
||||
Reference in New Issue
Block a user