added a glow to host device icons, no themes & no snippets icons

fix text positioning in laptop
This commit is contained in:
neon443 committed 2025-08-01 11:05:59 +01:00
1 parent ddf8d68e3b
commit b6ad217f44
3 files changed
+15 -5

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ enum HostSymbol: Codable, Equatable, Hashable, CaseIterable {
case .desktopcomputer:
deltaHeight = -6
case .laptopcomputer:
deltaHeight = -2
deltaHeight = -1.5
case .genericPC:
deltaHeight = -6
default:
@@ -13,6 +13,10 @@ struct HostSymbolPreview: View {
var body: some View {
ZStack(alignment: .center) {
symbol.image
.resizable().scaledToFit()
.symbolRenderingMode(.monochrome)
.blur(radius: 1)
symbol.image
.resizable().scaledToFit()
.symbolRenderingMode(.monochrome)
+10 -4
View File
@@ -59,10 +59,16 @@ struct ThemeManagerView: View {
}
if hostsManager.themes.isEmpty {
VStack(alignment: .leading) {
Image(systemName: "paintpalette")
.resizable().scaledToFit()
.symbolRenderingMode(.multicolor)
.frame(width: 50)
ZStack {
Image(systemName: "paintpalette")
.resizable().scaledToFit()
.symbolRenderingMode(.multicolor)
.blur(radius: 2)
Image(systemName: "paintpalette")
.resizable().scaledToFit()
.symbolRenderingMode(.multicolor)
}
.frame(width: 50, height: 50)
Text("No themes (yet)")
.font(.title)
.padding(.vertical, 10)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.