some
This commit is contained in:
1 parent
8398c07966
commit
d0f079da21
3 files changed
+2
-11
No files matched your search
@@ -1,9 +0,0 @@
|
|||||||
import AppKit
|
|
||||||
|
|
||||||
func chkgfxOutlineText(_ text: String) -> AttributedString {
|
|
||||||
var att = AttributedString(text)
|
|
||||||
att.foregroundColor = .clear
|
|
||||||
att.strokeColor = .white
|
|
||||||
att.strokeWidth = 4
|
|
||||||
return att
|
|
||||||
}
|
|
||||||
@@ -9,8 +9,9 @@ struct ChkgfxView: View {
|
|||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
VStack(spacing: 16) {
|
VStack(spacing: 16) {
|
||||||
Text(chkgfxOutlineText("Check graphics"))
|
Text("Check graphics")
|
||||||
.font(.largeTitle)
|
.font(.largeTitle)
|
||||||
|
.foregroundStyle(.white)
|
||||||
}
|
}
|
||||||
.padding(40)
|
.padding(40)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
../../../../components/chkgfx/chkgfxAux.swift
|
|
||||||
Reference in new issue
Block a user