Skip to content

Commit

Permalink
adding new space token
Browse files Browse the repository at this point in the history
  • Loading branch information
brenocastelo committed Dec 15, 2022
1 parent b7449fa commit 19b079a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @br-ignite-ui/tokens

## 2.1.0

### Minor Changes

- Adding a new space token

## 2.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@br-ignite-ui/tokens",
"version": "2.0.0",
"version": "2.1.0",
"description": "",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
3 changes: 2 additions & 1 deletion packages/tokens/src/space.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ export const space = {
12: '3rem',
16: '4rem',
20: '5rem',
32: '8rem',
40: '10rem',
64: '16rem',
80: '20rem',
}
};

// 1rem -> 16px -> 16px/4 -> Size 4

0 comments on commit 19b079a

Please sign in to comment.