All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.mmk.kmpauth.uihelper.apple.AppleButtonMode.kt Maven / Gradle / Ivy

There is a newer version: 2.3.0-beta01
Show newest version
package com.mmk.kmpauth.uihelper.apple

/**
 * Apple Sign-In Button mode
 */
public sealed interface AppleButtonMode {
    /**
     * Black mode. According to branding guideline:
     * "Use this style on white or light-color backgrounds that provide sufficient contrast;
     * don’t use it on black or dark backgrounds"
     */
    public data object Black : AppleButtonMode

    /**
     * White mode. According to branding guideline:
     * "Use this style on dark backgrounds that provide sufficient contrast."
     */
    public data object White : AppleButtonMode

    /**
     * White with outline mode. According to branding guideline:
     * "Use this style on white or light-color backgrounds that don’t provide sufficient contrast
     * with the white button fill. Avoid using this style on a dark or saturated background,
     * because the black outline can add visual clutter; instead, use the white style to contrast
     * with a dark background."
     */
    public data object WhiteWithOutline : AppleButtonMode
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy