From dcdc5be96155f081967cfb2057b45fa7c1b535df Mon Sep 17 00:00:00 2001 From: m-nti <117906965+m-nti@users.noreply.github.com> Date: Thu, 11 Jan 2024 14:37:14 +0100 Subject: [PATCH 1/2] feat: updates ItemSpacings to have different values per size --- packages/figma-design-tokens/input/tokens/$themes.json | 8 +------- packages/figma-design-tokens/input/tokens/color/SEM.json | 2 +- .../figma-design-tokens/input/tokens/dimensions/CMP.json | 6 +++--- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/packages/figma-design-tokens/input/tokens/$themes.json b/packages/figma-design-tokens/input/tokens/$themes.json index 5a1a21d72..397d561a5 100644 --- a/packages/figma-design-tokens/input/tokens/$themes.json +++ b/packages/figma-design-tokens/input/tokens/$themes.json @@ -1348,8 +1348,6 @@ "q.surface.default": "daa19b0648718e4b0cf640f86106907fbc2f7b9a", "q.surface.error.alpha": "853a0dad067356fbcd541f322754e636962cbed0", "q.surface.error.beta": "21f8662253be121bdc8d482958b1d5ac6722a73e", - "q.surface.error.alpha": "853a0dad067356fbcd541f322754e636962cbed0", - "q.surface.error.beta": "21f8662253be121bdc8d482958b1d5ac6722a73e", "q.surface.inverted": "be62c24b18818b74bb5419601990061243356d37", "q.surface.readonly": "c16031a08499ee91f585067be14ebb92f9f2a1f4", "q.surface.warning": "4d7024ac2ed9747365004fbbaf19cf07e03d5d56", @@ -1410,7 +1408,6 @@ "q.content.onerror.beta": "87631f7c5ab411c7c86760e1f269ed64d4661c75", "q.content.onerror.gamma": "28412e83dde9908dd0d0468a641c59633c5aed81", "q.content.onerror.delta": "f7e8cf96ddbadb15b6bff567ffb3d317a6dca156", - "q.content.onerror.delta": "f7e8cf96ddbadb15b6bff567ffb3d317a6dca156", "q.content.onwarning.alpha": "6516df79ad13cb8d3b209eb77c77f649b715b757", "q.content.onwarning.beta": "d1edb55190eee837334b36e08602215679d067ef", "q.content.onwarning.gamma": "b6c544e416706a2650d683f68f84f8bccf77359c", @@ -2910,8 +2907,6 @@ "q.surface.default": "daa19b0648718e4b0cf640f86106907fbc2f7b9a", "q.surface.error.alpha": "853a0dad067356fbcd541f322754e636962cbed0", "q.surface.error.beta": "21f8662253be121bdc8d482958b1d5ac6722a73e", - "q.surface.error.alpha": "853a0dad067356fbcd541f322754e636962cbed0", - "q.surface.error.beta": "21f8662253be121bdc8d482958b1d5ac6722a73e", "q.surface.inverted": "be62c24b18818b74bb5419601990061243356d37", "q.surface.readonly": "c16031a08499ee91f585067be14ebb92f9f2a1f4", "q.surface.warning": "4d7024ac2ed9747365004fbbaf19cf07e03d5d56", @@ -2972,7 +2967,6 @@ "q.content.onerror.beta": "87631f7c5ab411c7c86760e1f269ed64d4661c75", "q.content.onerror.gamma": "28412e83dde9908dd0d0468a641c59633c5aed81", "q.content.onerror.delta": "f7e8cf96ddbadb15b6bff567ffb3d317a6dca156", - "q.content.onerror.delta": "f7e8cf96ddbadb15b6bff567ffb3d317a6dca156", "q.content.onwarning.alpha": "6516df79ad13cb8d3b209eb77c77f649b715b757", "q.content.onwarning.beta": "d1edb55190eee837334b36e08602215679d067ef", "q.content.onwarning.gamma": "b6c544e416706a2650d683f68f84f8bccf77359c", @@ -3060,4 +3054,4 @@ "🔷 ErrorMsg": "3a96a0ab1babd3bb59147d6bbca724ca1fde0e82" } } -] +] \ No newline at end of file diff --git a/packages/figma-design-tokens/input/tokens/color/SEM.json b/packages/figma-design-tokens/input/tokens/color/SEM.json index 213df7eb6..c41f2fa2f 100644 --- a/packages/figma-design-tokens/input/tokens/color/SEM.json +++ b/packages/figma-design-tokens/input/tokens/color/SEM.json @@ -1379,4 +1379,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/figma-design-tokens/input/tokens/dimensions/CMP.json b/packages/figma-design-tokens/input/tokens/dimensions/CMP.json index a3d947455..1c3d9174d 100644 --- a/packages/figma-design-tokens/input/tokens/dimensions/CMP.json +++ b/packages/figma-design-tokens/input/tokens/dimensions/CMP.json @@ -3156,12 +3156,12 @@ "description": "Defines the gap between hint and error message" }, "MD": { - "value": "{core.dimensionREM.4}", + "value": "{core.dimensionREM.5}", "type": "spacing", "description": "Defines the gap between hint and error message" }, "LG": { - "value": "{core.dimensionREM.4}", + "value": "{core.dimensionREM.6}", "type": "spacing", "description": "Defines the gap between hint and error message" } @@ -3521,4 +3521,4 @@ } } } -} +} \ No newline at end of file From 5b4fe8a85729c010879e631413d3201bab8a9229 Mon Sep 17 00:00:00 2001 From: larserbach Date: Fri, 12 Jan 2024 11:42:28 +0100 Subject: [PATCH 2/2] remove configuration --- .../input/tokens/$themes.json | 56 ------------------- 1 file changed, 56 deletions(-) diff --git a/packages/figma-design-tokens/input/tokens/$themes.json b/packages/figma-design-tokens/input/tokens/$themes.json index 397d561a5..c5620b38c 100644 --- a/packages/figma-design-tokens/input/tokens/$themes.json +++ b/packages/figma-design-tokens/input/tokens/$themes.json @@ -2997,61 +2997,5 @@ "Forms.RadioGroup.CaptionSlot.PaddingTop.LG": "c8f1ada63ac592e9d6d96942d34d419648bc3984" }, "group": "Theme" - }, - { - "id": "08249cc3818adf31affe7426f575df1543561628", - "name": "AllCaptions", - "$figmaStyleReferences": {}, - "selectedTokenSets": {}, - "group": "Caption", - "$figmaCollectionId": "VariableCollectionId:9016:11935", - "$figmaModeId": "9016:0", - "$figmaVariableReferences": { - "CaptionContainer": "b0d1634342d97fd63a137fc52f5f637b581a0df1", - "🔷 HintMsg": "0ce761be58bf5624e583377385ea94610e17be94", - "🔷 ErrorMsg": "3a96a0ab1babd3bb59147d6bbca724ca1fde0e82" - } - }, - { - "id": "75296d1875947aa3681aa72763fa1078814c938c", - "name": "HintOnly", - "$figmaStyleReferences": {}, - "selectedTokenSets": {}, - "group": "Caption", - "$figmaCollectionId": "VariableCollectionId:9016:11935", - "$figmaModeId": "9016:1", - "$figmaVariableReferences": { - "CaptionContainer": "b0d1634342d97fd63a137fc52f5f637b581a0df1", - "🔷 HintMsg": "0ce761be58bf5624e583377385ea94610e17be94", - "🔷 ErrorMsg": "3a96a0ab1babd3bb59147d6bbca724ca1fde0e82" - } - }, - { - "id": "952d14ff8cc881b46dc29b075f1927fc9d6326b9", - "name": "ErrorOnly", - "$figmaStyleReferences": {}, - "selectedTokenSets": {}, - "group": "Caption", - "$figmaCollectionId": "VariableCollectionId:9016:11935", - "$figmaModeId": "9016:2", - "$figmaVariableReferences": { - "CaptionContainer": "b0d1634342d97fd63a137fc52f5f637b581a0df1", - "🔷 HintMsg": "0ce761be58bf5624e583377385ea94610e17be94", - "🔷 ErrorMsg": "3a96a0ab1babd3bb59147d6bbca724ca1fde0e82" - } - }, - { - "id": "bb09f6c5d139043d0d6590c978e9096343ca4ba5", - "name": "noCaptions", - "$figmaStyleReferences": {}, - "selectedTokenSets": {}, - "group": "Caption", - "$figmaCollectionId": "VariableCollectionId:9016:11935", - "$figmaModeId": "9016:3", - "$figmaVariableReferences": { - "CaptionContainer": "b0d1634342d97fd63a137fc52f5f637b581a0df1", - "🔷 HintMsg": "0ce761be58bf5624e583377385ea94610e17be94", - "🔷 ErrorMsg": "3a96a0ab1babd3bb59147d6bbca724ca1fde0e82" - } } ] \ No newline at end of file