Skip to content

Commit

Permalink
fix: add composition to expandTypesMap (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema authored Jul 29, 2024
1 parent 32c2d13 commit c6c9223
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-terms-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tokens-studio/sd-transforms': patch
---

Add composition to expandTypesMap.
11 changes: 11 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,15 @@ export const expandTypesMap = {
// for fontWeight: recognized fontWeight keys (e.g. "regular")
// for lineHeight: lineHeights can be both dimension or number
},
composition: {
boxShadow: 'shadow',
spacing: 'dimension',
sizing: 'dimension',
borderRadius: 'dimension',
borderWidth: 'dimension',
letterSpacing: 'dimension',
paragraphSpacing: 'dimension',
paragraphIndent: 'dimension',
text: 'content',
},
};

0 comments on commit c6c9223

Please sign in to comment.