# @mskcc/colors

Latest version **2.7.3** (published 2025-02-05) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install @mskcc/colors
pnpm add @mskcc/colors
yarn add @mskcc/colors
bun add @mskcc/colors
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.7.3 |
| Published | 2025-02-05 |
| First published | 2023-10-25 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 37.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | jamesmsk, walee, chapmanm, informatix9, nierococ |

## Links

- npm: https://www.npmjs.com/package/@mskcc/colors
- npm.io page: https://npm.io/package/@mskcc/colors

## Recent versions

- 2.7.3 (latest) — 2025-02-05
- 2.7.0-beta.2 (beta) — 2024-08-05
- 2.7.2 — 2024-10-22
- 2.7.1 — 2024-08-22
- 2.7.0 — 2024-08-20
- 2.7.0-beta.1 — 2024-07-11
- 2.6.1 — 2024-07-03
- 2.7.0-beta.0 — 2024-05-06
- 2.6.0 — 2024-04-29
- 2.5.0 — 2024-04-24
- 2.4.5 — 2024-03-01
- 2.4.4 — 2024-02-01
- 2.4.3 — 2024-01-18
- 2.4.2 — 2023-11-28
- 2.4.1 — 2023-11-06
- … 2 more at https://npm.io/package/@mskcc/colors/versions

## README

<img src="https://cdn.jsdelivr.net/npm/@mskcc/dsm-assets@latest/src/design-system-logo.svg" />

# @mskcc/colors

> Colors for MSK digital products.

## Installation

```bash
npm install --save-dev @mskcc/colors
```

## Usage

You can use the `@mskcc/colors` module in your JavaScript, in addition to your
Sass.

### JavaScript / TypeScript

```tsx
import { colors } from '@mskcc/colors';

const lightTheme = {
  bg: colors.msk['white'][0],
};
```

### Sass

In Sass, you can import the files individual by doing:

```scss
@use '@mskcc/colors' as c;

body {
  background-color: c.$msk-white-0;
}
```

### CSS

```css
@import '@mskcc/colors/dist/index.css';

body {
  background-color: var(--msk-color-white-0);
}
```

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