DefinitelyTyped/types/palx/index.d.ts
2018-12-22 16:50:12 -05:00

26 lines
658 B
TypeScript

// Type definitions for palx 1.0
// Project: https://github.com/jxnblk/palx
// Definitions by: Mike Fowler <https://github.com/mikefowler>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export default function palx(hex: string, options?: {}): PalxPalette;
export interface PalxPalette {
[name: string]: string | string[];
base: string;
black: string;
blue: string[];
cyan: string[];
fuschia: string[];
gray: string[];
green: string[];
indigo: string[];
lime: string[];
orange: string[];
pink: string[];
red: string[];
teal: string[];
violet: string[];
yellow: string[];
}