Skip to content

Commit

Permalink
design: add spacing token 0-150
Browse files Browse the repository at this point in the history
  • Loading branch information
nix6839 committed Sep 16, 2023
1 parent 511726a commit 32a1c93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/portfolio/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ const config = {
DEFAULT: COLORS.zinc['500'],
},
},

spacing() {
const spacings: Record<number, string> = {
0: '0',
};
for (let i = 1; i <= 150; i += 1) {
spacings[i] = `${i / 4}rem`;
}
return spacings;
},
},

plugins: [
Expand Down

0 comments on commit 32a1c93

Please sign in to comment.