Skip to content

Commit

Permalink
perf: convert hard value to token #124
Browse files Browse the repository at this point in the history
This commit takes the currently used 0.375 and converts it to a base
token of ds-size-75.

Changes to be committed:
modified:   src/size/radius.json
modified:   src/size/scale.json
  • Loading branch information
blackfalcon committed May 7, 2024
1 parent a76994d commit 80445f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/size/radius.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"border": {
"radius": {
"value": "0.375rem",
"value": "{size.75.value}",
"public": true,
"deprecated": false
}
Expand Down
6 changes: 6 additions & 0 deletions src/size/scale.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@
"public": true,
"deprecated": false
},
"75": {
"value": 0.375,
"comment": "6px",
"public": true,
"deprecated": false
},
"100": {
"value": 0.5,
"comment": "8px",
Expand Down

0 comments on commit 80445f7

Please sign in to comment.