# design-system

> Nexus Design's design systems: the tokens and notes designs are made with, served with and checked against. The built-in @nexus/brand is the default until you pick another.

Nexus Design's design systems: the tokens and notes designs are made with, served with and checked against. The built-in @nexus/brand is the default until you pick another.

## nexus design-system list

```sh
nexus design-system list
```

The organization's design systems: the built-in @nexus/brand first, and which one new designs use.

## nexus design-system show

```sh
nexus design-system show [<name>]
```

A design system's link tag, tokens (CSS custom properties) and notes; the default without a name.

```sh
nexus design-system show
```

## nexus design-system sync

```sh
nexus design-system sync <path> [--name N] [--default]
```

Read a repository's tokens (CSS variables, a Tailwind config, tokens.json), its DESIGN.md and its component names into a design system (owners and admins).

| Option | Meaning |
| --- | --- |
| `--name <N>` | The design system's name (default: the folder's package.json name, else the folder's own) |
| `--default` | Make it the default for new designs too |

```sh
nexus design-system sync ./web --default
```

## nexus design-system use

```sh
nexus design-system use <name>
```

Make a design system the default for new designs (owners and admins).

```sh
nexus design-system use acme
```
