diff --git a/.gitmodules b/.gitmodules index e16f44e..056b5c1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "vendor/ghostty"] path = vendor/ghostty url = https://github.com/ghostty-org/ghostty.git + ignore = dirty diff --git a/Package.swift b/Package.swift index 4c2ddfc..0aec3a1 100644 --- a/Package.swift +++ b/Package.swift @@ -38,7 +38,7 @@ let package = Package( path: "Sources/Crow", resources: [ .copy("Resources/AppIcon.png"), - .copy("Resources/CorveilBrandmark.png"), + .copy("Resources/CorveilBrandmark.svg"), ], linkerSettings: [ .linkedFramework("Carbon"), diff --git a/Packages/CrowUI/Sources/CrowUI/CorveilTheme.swift b/Packages/CrowUI/Sources/CrowUI/CorveilTheme.swift index b7ff5a6..d2f0e73 100644 --- a/Packages/CrowUI/Sources/CrowUI/CorveilTheme.swift +++ b/Packages/CrowUI/Sources/CrowUI/CorveilTheme.swift @@ -82,7 +82,7 @@ public struct BrandmarkImage: View { static func load() -> NSImage? { for bundle in Bundle.allBundles { - if let url = bundle.url(forResource: "CorveilBrandmark", withExtension: "png"), + if let url = bundle.url(forResource: "CorveilBrandmark", withExtension: "svg"), let image = NSImage(contentsOf: url) { return image } diff --git a/Sources/Crow/App/AboutView.swift b/Sources/Crow/App/AboutView.swift index 6512e17..4cc1965 100644 --- a/Sources/Crow/App/AboutView.swift +++ b/Sources/Crow/App/AboutView.swift @@ -61,7 +61,7 @@ struct AboutView: View { private func loadBrandmark() -> NSImage? { for bundle in Bundle.allBundles { - if let url = bundle.url(forResource: "CorveilBrandmark", withExtension: "png"), + if let url = bundle.url(forResource: "CorveilBrandmark", withExtension: "svg"), let image = NSImage(contentsOf: url) { return image } diff --git a/Sources/Crow/Resources/CorveilBrandmark.png b/Sources/Crow/Resources/CorveilBrandmark.png deleted file mode 100644 index dca9e6b..0000000 Binary files a/Sources/Crow/Resources/CorveilBrandmark.png and /dev/null differ diff --git a/Sources/Crow/Resources/CorveilBrandmark.svg b/Sources/Crow/Resources/CorveilBrandmark.svg new file mode 100644 index 0000000..5770d79 --- /dev/null +++ b/Sources/Crow/Resources/CorveilBrandmark.svg @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file