Skip to content

Commit

Permalink
feat(tokens): adds prefixSuffix colors
Browse files Browse the repository at this point in the history
  • Loading branch information
larserbach committed Nov 22, 2023
1 parent 194772d commit 4e4e346
Showing 1 changed file with 114 additions and 0 deletions.
114 changes: 114 additions & 0 deletions packages/figma-design-tokens/input/tokens/color/SEM.json
Original file line number Diff line number Diff line change
Expand Up @@ -1171,6 +1171,120 @@
"value": "{q.content.ondefault.error}",
"type": "color"
}
},
"PrefixSuffix": {
"OnPopulatedField": {
"Default": {
"Rest": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Hover": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Pressed": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Focus": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Disabled": {
"value": "{q.content.ondisabled.alpha}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"ReadOnly": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
}
},
"Error": {
"Rest": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Hover": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Pressed": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Focus": {
"value": "{q.content.ondefault.beta}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
}
}
},
"OnEmptyField": {
"Default": {
"Rest": {
"value": "{q.content.ondefault.gamma.rest}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Hover": {
"value": "{q.content.ondefault.gamma.rest}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Pressed": {
"value": "{q.content.ondefault.gamma.rest}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Focus": {
"value": "{q.content.ondefault.gamma.rest}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Disabled": {
"value": "{q.content.ondisabled.alpha}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"ReadOnly": {
"value": "{q.content.onreadonly.gamma}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
}
},
"Error": {
"Rest": {
"value": "{q.content.onerror.gamma}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Hover": {
"value": "{q.content.onerror.gamma}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Pressed": {
"value": "{q.content.onerror.gamma}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
},
"Focus": {
"value": "{q.content.onerror.gamma}",
"type": "color",
"description": "Apply on prefix- or suffix-texts of an input which is already populated with content. e.g: Numberfield"
}
}
}
}
},
"Global": {
Expand Down

0 comments on commit 4e4e346

Please sign in to comment.