metatext/Views/ViewConstants.swift
Justin Mazzocchi 7f937601b1
Load more WIP
2020-10-04 01:39:54 -07:00

18 lines
454 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import SwiftUI
extension CGFloat {
static let defaultSpacing: Self = 8
static let compactSpacing: Self = 4
static let defaultCornerRadius: Self = 8
static let hairline = 1 / UIScreen.main.scale
}
extension TimeInterval {
static let defaultAnimationDuration: Self = 0.5
}
extension UIImage {
static let highlightedButtonBackground = UIColor(white: 0, alpha: 0.5).image()
}