Swiftpack.co - Decathlon/vitamin-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Decathlon.
Decathlon/vitamin-ios 0.8.0
Decathlon Design System UI components for iOS & iPadOS applications
⭐️ 23
🕓 1 week ago
iOS
.package(url: "https://github.com/Decathlon/vitamin-ios.git", from: "0.8.0")

Vitamin Decathlon Design System logo Vitamin Decathlon Design System logo

Vitamin iOS

Decathlon Design System libraries for iOS & iPadOS applications

Website

Introduction

Decathlon Design System is the framework that helps our ecosystem to design and develop consistent and quality experiences.
For its Digital section, it is called Vitamin.

Install

SPM

dependencies: [
    .package(url: "https://github.com/Decathlon/vitamin-ios.git", .exact("0.8.0"))
]

Cocoapods

# for UIKitVersion
pod 'Vitamin', '= 0.8.0'

# for SwiftUI version
pod 'VitaminSwiftUI', = '0.8.0'

Available elements

This library provides two types of elements: Foundations and Components.
Foundations are core bricks of Vitamin Design System, and Components are high level elements, built upon Foundations.

Foundations

The following foundations are available :

Element Description Documentation
Assets Set of graphic assets usable in the Design System. UIKit SwiftUI
Colors Semantics and base colors of the Design System. UIKit SwiftUI
Icons Set of icons usable in the Design System. UIKit SwiftUI
Radiuses Radiuses applicable to any view in the Design System. UIKit SwiftUI
Shadows Shadows applicable to any view in the Design System. UIKit SwiftUI
Typography Text styles usable in the Design System. UIKit SwiftUI

Components

The following components are available :

Component Description Documentation
Badge Badges from the Vitamin Design System. UIKit
Button Different button styles from the Vitamin Design System. UIKit SwiftUI
Progressbar Different progressbar styles from the Vitamin Design System. UIKit
Switch Swicth from the Vitamin Design System. UIKit
Tag Tag from the Vitamin Design System. UIKit
TextField Different text fields styles from the Vitamin Design System. UIKit

Special thanks

Thank you to the contributors involved in these vitamin-ios libraries (even before they were Open Source). 💙

Thank you also Remix Icon because Vitamix Icons is the official Decathlon icon library based on their open-source icon library (Remix Design © 2020). This original library is under the license Apache 2.0 and has been modified by Decathlon. Learn more.

License

Copyright 2021 Decathlon.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

GitHub

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

Release Notes

v0.8.0
1 week ago

Features

Fix

Other changes

New Contributors

Full Changelog: https://github.com/Decathlon/vitamin-ios/compare/0.7.0...0.8.0

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