mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 01:31:02 +00:00
17 lines
404 B
Swift
17 lines
404 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
|
|
}
|
|
|
|
extension TimeInterval {
|
|
static let defaultAnimationDuration: Self = 0.5
|
|
}
|
|
|
|
extension UIImage {
|
|
static let highlightedButtonBackground = UIColor(white: 0, alpha: 0.5).image()
|
|
}
|