.white()

// 2022.02.10 + method: .white()

import SwiftUI

// ๐Ÿ…ฟ๏ธ ShapeStyle + .white()
extension ShapeStyle where Self == Color {
    /// usage: `(Color).white(0.3)`
    public static func white(_ scale: CGFloat) -> Color {
        Color(white: scale)
    }
}

Last updated