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 27, 2024
1 parent 03c6f7b commit fc45d23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// swift-tools-version:5.2
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "Neumorphic",
platforms: [
.iOS(.v13),.macOS(.v10_15)
.iOS(.v13),.macOS(.v10_15),.visionOS(.v1)
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
Expand Down
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 fc45d23

Please sign in to comment.