Decathlon / vitamin-ios

Decathlon Design System UI components for iOS & iPadOS applications
https://www.decathlon.design
Apache License 2.0
46 stars 14 forks source link

refactor: improve color of hover tertiary #51

Closed GaspardMathon closed 2 years ago

GaspardMathon commented 2 years ago

Is your request related to a problem? Please describe.

Describe the solution you'd like

Additional context

daniel-dumortier commented 2 years ago

Checked in the code, and it is already up to date with Figma in 0.5.0 :

extension VitaminColor.Core {
    public enum Hover {
        [...]

        public static var tertiary: UIColor {
            let components = VitaminColor.Core.Background.brandSecondary.hslComponents()
            return UIColor(hue: components.hue,
                           saturation: components.saturation,
                           brightness: components.lightness * 0.95,
                           alpha: 1)
        }

I close the issue