Skip to content

Commit

Permalink
chore: radius, space 객체 구조 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ghdtjgus76 committed May 31, 2024
1 parent 2931c8d commit 8786c75
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 25 deletions.
10 changes: 4 additions & 6 deletions packages/theme/src/tokens/radius.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { defineTokens } from "@pandacss/dev";
import { radius as wowRadius } from "wowds-tokens";
import { radius } from "wowds-tokens";

export const radii = defineTokens.radii({
radius: {
sm: { value: wowRadius.sm },
md: { value: wowRadius.md },
full: { value: wowRadius.full },
},
sm: { value: radius.sm },
md: { value: radius.md },
full: { value: radius.full },
});
36 changes: 17 additions & 19 deletions packages/theme/src/tokens/space.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,22 @@ import { defineTokens } from "@pandacss/dev";
import { space } from "wowds-tokens";

export const spacing = defineTokens.spacing({
spacing: {
xxs: {
value: space.xxs,
},
xs: {
value: space.xs,
},
sm: {
value: space.sm,
},
md: {
value: space.md,
},
lg: {
value: space.lg,
},
xl: {
value: space.xl,
},
xxs: {
value: space.xxs,
},
xs: {
value: space.xs,
},
sm: {
value: space.sm,
},
md: {
value: space.md,
},
lg: {
value: space.lg,
},
xl: {
value: space.xl,
},
});

0 comments on commit 8786c75

Please sign in to comment.