Spacing95
An eight-step spacing scale used throughout Swift95 layouts.
Spacing95 centralizes small pixel-conscious gaps while still allowing a custom theme to scale component density.
Use it
import Swift95
import SwiftUI
struct Spacing95Example: View {
var body: some View {
VStack(spacing: Spacing95.classic.m) {
Text95("Name")
TextField95("Name", text: .constant(""))
}
}
}Essential behavior
ScaleThe tokens run from xxxs through xxl.
ConsistencyComponents use semantic positions in this shared scale.
CustomizationInstall custom spacing as part of Theme95.