Skip to content

Commit

Permalink
feat(button): improve token documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yolijn authored and Robbert committed Apr 21, 2022
1 parent 8473b68 commit 9fe43ec
Showing 1 changed file with 50 additions and 6 deletions.
56 changes: 50 additions & 6 deletions components/button/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"inherits": true
}
},
"border-radius": {
"css": {
"syntax": "<length>",
"inherits": true
}
},
"border-width": {
"css": {
"syntax": "<length>",
Expand All @@ -25,9 +31,9 @@
"inherits": true
}
},
"focus-transform-scale": {
"font-family": {
"css": {
"syntax": "<number>",
"syntax": "*",
"inherits": true
}
},
Expand Down Expand Up @@ -128,6 +134,12 @@
"inherits": true
}
},
"border-color": {
"css": {
"syntax": "<color>",
"inherits": true
}
},
"color": {
"css": {
"syntax": "<color>",
Expand All @@ -136,13 +148,19 @@
}
},
"disabled": {
"color": {
"background-color": {
"css": {
"syntax": "<color>",
"inherits": true
}
},
"hover-background-color": {
"border-color": {
"css": {
"syntax": "<color>",
"inherits": true
}
},
"color": {
"css": {
"syntax": "<color>",
"inherits": true
Expand All @@ -156,27 +174,53 @@
"inherits": true
}
},
"border-color": {
"css": {
"syntax": "<color>",
"inherits": true
}
},
"color": {
"css": {
"syntax": "<color>",
"inherits": true
}
},
"transform-scale": {
"css": {
"syntax": "<number>",
"inherits": true
}
}
},
"primary-action": {
"hover": {
"background-color": {
"css": {
"syntax": "<color>",
"inherits": true
}
},
"border-color": {
"css": {
"syntax": "<color>",
"inherits": true
}
},
"color": {
"css": {
"syntax": "<color>",
"inherits": true
}
}
},
"primary-action": {
"background-color": {
"css": {
"syntax": "<color>",
"inherits": true
}
},
"hover-background-color": {
"color": {
"css": {
"syntax": "<color>",
"inherits": true
Expand Down

0 comments on commit 9fe43ec

Please sign in to comment.