From d2b687fe9ff3bc86f4d4e9a1b6c18220837b2225 Mon Sep 17 00:00:00 2001 From: Travaglini Alessio <158268546+Vandapanda@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:45:30 +0100 Subject: [PATCH] refactor(token):changed token for darkmode on a semantical level --- .../tokens/tokensstudio-generated/tokens.json | 49 +++++++++++++------ 1 file changed, 35 insertions(+), 14 deletions(-) diff --git a/packages/tokens/tokensstudio-generated/tokens.json b/packages/tokens/tokensstudio-generated/tokens.json index 6dabc1da87..39acbc738b 100644 --- a/packages/tokens/tokensstudio-generated/tokens.json +++ b/packages/tokens/tokensstudio-generated/tokens.json @@ -8104,27 +8104,27 @@ "color": { "enabled-bg": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.enabled.bg1}" + "$value": "{post.scheme.color.interactive.input.enabled.bg}" }, "enabled-fg": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.enabled.fg1}" + "$value": "{post.scheme.color.interactive.input.enabled.fg}" }, "hover-bg": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.hover.bg}" + "$value": "{post.scheme.color.interactive.input.hover.bg}" }, "hover-fg": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.hover.fg1}" + "$value": "{post.scheme.color.interactive.input.hover.fg}" }, "disabled-bg": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.disabled.bg}" + "$value": "{post.scheme.color.interactive.input.disabled.bg}" }, "disabled-fg": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.disabled.fg1}" + "$value": "{post.scheme.color.interactive.input.disabled.fg}" }, "selected-bg": { "$type": "color", @@ -8132,7 +8132,7 @@ }, "selected-fg": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.selected.fg1}" + "$value": "{post.scheme.color.interactive.input.enabled.fg}" }, "helptext-fg": { "$type": "color", @@ -8140,19 +8140,19 @@ }, "enabled-border": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.enabled.stroke}" + "$value": "{post.scheme.color.interactive.input.enabled.border}" }, "hover-border": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.hover.stroke}" + "$value": "{post.scheme.color.interactive.input.hover.border}" }, "disabled-border": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.disabled.stroke}" + "$value": "{post.scheme.color.interactive.input.disabled.border}" }, "selected-border": { "$type": "color", - "$value": "{post.scheme.color.interactive.primary.selected.stroke1}" + "$value": "{post.scheme.color.interactive.input.enabled.border}" }, "signal": { "error": { @@ -9707,7 +9707,16 @@ "post.scheme.color.interactive.primary.hover.bg3": "bb64afac2be48ddd31b986e67cd8338ebf30c3cc", "post.scheme.color.interactive.primary.disabled.bg5": "21deaefac612428b75e362722aff06adbf3236e7", "post.scheme.color.signal.neutral-dark": "790da7ad43fa67de3b2da99582d332791fb09e9f", - "post.scheme.color.signal.neutral": "daad7eeff08d93aeed6c1ad67af23e58bdffd198" + "post.scheme.color.signal.neutral": "daad7eeff08d93aeed6c1ad67af23e58bdffd198", + "post.scheme.color.interactive.input.enabled.bg": "ee1559ba9c687a96a4f52b60241ad08d6af675ef", + "post.scheme.color.interactive.input.enabled.fg": "c0b646bc7315b3eb57777ada948f08b0fd3d718d", + "post.scheme.color.interactive.input.enabled.border": "0acd1351445659355ab8d6f7f370fe1c217ebe91", + "post.scheme.color.interactive.input.hover.bg": "9e0464752dbef48d2c13c82b1865fb29baa976d6", + "post.scheme.color.interactive.input.hover.fg": "4191ea628c0c943fa24e832a57e02fce109f0a73", + "post.scheme.color.interactive.input.hover.border": "69ac281e1d33ebdb46f1512dd957323d89a6cc66", + "post.scheme.color.interactive.input.disabled.bg": "751b8e0c0c47287585e354becf6a35bc76d3ef30", + "post.scheme.color.interactive.input.disabled.fg": "ab50ae4da2b62ef7e661bbd499b51e51b20b6289", + "post.scheme.color.interactive.input.disabled.border": "03fcc579a4ae77e80ca5f0e8b4a33c17b07b9944" } }, { @@ -9716,7 +9725,8 @@ "$figmaStyleReferences": {}, "selectedTokenSets": { "core": "source", - "Scheme/Dark": "enabled" + "Scheme/Dark": "enabled", + "Scheme/Light": "enabled" }, "$figmaCollectionId": "VariableCollectionId:718:1666", "$figmaModeId": "718:2", @@ -9729,6 +9739,8 @@ "post.scheme.color.signal.warning-light": "89302ce07bdf3dda8857ae055241ba5e55af16c7", "post.scheme.color.signal.information-dark": "04907dc5972eef19d828ea38aafba62220824b5c", "post.scheme.color.signal.information-light": "92a36e527934b27f741ef1d21ccd77f46081bcea", + "post.scheme.color.signal.neutral-dark": "790da7ad43fa67de3b2da99582d332791fb09e9f", + "post.scheme.color.signal.neutral": "daad7eeff08d93aeed6c1ad67af23e58bdffd198", "post.scheme.color.signal.success-solo": "005074d4749ba0d64a11e8a5c742c48631c98dca", "post.scheme.color.signal.error-solo": "93e0cd4e7a5f9b2a33a76c9c0f3ab60dc5543f66", "post.scheme.color.interactive.button.primary.enabled.fg": "2a55e0da7a6a77af2ab682cfee46da43264624cf", @@ -9886,7 +9898,16 @@ "post.cargo.scheme.color.surface.accent.fg-accent": "9d2202f6c4937b0a006f5bf8886480984ab8efb2", "post.scheme.color.interactive.primary.enabled.bg3": "2ce7249ce3193851128c93a6f2b7ef668ae528ae", "post.scheme.color.interactive.primary.hover.bg3": "bb64afac2be48ddd31b986e67cd8338ebf30c3cc", - "post.scheme.color.interactive.primary.disabled.bg5": "21deaefac612428b75e362722aff06adbf3236e7" + "post.scheme.color.interactive.primary.disabled.bg5": "21deaefac612428b75e362722aff06adbf3236e7", + "post.scheme.color.interactive.input.enabled.bg": "ee1559ba9c687a96a4f52b60241ad08d6af675ef", + "post.scheme.color.interactive.input.enabled.fg": "c0b646bc7315b3eb57777ada948f08b0fd3d718d", + "post.scheme.color.interactive.input.enabled.border": "0acd1351445659355ab8d6f7f370fe1c217ebe91", + "post.scheme.color.interactive.input.hover.bg": "9e0464752dbef48d2c13c82b1865fb29baa976d6", + "post.scheme.color.interactive.input.hover.fg": "4191ea628c0c943fa24e832a57e02fce109f0a73", + "post.scheme.color.interactive.input.hover.border": "69ac281e1d33ebdb46f1512dd957323d89a6cc66", + "post.scheme.color.interactive.input.disabled.bg": "751b8e0c0c47287585e354becf6a35bc76d3ef30", + "post.scheme.color.interactive.input.disabled.fg": "ab50ae4da2b62ef7e661bbd499b51e51b20b6289", + "post.scheme.color.interactive.input.disabled.border": "03fcc579a4ae77e80ca5f0e8b4a33c17b07b9944" }, "group": "Scheme" },