Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Demo/.figmagen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,18 @@ tokens:
destination: FigmaGenDemo/Generated/SpacingTokens.swift
templateOptions:
publicAccess: true
blur:
destination: FigmaGenDemo/Generated/BlurTokens.swift
templateOptions:
publicAccess: true
borders:
destination: FigmaGenDemo/Generated/BorderTokens.swift
templateOptions:
publicAccess: true
borderRadiuses:
destination: FigmaGenDemo/Generated/BorderRadiusTokens.swift
templateOptions:
publicAccess: true
theme:
destination: FigmaGenDemo/Generated/Theme.swift
templateOptions:
Expand Down
3 changes: 3 additions & 0 deletions Demo/FigmaGenDemo/Generated/BlurTokens.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// swiftlint:disable all
// Generated using FigmaGen - https://github.com/hhru/FigmaGen
// No border tokens found
20 changes: 20 additions & 0 deletions Demo/FigmaGenDemo/Generated/BorderRadiusTokens.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// swiftlint:disable all
// Generated using FigmaGen - https://github.com/hhru/FigmaGen

#if canImport(UIKit)
import UIKit
#else
import AppKit
#endif

public struct BorderRadiusTokens {

// MARK: - Instance Properties

// Core

public let borderRadiusSm: Double = 4
public let borderRadiusLg: Double = 8
public let borderRadiusXl: Double = 16
public let borderRadiusMultiValue: Double = 4 8
}
2 changes: 1 addition & 1 deletion Sources/FigmaGen/Commands/GenerateCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ final class GenerateCommand: AsyncExecutableCommand {
let verbose = Flag(
"--verbose",
description: """
Enable verbose logging for debuging.
Enable verbose logging for debugging.
By default is disabled.
"""
)
Expand Down
Loading
Loading