# @types/material-colors

> TypeScript definitions for material-colors

Latest version **1.2.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/material-colors
pnpm add @types/material-colors
yarn add @types/material-colors
bun add @types/material-colors
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.3 |
| Published | 2023-11-07 |
| First published | 2022-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/material-colors
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/material-colors
- npm.io page: https://npm.io/package/@types/material-colors

## Recent versions

- 1.2.3 (latest) — 2023-11-07
- 1.2.0 (ts4.0) — 2022-07-12
- 1.2.2 — 2023-10-18
- 1.2.1 — 2023-09-27

## README

# Installation
> `npm install --save @types/material-colors`

# Summary
This package contains type definitions for material-colors (https://github.com/shuhei/material-colors).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/material-colors.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/material-colors/index.d.ts)
````ts
export as namespace materialColors;

declare const colors:
    & {
        [
            colorName in
                | "red"
                | "pink"
                | "purple"
                | "deepPurple"
                | "indigo"
                | "blue"
                | "lightBlue"
                | "cyan"
                | "teal"
                | "green"
                | "lightGreen"
                | "lime"
                | "yellow"
                | "amber"
                | "orange"
                | "deepOrange"
        ]: {
            [
                intensity in
                    | "50"
                    | "100"
                    | "200"
                    | "300"
                    | "400"
                    | "500"
                    | "600"
                    | "700"
                    | "800"
                    | "900"
                    | "a100"
                    | "a200"
                    | "a400"
                    | "a700"
            ]: string;
        };
    }
    & {
        [colorName in "brown" | "grey" | "blueGrey"]: {
            [intensity in "50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"]: string;
        };
    }
    & {
        [textColorName in "darkText" | "lightText"]: {
            [intensity in "primary" | "secondary" | "disabled" | "dividers"]: string;
        };
    }
    & {
        [iconTypeName in "darkIcons" | "lightIcons"]: {
            [mode in "active" | "inactive"]: string;
        };
    }
    & {
        black: string;
        white: string;
    };

export = colors;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Noah Overcash](https://github.com/ncovercash).

---
_Source: https://npm.io/package/@types/material-colors · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
