* Delete deprecated font tokens. * Migrate from primaryContent to textPrimary/iconPrimary. * Migrate from links to textLinkExternal. * Migrate from secondaryContent to textSecondary/iconSecondary. * Migrate from accent to textActionPrimary. - Some uses changed to textPrimary or iconPrimary as necessary. - Some manual tints removed now that that Sentry is fixed. * Migrate alert to textCriticalPrimary/iconCriticalPrimary. * Migrate from brand to textActionAccent/iconAccentTertiary. * Migrate from background to bgCanvasDefault or text/iconOnSolidPrimary * Migrate system to bgSubtleSecondary. * Remove ElementUIColors and obsolete migrated colours. * Migrate tertiaryContent/quaternaryContent/quinaryContent to Compound. * Migrate bubblesYou/bubblesNotYou to use Compound. * Update Compound.
32 lines
1.1 KiB
Swift
32 lines
1.1 KiB
Swift
// swift-tools-version: 5.7
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "DesignKit",
|
|
platforms: [
|
|
.iOS(.v16)
|
|
],
|
|
products: [
|
|
.library(name: "DesignKit", targets: ["DesignKit"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/vector-im/compound-ios.git", revision: "d59c317362beba940baa43d6aacdd357e208048d"),
|
|
.package(url: "https://github.com/vector-im/element-design-tokens.git", exact: "0.0.3"),
|
|
.package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "0.1.4")
|
|
],
|
|
targets: [
|
|
.target(name: "DesignKit",
|
|
dependencies: [
|
|
.product(name: "Compound", package: "compound-ios"),
|
|
.product(name: "DesignTokens", package: "element-design-tokens"),
|
|
.product(name: "Introspect", package: "SwiftUI-Introspect")
|
|
],
|
|
path: "Sources"),
|
|
.testTarget(name: "DesignKitTests",
|
|
dependencies: ["DesignKit"],
|
|
path: "Tests")
|
|
]
|
|
)
|