@seed-design/design-token
Advanced tools
Comparing version 1.0.0 to 1.0.1
import * as vars from './vars'; | ||
declare type LooseValueType<T> = (T extends object ? { | ||
type LooseValueType<T> = (T extends object ? { | ||
readonly [K in keyof T]: LooseValueType<T[K]>; | ||
} : T extends string ? string : never); | ||
export declare type TokenObject = LooseValueType<typeof vars>; | ||
export type TokenObject = LooseValueType<typeof vars>; | ||
export {}; |
export * as color from './color'; | ||
export * as dimension from './dimension'; | ||
export * as letterSpacing from './letterSpacing'; |
{ | ||
"name": "@seed-design/design-token", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "repository": { |
# @seed-design/design-token | ||
> Seed Design 디자인 토큰은 [KDT](https://github.com/daangn/kdt/tree/main/language) 의미론을 따릅니다. | ||
디자인 토큰이 무엇인가요? | ||
> Design tokens are indivisible pieces of a design system such as colors, spacing, typography scale. | ||
> Design tokens are indivisible pieces of a design system such as colors, spacing, typography scale. | ||
> | ||
@@ -44,3 +46,3 @@ > -- [Design Token Working Group 정의](https://github.com/design-tokens/community-group) | ||
```ts | ||
import { vars } from '@seed-design/design-token'; | ||
import { vars } from "@seed-design/design-token"; | ||
@@ -47,0 +49,0 @@ // 시맨틱 토큰 |
export * as color from './color'; | ||
export * as dimension from './dimension'; | ||
export * as letterSpacing from './letterSpacing'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
193952
39
1156
57