mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00

* Begin implementing DesignKit package. * Use element-design-tokens repo. * Rename Fonts to align with Colours.
28 lines
990 B
Swift
28 lines
990 B
Swift
// swift-tools-version: 5.6
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "DesignKit",
|
|
platforms: [.iOS(.v14)],
|
|
products: [
|
|
.library(name: "DesignKit", targets: ["DesignKit"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/vector-im/element-design-tokens.git", branch: "main"),
|
|
.package(url: "https://github.com/siteline/SwiftUI-Introspect.git", .upToNextMajor(from: "0.1.4"))
|
|
],
|
|
targets: [
|
|
.target(name: "DesignKit",
|
|
dependencies: [
|
|
.product(name: "DesignTokens", package: "element-design-tokens"),
|
|
.product(name: "Introspect", package: "SwiftUI-Introspect")
|
|
],
|
|
path: "DesignKit"),
|
|
.testTarget(name: "DesignKitTests",
|
|
dependencies: ["DesignKit"],
|
|
path: "DesignKitTests")
|
|
]
|
|
)
|