From 4e4e34691afd98d9d70a39813dc5b64a22952764 Mon Sep 17 00:00:00 2001 From: larserbach Date: Wed, 22 Nov 2023 15:04:14 +0100 Subject: [PATCH] feat(tokens): adds prefixSuffix colors --- .../input/tokens/color/SEM.json | 114 ++++++++++++++++++ 1 file changed, 114 insertions(+) diff --git a/packages/figma-design-tokens/input/tokens/color/SEM.json b/packages/figma-design-tokens/input/tokens/color/SEM.json index c983f3f57..9ab048a0d 100644 --- a/packages/figma-design-tokens/input/tokens/color/SEM.json +++ b/packages/figma-design-tokens/input/tokens/color/SEM.json @@ -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": {