color
A function that returns a new UIColor instance for the specified theme color.
static
color: {
(name: string): UIColor;
readonly CLEAR: UIColor;
readonly BLACK: UIColor;
readonly DARKER_GRAY: UIColor;
readonly DARK_GRAY: UIColor;
readonly GRAY: UIColor;
readonly LIGHT_GRAY: UIColor;
readonly WHITE: UIColor;
readonly SLATE: UIColor;
readonly LIGHT_SLATE: UIColor;
readonly RED: UIColor;
readonly ORANGE: UIColor;
readonly YELLOW: UIColor;
readonly LIME: UIColor;
readonly GREEN: UIColor;
readonly TURQUOISE: UIColor;
readonly CYAN: UIColor;
readonly BLUE: UIColor;
readonly VIOLET: UIColor;
readonly PURPLE: UIColor;
readonly MAGENTA: UIColor;
readonly SEPARATOR: UIColor;
readonly CONTROL_BASE: UIColor;
readonly BACKGROUND: UIColor;
readonly TEXT: UIColor;
readonly DANGER: UIColor;
readonly DANGER_BG: UIColor;
readonly SUCCESS: UIColor;
readonly SUCCESS_BG: UIColor;
readonly PRIMARY: UIColor;
readonly PRIMARY_BG: UIColor;
readonly ACCENT: UIColor;
readonly ACCENT_BG: UIColor;
readonly BRAND: UIColor;
readonly BRAND_BG: UIColor;
}Notes
- Colors can be defined using UITheme.colors.
Related
- uiAn object with functions for creating UI components and other resources.
- class UIColorAn object that represents a single color value.
