-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Derive grid tokens from common spacing tokens
- Loading branch information
1 parent
d092cb3
commit 3d17fd2
Showing
5 changed files
with
33 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 1 addition & 8 deletions
9
proprietary/tokens/src/components/amsterdam/grid.compact.tokens.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
{ | ||
"amsterdam": { | ||
"grid": { | ||
"gap": { | ||
"value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)", | ||
"comment": "Grows from 16px at 1088px wide to 40px at 2624px wide." | ||
}, | ||
"padding-inline": { | ||
"value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)", | ||
"comment": "Equals the gap." | ||
} | ||
"padding-inline": { "value": "amsterdam.space.md" } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters