Skip to content

Commit 504b9ab

Browse files
authored
Merge pull request #103 from hhru/PORTFOLIO-42844
PORTFOLIO-42844: Обновление токенов анимаций
2 parents f97c298 + 36802fb commit 504b9ab

File tree

58 files changed

+1389
-328
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1389
-328
lines changed

Demo/.figmagen.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,18 @@ tokens:
7070
destination: FigmaGenDemo/Generated/SpacingTokens.swift
7171
templateOptions:
7272
publicAccess: true
73+
blur:
74+
destination: FigmaGenDemo/Generated/BlurTokens.swift
75+
templateOptions:
76+
publicAccess: true
7377
borders:
7478
destination: FigmaGenDemo/Generated/BorderTokens.swift
7579
templateOptions:
7680
publicAccess: true
81+
borderRadiuses:
82+
destination: FigmaGenDemo/Generated/BorderRadiusTokens.swift
83+
templateOptions:
84+
publicAccess: true
7785
theme:
7886
destination: FigmaGenDemo/Generated/Theme.swift
7987
templateOptions:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// swiftlint:disable all
2+
// Generated using FigmaGen - https://github.com/hhru/FigmaGen
3+
// No border tokens found
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// swiftlint:disable all
2+
// Generated using FigmaGen - https://github.com/hhru/FigmaGen
3+
4+
#if canImport(UIKit)
5+
import UIKit
6+
#else
7+
import AppKit
8+
#endif
9+
10+
public struct BorderRadiusTokens {
11+
12+
// MARK: - Instance Properties
13+
14+
// Core
15+
16+
public let borderRadiusSm: Double = 4
17+
public let borderRadiusLg: Double = 8
18+
public let borderRadiusXl: Double = 16
19+
public let borderRadiusMultiValue: Double = 4 8
20+
}

Sources/FigmaGen/Commands/GenerateCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class GenerateCommand: AsyncExecutableCommand {
2121
let verbose = Flag(
2222
"--verbose",
2323
description: """
24-
Enable verbose logging for debuging.
24+
Enable verbose logging for debugging.
2525
By default is disabled.
2626
"""
2727
)

0 commit comments

Comments
 (0)