Skip to content

Commit

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

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

plugins: [
Expand Down

0 comments on commit ea004d2

Please sign in to comment.