This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
extension UIColor { | |
/// Creates a dynamic color from the receiver blended with another color. | |
/// | |
/// If `weight` is 0, the color of `self` is returned. If `weight` is 1, the color | |
/// of `otherColor` is returned. | |
/// | |
/// This method works correctly with light and dark mode. A dynamic color is |