Skip to content

Commit

Permalink
Add visionOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
JrGoodle committed Jan 31, 2024
1 parent 03c6f7b commit 0ef76c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Neumorphic/NeumorphicKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public struct NeumorphicKit {
#endif

public static func color(light: ColorType, dark: ColorType) -> Color {
#if os(iOS)
#if os(iOS) || os(visionOS)
switch NeumorphicKit.colorSchemeType {
case .light:
return Color(light)
Expand Down

0 comments on commit 0ef76c3

Please sign in to comment.