diff --git a/Sources/DarockKit/Neumorphic/ColorExtension.swift b/Sources/DarockKit/Neumorphic/ColorExtension.swift index d6cc22d..a342d97 100644 --- a/Sources/DarockKit/Neumorphic/ColorExtension.swift +++ b/Sources/DarockKit/Neumorphic/ColorExtension.swift @@ -1,4 +1,4 @@ -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI public extension Color { diff --git a/Sources/DarockKit/Neumorphic/NeumorphicKit.swift b/Sources/DarockKit/Neumorphic/NeumorphicKit.swift index ec82fc1..81b536b 100644 --- a/Sources/DarockKit/Neumorphic/NeumorphicKit.swift +++ b/Sources/DarockKit/Neumorphic/NeumorphicKit.swift @@ -4,7 +4,7 @@ // Copyright © 2020 Costa Chung. All rights reserved. // Neumorphism Soft UI -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI public struct NeumorphicKit { diff --git a/Sources/DarockKit/Neumorphic/SoftButtonStyle.swift b/Sources/DarockKit/Neumorphic/SoftButtonStyle.swift index 15dabe4..f425c61 100644 --- a/Sources/DarockKit/Neumorphic/SoftButtonStyle.swift +++ b/Sources/DarockKit/Neumorphic/SoftButtonStyle.swift @@ -4,7 +4,7 @@ // Copyright © 2020 Costa Chung. All rights reserved. // Neumorphism Soft UI -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI public enum SoftButtonPressedEffect { diff --git a/Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift b/Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift index e8e7e80..e3a3226 100644 --- a/Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift +++ b/Sources/DarockKit/Neumorphic/SoftDynamicToggleStyle.swift @@ -5,7 +5,7 @@ // Created by Costa Chung on 11/12/2020. // -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI public struct SoftDynamicToggleStyle : ToggleStyle { diff --git a/Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift b/Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift index d57a5ef..33c1735 100644 --- a/Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift +++ b/Sources/DarockKit/Neumorphic/SoftInnerShadowViewModifier.swift @@ -5,7 +5,7 @@ // Neumorphism Soft UI // -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI private struct SoftInnerShadowViewModifier : ViewModifier { diff --git a/Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift b/Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift index 3ee614a..0b327e8 100644 --- a/Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift +++ b/Sources/DarockKit/Neumorphic/SoftOuterShadowViewModifier.swift @@ -4,7 +4,7 @@ // Copyright © 2020 Costa Chung. All rights reserved. // Neumorphism Soft UI -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI private struct SoftOuterShadowViewModifier: ViewModifier { diff --git a/Sources/DarockKit/Neumorphic/View+InverseMask.swift b/Sources/DarockKit/Neumorphic/View+InverseMask.swift index f53fdb0..7204362 100644 --- a/Sources/DarockKit/Neumorphic/View+InverseMask.swift +++ b/Sources/DarockKit/Neumorphic/View+InverseMask.swift @@ -4,7 +4,7 @@ // Copyright © 2020 Costa Chung. All rights reserved. // Neumorphism Soft UI -#if !os(visionOS) +#if !os(visionOS) && !os(tvOS) import SwiftUI extension View {