diff --git a/Sources/Splash/Theming/Color.swift b/Sources/Splash/Theming/Color.swift index 7ffc1e9..74998a3 100644 --- a/Sources/Splash/Theming/Color.swift +++ b/Sources/Splash/Theming/Color.swift @@ -4,7 +4,7 @@ * MIT license - see LICENSE.md */ -#if os(iOS) +#if os(iOS) || os(visionOS) import UIKit public typealias Color = UIColor #elseif os(macOS) diff --git a/Sources/Splash/Theming/Font.swift b/Sources/Splash/Theming/Font.swift index a06f5be..785d1c9 100644 --- a/Sources/Splash/Theming/Font.swift +++ b/Sources/Splash/Theming/Font.swift @@ -84,7 +84,7 @@ internal extension Font { #endif -#if os(iOS) +#if os(iOS) || os(visionOS) import UIKit