From 73988bec9d678b263ac52ebb1985481bdc6e4ff0 Mon Sep 17 00:00:00 2001 From: Darya Viter Date: Thu, 3 Jul 2025 21:24:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D0=B0=20=D0=BE=D0=B1=D1=89=D0=B8=D0=B5=20=D0=BC=D0=B0=D1=81?= =?UTF-8?q?=D1=81=D0=B8=D0=B2=D1=8B=20=D0=B4=D0=BB=D1=8F=20=D1=83=D0=B4?= =?UTF-8?q?=D0=BE=D0=B1=D1=81=D1=82=D0=B2=D0=B0=20=D0=B3=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D1=80=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AnimationEase/DefaultAnimationEaseTokensGenerator.swift | 3 +++ .../BorderRadius/DefaultBorderRadiusTokensGenerator.swift | 1 + 2 files changed, 4 insertions(+) diff --git a/Sources/FigmaGen/Generators/Tokens/Generators/AnimationEase/DefaultAnimationEaseTokensGenerator.swift b/Sources/FigmaGen/Generators/Tokens/Generators/AnimationEase/DefaultAnimationEaseTokensGenerator.swift index 9bb0795..c2926f0 100644 --- a/Sources/FigmaGen/Generators/Tokens/Generators/AnimationEase/DefaultAnimationEaseTokensGenerator.swift +++ b/Sources/FigmaGen/Generators/Tokens/Generators/AnimationEase/DefaultAnimationEaseTokensGenerator.swift @@ -92,10 +92,13 @@ struct DefaultAnimationEaseTokensGenerator: AnimationEaseTokensGenerator { let semanticAnimationEaseBase = semanticAnimationEase.compactMap { $0.base } let semanticAnimationEaseSpring = semanticAnimationEase.compactMap { $0.spring } + let all = coreAnimationEase + semanticAnimationEase + try templateRenderer.renderTemplate( renderParameters.template, to: renderParameters.destination, context: [ + "allAnimations": all, "animationTimesCore": timesCore, "animationTimesSemantic": timesSemantic, "coreAnimationEaseBase": coreAnimationEaseBase, diff --git a/Sources/FigmaGen/Generators/Tokens/Generators/BorderRadius/DefaultBorderRadiusTokensGenerator.swift b/Sources/FigmaGen/Generators/Tokens/Generators/BorderRadius/DefaultBorderRadiusTokensGenerator.swift index ab8164c..7706029 100644 --- a/Sources/FigmaGen/Generators/Tokens/Generators/BorderRadius/DefaultBorderRadiusTokensGenerator.swift +++ b/Sources/FigmaGen/Generators/Tokens/Generators/BorderRadius/DefaultBorderRadiusTokensGenerator.swift @@ -57,6 +57,7 @@ struct DefaultBorderRadiusTokensGenerator: BorderRadiusTokensGenerator { to: renderParameters.destination, context: [ "coreBorderRadius": coreBorderRadius, + "allSemanticBorderRadiuses": semanticBorderRadiuses, "semanticBorderRadius": semanticBorderRadius, "staticBorderRadius": staticBorderRadius ]