@wireapp/commons
Version:
Collection of common components that are used across Wire web applications.
41 lines • 1.35 kB
TypeScript
export declare enum AccentColorID {
BRIGHT_ORANGE = 5,
SOFT_PINK = 6,
STRONG_BLUE = 1,
STRONG_LIME_GREEN = 2,
VIOLET = 7,
VIVID_RED = 4,
/** @deprecated */
YELLOW = 3
}
export interface AccentColor {
color: string;
id: AccentColorID;
name: string;
}
export declare const STRONG_BLUE: AccentColor;
export declare const STRONG_LIME_GREEN: AccentColor;
export declare const DEPRECATED_YELLOW: AccentColor;
export declare const VIVID_RED: AccentColor;
export declare const BRIGHT_ORANGE: AccentColor;
export declare const SOFT_PINK: AccentColor;
export declare const VIOLET: AccentColor;
export declare const ACCENT_COLORS: AccentColor[];
export declare const getById: (id: number) => AccentColor | undefined;
export declare const getRandom: () => AccentColor;
/**
* Use with caution:
* This only exists to support deprecated color schemes and
* is only permitted for usage in a read only manner.
*/
export declare const DEPRECATED_ACCENT_COLORS: AccentColor[];
/**
* Use with caution:
* This only exists to support deprecated color schemes and
* is only permitted for usage in a read only manner.
*
* @param id AccentColor ID
* @returns AccentColor with given ID | undefined
*/
export declare const DEPRECATED_getById: (id: number) => AccentColor | undefined;
//# sourceMappingURL=AccentColor.d.ts.map