another.im-ios/ConversationsClassic/UIToolkit/Colors+Tappable.swift

14 lines
402 B
Swift
Raw Normal View History

2024-06-27 07:23:09 +00:00
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
// )
// }
}