Swiftpack.co - apparata/SensibleStyling as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by apparata.
apparata/SensibleStyling v0.1.1
SwiftUI styling helpers
⭐️ 2
🕓 32 weeks ago
iOS macOS
.package(url: "https://github.com/apparata/SensibleStyling.git", from: "v0.1.1")

SensibleStyling

Helpers for sensible SwiftUI styling.

License

See the LICENSE file for licensing information.

Table of Contents

Sensible Colors

Example usage:

Rectangle()
    .foregroundColor(.Sensible.slate300)

Sensible Colors

Sensible Drop Shadows

Example usage:

Rectangle()
    .foregroundColor(.white)
    .frame(width: 100, height: 100)
    .sensibleShadow(.medium)

Sensible Drop Shadows

Sensible Rounded Corners

Example usage:

Rectangle()
    .foregroundColor(.white)
    .frame(width: 100, height: 100)
    .sensibleRoundedCorners(.medium)

Sensible Rounded Corners

GitHub

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

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