@devseed-ui/theme-provider
Version:
devseed UI Kit Theme
17 lines (16 loc) • 492 B
TypeScript
declare module '@devseed-ui/theme-provider' {
/**
* Creates a color palette based off of the provided base color including
* lightened/darkened/transparent versions of that color.
*
* Uses a scale from 50 - 900 to indicate the color value. Values lower than 500
* are lightened, above 500 are darkened and values ending with `a` have a alpha
* channel.
*/
function createColorPalette(
name: string,
baseColor: string,
): {
[key: string]: string;
};
}