mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Built-in Then-style DSL for fluent configuration. - Centralized theming via a new resources library exposing standardized colors and icons for SwiftUI and UIKit. - Refactor - Migrated color and icon accessors to the new resources provider. - Removed redundant imports and streamlined UI configuration. - Dependencies - Updated MarkdownView to 3.4.2. - Removed the Then third-party dependency; updated package sources; added resources package and assets. - Documentation - Added iOS Swift code style and architecture guidelines. - Chores - Updated Xcode project format and repository ignore rules. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
24 lines
499 B
Swift
24 lines
499 B
Swift
// 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: "AffineResources",
|
|
products: [
|
|
.library(
|
|
name: "AffineResources",
|
|
targets: ["AffineResources"]
|
|
),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "AffineResources",
|
|
resources: [
|
|
.process("Resources/Icons.xcassets"),
|
|
.process("Resources/Colors.xcassets"),
|
|
]
|
|
),
|
|
]
|
|
)
|