Skip to content

Commit

Permalink
⚙️ :: 디자인시스템 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
juyeong525 committed Jul 23, 2023
1 parent eaffd23 commit 7ca88b7
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/
DerivedData/
.swiftpm/config/registries.json
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
.netrc
22 changes: 22 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// swift-tools-version: 5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "xquare-design-system-iOS",
platforms: [
.iOS(.v15)
],
products: [
.library(
name: "xquare-design-system-iOS",
targets: ["xquare-design-system-iOS"]),
],
targets: [
.target(
name: "xquare-design-system-iOS",
path: "xquare-design-system-iOS"
)
]
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0x2E",
"green" : "0x36",
"red" : "0xDC"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0x2E",
"green" : "0x36",
"red" : "0xDC"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
9 changes: 9 additions & 0 deletions xquare-design-system-iOS/Sources/Color/Error.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import SwiftUI

public extension Color {
struct Error { }
}

public extension Color.Error {
static let error50: Color = Color("Error 50")
}
2 changes: 2 additions & 0 deletions xquare-design-system-iOS/xquare_design_system_iOS.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// The Swift Programming Language
// https://docs.swift.org/swift-book

0 comments on commit 7ca88b7

Please sign in to comment.