# meleon-palette

> Color Palette for Material Design

Latest version **1.0.2** (published 2020-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install meleon-palette
pnpm add meleon-palette
yarn add meleon-palette
bun add meleon-palette
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-08-05 |
| First published | 2020-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 38.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | tighug |
| Maintainers | tighug |

## Links

- npm: https://www.npmjs.com/package/meleon-palette
- Repository: https://github.com/tighug/meleon-palette
- Homepage: https://github.com/tighug/meleon-palette#readme
- Issues: https://github.com/tighug/meleon-palette/issues
- npm.io page: https://npm.io/package/meleon-palette

## Recent versions

- 1.0.2 (latest) — 2020-08-05

## README

# Meleon Palette

Color Palette for Material Design

## Features

- Easily use Color Palette for Material Design
- Also support TypeScript

## Installation

```bash
# with npm
npm install @tighug/meleon-palette

# or with yarn
yarn add @tighug/meleon-palette
```

## Usage

Read module :

```js
// for ES6
import { red } from "@tighug/meleon-palette";

// or for CommonJS
const { red } = require("@tighug/meleon-palette");
```

Now `red` has all color variations :

```ts
console.log(red.lighten5); // #ffebee
console.log(red.lighten4); // #ffcdd2
console.log(red.lighten3); // #ef9a9a
console.log(red.lighten2); // #e57373
console.log(red.lighten1); // #ef5350
console.log(red.base); // #f44336
console.log(red.darken1); // #e53935
console.log(red.darken2); // #d32f2f
console.log(red.darken3); // #c62828
console.log(red.darken4); // #b71c1c
console.log(red.accent1); // #ff8a80
console.log(red.accent2); // #ff5252
console.log(red.accent3); // #ff1744
console.log(red.accent4); // #d50000
```

## Palette

Each base color has variations from `lighten5` to `darken4`.

- `red`
- `pink`
- `purple`
- `deepPurple`
- `indigo`
- `blue`
- `lightBlue`
- `cyan`
- `teal`
- `green`
- `lightGreen`
- `lime`
- `yellow`
- `amber`
- `orange`
- `deepOrange`
- `brown`
- `grey`
- `blueGrey`

Each mono color have only one value.

- `black` : `"#000000"`
- `white` : `"#ffffff"`

Each text color have `primary`, `secondary`, `disabled` and `dividers`.

- `darkText`
- `lightText`

Each icon color have `active` and `inactive`.

- `darkIcons`
- `lightIcons`

## License

[MIT](./LICENSE)

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