UNPKG

apphouse

Version:

Component library for React that uses observable state management and theme-able components.

8 lines (7 loc) 237 B
/** * Create rgba with applied opacity for a hex color * @param hex color #hex * @param alpha number between 0 and 1 * @returns the rgba value for that color */ export declare const setAlpha: (hex: string, alpha: number) => string;