metatext-app-ios-iphone-ipad/Views/ViewConstants.swift

14 lines
324 B
Swift
Raw Normal View History

2020-09-29 03:14:43 +02:00
// 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 UIImage {
static let highlightedButtonBackground = UIColor(white: 0, alpha: 0.5).image()
}