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

View Github