# @semicolondsm/design-token

> ## Install

Latest version **1.0.8** (published 2022-07-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @semicolondsm/design-token
pnpm add @semicolondsm/design-token
yarn add @semicolondsm/design-token
bun add @semicolondsm/design-token
```

## 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.8 |
| Published | 2022-07-01 |
| First published | 2021-10-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 21.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 9 |
| Author | eungyeole |
| Maintainers | teamxquare, eungyeole |

## Links

- npm: https://www.npmjs.com/package/@semicolondsm/design-token
- Repository: https://github.com/semicolondsm/SemicolonDesign_Frontend
- Homepage: https://github.com/semicolondsm/SemicolonDesign_Frontend#readme
- Issues: https://github.com/semicolondsm/SemicolonDesign_Frontend/issues
- npm.io page: https://npm.io/package/@semicolondsm/design-token

## Recent versions

- 1.0.8 (latest) — 2022-07-01
- 1.0.7 — 2022-07-01
- 1.0.6 — 2021-11-24
- 1.0.5 — 2021-11-24
- 1.0.4 — 2021-11-04
- 1.0.3 — 2021-11-03
- 1.0.2 — 2021-11-03
- 1.0.1 — 2021-10-31
- 1.0.0 — 2021-10-30

## README

# @semicolondsm/design-token

## Install

```
yarn add @semicolondsm/design-token
```

## Usage

```jsx
import { colors } from "@semicolondsm/design-token";
```

```typescript
import { colors } from "@semicolondsm/design-token";

// WebView에서 사용되는 scheme 입니다.
// 반드시 css서버에서의 link가 필요합니다.
colors.auto.scheme;

// 라이트
colors.light.scheme;

// 다크
colors.dark.scheme;
```

```html
<link rel="stylesheet" href="https://style.xquare.app/styles.css" />
```

Link가 되면 CSS 에서 color: var(--blue400) 처럼 쓸 수 있습니다.

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