# @master/css-preset

> The default Master CSS preset source and compiled manifest.

Latest version **2.1.7** (published 2026-11-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @master/css-preset
pnpm add @master/css-preset
yarn add @master/css-preset
bun add @master/css-preset
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 2.1.7 |
| Published | 2026-11-16 |
| First published | 2026-06-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1953 |
| Author | Aoyue Design LLC. |
| Maintainers | 1aron, benseage0 |
| Keywords | preset, css, mastercss |

## Links

- npm: https://www.npmjs.com/package/@master/css-preset
- Repository: https://github.com/master-co/css
- Homepage: https://css.master.co
- Issues: https://github.com/master-co/css/issues
- npm.io page: https://npm.io/package/@master/css-preset

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 2.1.7 (latest) — 2026-11-16
- 2.1.8 (candidate-2.1.8) — 2026-11-19
- 2.1.6 (candidate-2.1.6) — 2026-11-16
- 2.1.5 (candidate-2.1.5) — 2026-11-15
- 2.1.4 (candidate-2.1.4) — 2026-11-12
- 2.1.3 (candidate-2.1.3) — 2026-11-11
- 2.1.2 (candidate-2.1.2) — 2026-11-10
- 2.1.1 (candidate-2.1.1) — 2026-11-09
- 2.1.0 (candidate-2.1.0) — 2026-11-09
- 2.0.4 (candidate-2.0.4) — 2026-11-08
- 2.0.3 (candidate-2.0.3) — 2026-11-07
- 2.0.2 (candidate-2.0.2) — 2026-11-07
- 2.0.1 (candidate-2.0.1) — 2026-11-06
- 2.0.0 (candidate-2.0.0) — 2026-11-05
- 0.0.0-site.1793661807.g69c9aebcf628 (site) — 2026-11-02
- … 21 more at https://npm.io/package/@master/css-preset/versions

## README

# @master/css-preset

The default Master CSS preset source and compiled manifest.

## Installation

```bash
npm install @master/css-preset
```

Most applications should import preset styles through `@master/css`. Use this package directly when tooling needs the preset package boundary.

## CSS entries

```css
@import '@master/css-preset';
@import '@master/css-preset/base.css';
@import '@master/css-preset/theme.css';
@import '@master/css-preset/media.css';
@import '@master/css-preset/container.css';
@import '@master/css-preset/utilities.css';
```

`utilities.css` defines 118 token families, 100 direct-value functions, 292 fixed utilities and 7 recipes. A custom theme needs this entry or its own utilities to enable named classes.

`font-sans`, `font-sm`, and `font-bold` share the `font-` prefix while reading the independent `--font-family-*`, `--font-size-*`, and `--font-weight-*` namespaces. Duration and easing similarly use `transition-*` and `animation-*`; delays use `transition-delay-*` and `animation-delay-*`. A key present in multiple namespaces under the same prefix is ambiguous and requires an explicit native declaration, such as `(font-size:var(--font-size-brand))`.

The default index entry contains:

```css
@import "./base.css";
@import "./theme.css";
@import "./media.css";
@import "./container.css";
@import "./utilities.css";
```

`base.css` declares the stable cascade layer order:

```css
@layer theme, base, defaults, components, utilities;
```

## Manifest

The compiled default manifest is available as JSON:

```ts
import defaultManifest from '@master/css-preset/default-manifest.json'
```

The generated manifest is derived from the preset CSS source. Do not edit generated manifest output by hand.

## Related packages

- `@master/css` re-exports the preset CSS entries for application use.
- `@master/css` registers token families from loaded utilities.
- `@master/css-compiler` compiles preset CSS source into manifest data.

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