14 lines
402 B
Swift
14 lines
402 B
Swift
import SwiftUI
|
|
|
|
public extension Color {
|
|
static let clearTappable = Color.white.opacity(0.0001)
|
|
// static func random(randomOpacity: Bool = false) -> Color {
|
|
// Color(
|
|
// red: .random(in: 0 ... 1),
|
|
// green: .random(in: 0 ... 1),
|
|
// blue: .random(in: 0 ... 1),
|
|
// opacity: randomOpacity ? .random(in: 0 ... 1) : 1
|
|
// )
|
|
// }
|
|
}
|