Search
Preparing search index...
The search index is not available
figmagic
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
figmagic
contracts/Write
Module contracts/Write
Index
Type aliases
File
Content
With
Path
Get
File
Data
Operation
Write
Operation
Type aliases
File
Content
With
Path
File
Content
With
Path
:
{
fileContent
:
string
;
filePath
:
string
}
Type declaration
file
Content
:
string
file
Path
:
string
Get
File
Data
Operation
Get
File
Data
Operation
:
{
element
:
string
;
extraProps
?:
string
;
file
:
string
|
ProcessedToken
;
format
:
string
;
imports
?:
string
;
metadata
?:
Metadata
;
name
:
string
;
path
:
string
;
templates
?:
Templates
;
text
?:
string
;
type
:
FileType
}
Type declaration
element
:
string
Optional
extra
Props
?:
string
file
:
string
|
ProcessedToken
format
:
string
Optional
imports
?:
string
Optional
metadata
?:
Metadata
name
:
string
path
:
string
Optional
templates
?:
Templates
Optional
text
?:
string
type
:
FileType
Write
Operation
Write
Operation
:
{
css
?:
string
;
description
?:
string
;
file
:
string
|
ProcessedToken
;
fixedName
?:
string
;
folder
?:
string
;
forceUpdate
?:
string
;
format
:
string
;
html
?:
string
;
metadata
?:
Metadata
;
name
:
string
;
outputFolderElements
?:
string
;
outputFolderGraphics
?:
string
;
outputFolderTokens
?:
string
;
outputFormatCss
?:
OutputFormatCss
;
outputFormatDescription
?:
OutputFormatDescription
;
outputFormatElements
?:
OutputFormatElements
;
outputFormatGraphics
?:
OutputFormatGraphics
;
outputFormatStorybook
?:
OutputFormatStorybook
;
outputFormatTokens
?:
OutputFormatTokens
;
overwrite
:
Overwrite
;
path
:
string
;
templates
?:
Templates
;
tokensRelativeImportPrefix
?:
string
;
type
:
FileType
}
Type declaration
Optional
css
?:
string
Optional
description
?:
string
file
:
string
|
ProcessedToken
Optional
fixed
Name
?:
string
Optional
folder
?:
string
Optional
force
Update
?:
string
format
:
string
Optional
html
?:
string
Optional
metadata
?:
Metadata
name
:
string
Optional
output
Folder
Elements
?:
string
Optional
output
Folder
Graphics
?:
string
Optional
output
Folder
Tokens
?:
string
Optional
output
Format
Css
?:
OutputFormatCss
Optional
output
Format
Description
?:
OutputFormatDescription
Optional
output
Format
Elements
?:
OutputFormatElements
Optional
output
Format
Graphics
?:
OutputFormatGraphics
Optional
output
Format
Storybook
?:
OutputFormatStorybook
Optional
output
Format
Tokens
?:
OutputFormatTokens
overwrite
:
Overwrite
path
:
string
Optional
templates
?:
Templates
Optional
tokens
Relative
Import
Prefix
?:
string
type
:
FileType
Modules
contracts/
Config
contracts/
Css
contracts/
Element
contracts/
Figma
contracts/
Figma
Data
contracts/
Figma
Element
contracts/
Figmagic
Element
contracts/
File
List
contracts/
Graphic
contracts/
Image
Response
contracts/
Imports
contracts/
Metadata
contracts/
Parsed
Element
Metadata
Interface
contracts/
Prep
File
contracts/
Processed
Token
contracts/
Templates
contracts/
Text
Element
contracts/
Token
Match
contracts/
Tokens
contracts/
Typography
Element
contracts/
Write
controllers/
Figmagic
Controller
entities/
Config
entities/
Config/base
Config
entities/
Config/logic/create
Configuration
entities/
Config/logic/parse
Cli
Args
entities/
Config/logic/validate
Config
entities/
Figmagic
Element
entities/
Figmagic
Element/logic/get
File
Contents
entities/
Figmagic
Element/logic/get
Token
Match
entities/
Figmagic
Element/logic/parse
Css
From
Element
entities/
Figmagic
Element/logic/parse
Typography
Styling
From
Element
entities/
Figmagic
Element/logic/parsers/get
Background
Color
entities/
Figmagic
Element/logic/parsers/get
Border
Color
entities/
Figmagic
Element/logic/parsers/get
PaddingX
entities/
Figmagic
Element/logic/parsers/get
PaddingY
entities/
Figmagic
Element/logic/parsers/get
Shadow
entities/
Figmagic
Element/logic/parsers/parse
Background
Color
entities/
Figmagic
Element/logic/parsers/parse
Border
Color
entities/
Figmagic
Element/logic/parsers/parse
Border
Radius
entities/
Figmagic
Element/logic/parsers/parse
Border
Width
entities/
Figmagic
Element/logic/parsers/parse
Height
entities/
Figmagic
Element/logic/parsers/parse
Padding
entities/
Figmagic
Element/logic/parsers/parse
Shadow
entities/
Figmagic
Element/logic/parsers/update
Parsing
entities/
Figmagic
Element/logic/process
Nested
Css
entities/
Figmagic
Element/logic/slice
Out
Object
From
File
entities/
Token
entities/
Token/logic/make
Border
Width
Tokens
entities/
Token/logic/make
Color
Tokens
entities/
Token/logic/make
Delay
Tokens
entities/
Token/logic/make
Duration
Tokens
entities/
Token/logic/make
Easing
Tokens
entities/
Token/logic/make
Font
Size
Tokens
entities/
Token/logic/make
Font
Tokens
entities/
Token/logic/make
Font
Weight
Tokens
entities/
Token/logic/make
Letter
Spacing
Tokens
entities/
Token/logic/make
Line
Height
Tokens
entities/
Token/logic/make
Media
Query
Tokens
entities/
Token/logic/make
Opacity
Tokens
entities/
Token/logic/make
Radius
Tokens
entities/
Token/logic/make
Shadow
Tokens
entities/
Token/logic/make
Spacing
Tokens
entities/
Token/logic/make
Zindex
Tokens
frameworks/errors/errors
frameworks/filesystem/check
If
Exists
frameworks/filesystem/create
Folder
frameworks/filesystem/create
Missing
Folders
From
Path
frameworks/filesystem/get
Data
Helpers
frameworks/filesystem/get
File
Content
And
Path
frameworks/filesystem/get
Svg
File
Data
frameworks/filesystem/is
Json
String
frameworks/filesystem/load
File
frameworks/filesystem/prep
File
frameworks/filesystem/prepare
Write
frameworks/filesystem/refresh
frameworks/filesystem/write
frameworks/filesystem/write
Base
Json
frameworks/filesystem/write
File
frameworks/messages/messages
frameworks/network/download
File
frameworks/network/get
Data
frameworks/network/get
Data
Local
frameworks/network/get
Data
Remote
frameworks/network/get
From
Api
frameworks/network/request
frameworks/string/calculate
Degree2
Point
frameworks/string/check
If
String
Only
Contains
Returns
Or
Spaces
frameworks/string/clean
Svg
Data
frameworks/string/convert
Hex
To
Rgba
frameworks/string/convert
Rgba
To
Hex
frameworks/string/create
Enum
String
Out
Of
Object
frameworks/string/create
Import
String
From
List
frameworks/string/create
Linear
Gradient
String
frameworks/string/create
Radial
Gradient
String
frameworks/string/create
Solid
Color
String
frameworks/string/get
Alpha
In
Percent
frameworks/string/get
Figma
Document
Id
frameworks/string/get
Id
frameworks/string/normalize
Units
frameworks/string/remove
All
Ids
frameworks/string/replace
Media
Query
frameworks/string/round
Color
Value
frameworks/string/round
Number
frameworks/string/sanitize
String
frameworks/string/to
Pascal
Case
frameworks/system/accepted
File
Types
frameworks/system/accepted
Token
Types
frameworks/system/check
If
Void
Element
frameworks/system/colors
frameworks/system/config
To
Init
frameworks/system/ignore
Elements
Keywords
frameworks/system/load
Env
frameworks/system/validator
Lists
usecases/create
Elements
usecases/create
Graphics
usecases/create
Tokens
usecases/interactors/common/create
Page
usecases/interactors/elements/process
Elements
usecases/interactors/elements/process
Graphic
Elements
Map
usecases/interactors/elements/write
Elements
usecases/interactors/elements/write
Graphic
Elements
Map
usecases/interactors/graphics/get
File
List
usecases/interactors/graphics/get
Id
String
usecases/interactors/graphics/get
Ids
usecases/interactors/graphics/process
Graphics
usecases/interactors/graphics/write
Graphics
usecases/interactors/tokens/process
Tokens
usecases/interactors/tokens/write
Tokens
File
Content
With
Path
Get
File
Data
Operation
Write
Operation
Generated using
TypeDoc