Helpers for sensible SwiftUI styling

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 Drop Shadows

Example usage:

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

Sensible Rounded Corners

Example usage:

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

GitHub

View Github