@types/palx
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/palx

Summary

This package contains type definitions for palx (https://github.com/jxnblk/palx).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/palx.

index.d.ts

export = palx;
declare function palx(hex: string, options?: {}): palx.PalxPalette;
declare namespace palx {
    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[];
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Mike Fowler.

Dependents (1)

Package Sidebar

Install

npm i @types/palx

Weekly Downloads

72

Version

1.0.3

License

MIT

Unpacked Size

3.6 kB

Total Files

5

Last publish

Collaborators

  • types