TDKCandidates // Weaken the window border color.
This commit is contained in:
parent
f9abcd4f09
commit
be67220155
|
@ -155,7 +155,9 @@ public struct VwrCandidateHorizontal: View {
|
|||
.frame(minWidth: thePool.maxWindowWidth, maxWidth: thePool.maxWindowWidth)
|
||||
.background(Color(nsColor: NSColor.controlBackgroundColor).ignoresSafeArea())
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 10).stroke(.white.opacity(0.2), lineWidth: 1)
|
||||
RoundedRectangle(cornerRadius: 10).stroke(
|
||||
Color(white: colorScheme == .dark ? 0 : 1).opacity(colorScheme == .dark ? 1 : 0.1), lineWidth: 0.5
|
||||
)
|
||||
)
|
||||
.cornerRadius(10)
|
||||
}
|
||||
|
|
|
@ -161,7 +161,9 @@ public struct VwrCandidateVertical: View {
|
|||
}
|
||||
.background(Color(nsColor: NSColor.controlBackgroundColor).ignoresSafeArea())
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 10).stroke(.white.opacity(0.2), lineWidth: 1)
|
||||
RoundedRectangle(cornerRadius: 10).stroke(
|
||||
Color(white: colorScheme == .dark ? 0 : 1).opacity(colorScheme == .dark ? 1 : 0.1), lineWidth: 0.5
|
||||
)
|
||||
)
|
||||
.cornerRadius(10)
|
||||
}
|
||||
|
|
|
@ -160,7 +160,9 @@ public struct VwrCandidateHorizontalBackports: View {
|
|||
.frame(minWidth: thePool.maxWindowWidth, maxWidth: thePool.maxWindowWidth)
|
||||
.background(Color(white: colorScheme == .dark ? 0.1 : 1))
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 10).stroke(.white.opacity(0.2), lineWidth: 1)
|
||||
RoundedRectangle(cornerRadius: 10).stroke(
|
||||
Color(white: colorScheme == .dark ? 0 : 1).opacity(colorScheme == .dark ? 1 : 0.1), lineWidth: 0.5
|
||||
)
|
||||
)
|
||||
.cornerRadius(10)
|
||||
}
|
||||
|
|
|
@ -166,7 +166,9 @@ public struct VwrCandidateVerticalBackports: View {
|
|||
}
|
||||
.background(Color(white: colorScheme == .dark ? 0.1 : 1))
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 10).stroke(.white.opacity(0.2), lineWidth: 1)
|
||||
RoundedRectangle(cornerRadius: 10).stroke(
|
||||
Color(white: colorScheme == .dark ? 0 : 1).opacity(colorScheme == .dark ? 1 : 0.1), lineWidth: 0.5
|
||||
)
|
||||
)
|
||||
.cornerRadius(10)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue