Swiftpack.co - pixiv/charcoal-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by pixiv.
pixiv/charcoal-ios 1.2.0
Design system library by pixiv
⭐️ 44
🕓 8 weeks ago
iOS macOS
.package(url: "https://github.com/pixiv/charcoal-ios.git", from: "1.2.0")

charcoal-ios ― PIXIV Design System

Usage

SwiftUI

Text("Hello")
  .charcoalTypography20Bold()

Button("OK") {}
  .charcoalPrimaryButton(size: .medium)

UIKit

Storyboardとコードから利用可能です。

let label = CharcoalTypography20()
label.isBold = true
label.text = "Hello"

let buttton = CharcoalPrimaryMButton()
button.setTitle("OK", for: .normal)

Installation

Swift Package Managerを使ってライブラリをインストールすることができます。

dependencies: [
  .package(name: "Charcoal", url: "https://github.com/pixiv/charcoal-ios", .upToNextMajor(from: "0.1.0"))
]

Requirements

  • iOS 12+
  • macOS 11+

Documentation

Documentation

Development

Code Format

swift run -c release --package-path BuildTools swiftformat .

GitHub

link
Stars: 44
Last commit: Yesterday
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Related Packages

Release Notes

1.2.0
8 weeks ago

What's Changed

New Contributors

Full Changelog: https://github.com/pixiv/charcoal-ios/compare/1.1.0...1.2.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics