-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new and old build with updated api docs
- Loading branch information
Showing
110 changed files
with
5,026 additions
and
3,951 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
docs/api/theemo.token.category.md → docs/api/theemo.basetoken.category.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
docs/api/theemo.token.colorscheme.md → docs/api/theemo.basetoken.colorscheme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.basetoken.description | ||
title: BaseToken.description property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [BaseToken](./theemo.basetoken.md) > [description](./theemo.basetoken.description.md) | ||
|
||
## BaseToken.description property | ||
|
||
The description for the token | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
description?: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
id: theemo.basetoken | ||
title: BaseToken | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [BaseToken](./theemo.basetoken.md) | ||
|
||
## BaseToken interface | ||
|
||
The base token, with all properties shared amongst various token types used throughout theemo. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface BaseToken | ||
``` | ||
|
||
## Remarks | ||
|
||
That is, figma is subclassing this with its own token and specific figma-related properties. | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [category](./theemo.basetoken.category.md) | <code>string</code> | The category helps token manager tools to generate the respective value in the appropriate format. | | ||
| [colorScheme](./theemo.basetoken.colorscheme.md) | <code>string</code> | Indicates the color scheme, to which the token belongs | | ||
| [description](./theemo.basetoken.description.md) | <code>string</code> | The description for the token | | ||
| [name](./theemo.basetoken.name.md) | <code>string</code> | The tokens name | | ||
| [reference](./theemo.basetoken.reference.md) | <code>string</code> | The name of the reference this token points to | | ||
| [type](./theemo.basetoken.type.md) | <code>TokenType</code> | The type describes the usage level of a token | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.basetoken.name | ||
title: BaseToken.name property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [BaseToken](./theemo.basetoken.md) > [name](./theemo.basetoken.name.md) | ||
|
||
## BaseToken.name property | ||
|
||
The tokens name | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
name: string; | ||
``` |
8 changes: 4 additions & 4 deletions
8
docs/api/theemo.token.reference.md → docs/api/theemo.basetoken.reference.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
docs/api/theemo.token.type.md → docs/api/theemo.basetoken.type.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
id: theemo.buildertool.build | ||
title: BuilderTool.build() method | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [BuilderTool](./theemo.buildertool.md) > [build](./theemo.buildertool.build.md) | ||
|
||
## BuilderTool.build() method | ||
|
||
Executes the build of the tool | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
build(): void; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`void` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
id: theemo.buildertool | ||
title: BuilderTool | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [BuilderTool](./theemo.buildertool.md) | ||
|
||
## BuilderTool interface | ||
|
||
This is for tools used during the `build` command and trigger the execution of that tool. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface BuilderTool | ||
``` | ||
|
||
## Example | ||
|
||
Style Dictionary may be your builder tool and executes the build process | ||
|
||
## Methods | ||
|
||
| Method | Description | | ||
| --- | --- | | ||
| [build()](./theemo.buildertool.build.md) | Executes the build of the tool | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.figmareaderconfig.figmafile | ||
title: FigmaReaderConfig.figmaFile property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [FigmaReaderConfig](./theemo.figmareaderconfig.md) > [figmaFile](./theemo.figmareaderconfig.figmafile.md) | ||
|
||
## FigmaReaderConfig.figmaFile property | ||
|
||
The URL for the figma file, get it though ENV | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
figmaFile: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.figmareaderconfig.figmasecret | ||
title: FigmaReaderConfig.figmaSecret property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [FigmaReaderConfig](./theemo.figmareaderconfig.md) > [figmaSecret](./theemo.figmareaderconfig.figmasecret.md) | ||
|
||
## FigmaReaderConfig.figmaSecret property | ||
|
||
The secret for the figma file, get it though ENV | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
figmaSecret: string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.figmareaderconfig.getnamefromtext | ||
title: FigmaReaderConfig.getNameFromText property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [FigmaReaderConfig](./theemo.figmareaderconfig.md) > [getNameFromText](./theemo.figmareaderconfig.getnamefromtext.md) | ||
|
||
## FigmaReaderConfig.getNameFromText property | ||
|
||
To retrieve the name for a token from a `Node` | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getNameFromText?: (node: Node<'TEXT'>) => string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.figmareaderconfig.getvaluefromtext | ||
title: FigmaReaderConfig.getValueFromText property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [FigmaReaderConfig](./theemo.figmareaderconfig.md) > [getValueFromText](./theemo.figmareaderconfig.getvaluefromtext.md) | ||
|
||
## FigmaReaderConfig.getValueFromText property | ||
|
||
To retrieve the value for a token from a `Node` | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getValueFromText?: (node: Node<'TEXT'>) => string; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.figmareaderconfig.istokenbystyle | ||
title: FigmaReaderConfig.isTokenByStyle property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [FigmaReaderConfig](./theemo.figmareaderconfig.md) > [isTokenByStyle](./theemo.figmareaderconfig.istokenbystyle.md) | ||
|
||
## FigmaReaderConfig.isTokenByStyle property | ||
|
||
This is to verify that a given `Style` node found in figmas node tree is considered to be a token or not | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
isTokenByStyle?: (style: Style) => boolean; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.figmareaderconfig.istokenbytext | ||
title: FigmaReaderConfig.isTokenByText property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [FigmaReaderConfig](./theemo.figmareaderconfig.md) > [isTokenByText](./theemo.figmareaderconfig.istokenbytext.md) | ||
|
||
## FigmaReaderConfig.isTokenByText property | ||
|
||
This is to verify that a given `Node`<!-- -->found in figmas node tree is considered to be a token or not, depending on the name of the node | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
isTokenByText?: (node: Node<'TEXT'>) => boolean; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
id: theemo.figmareaderconfig | ||
title: FigmaReaderConfig | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [FigmaReaderConfig](./theemo.figmareaderconfig.md) | ||
|
||
## FigmaReaderConfig interface | ||
|
||
Config for Figma as a `ReaderTool` | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface FigmaReaderConfig | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [figmaFile](./theemo.figmareaderconfig.figmafile.md) | <code>string</code> | The URL for the figma file, get it though ENV | | ||
| [figmaSecret](./theemo.figmareaderconfig.figmasecret.md) | <code>string</code> | The secret for the figma file, get it though ENV | | ||
| [getNameFromText](./theemo.figmareaderconfig.getnamefromtext.md) | <code>(node: Node<'TEXT'>) => string</code> | To retrieve the name for a token from a <code>Node</code> | | ||
| [getValueFromText](./theemo.figmareaderconfig.getvaluefromtext.md) | <code>(node: Node<'TEXT'>) => string</code> | To retrieve the value for a token from a <code>Node</code> | | ||
| [isTokenByStyle](./theemo.figmareaderconfig.istokenbystyle.md) | <code>(style: Style) => boolean</code> | This is to verify that a given <code>Style</code> node found in figmas node tree is considered to be a token or not | | ||
| [isTokenByText](./theemo.figmareaderconfig.istokenbytext.md) | <code>(node: Node<'TEXT'>) => boolean</code> | This is to verify that a given <code>Node</code>found in figmas node tree is considered to be a token or not, depending on the name of the node | | ||
| [referencer](./theemo.figmareaderconfig.referencer.md) | <code>FigmaReferencerConfig</code> | The config for the referencer | | ||
| [tool](./theemo.figmareaderconfig.tool.md) | <code>Tools.Figma</code> | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
id: theemo.figmareaderconfig.referencer | ||
title: FigmaReaderConfig.referencer property | ||
hide_title: true | ||
--- | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[theemo](./theemo.md) > [FigmaReaderConfig](./theemo.figmareaderconfig.md) > [referencer](./theemo.figmareaderconfig.referencer.md) | ||
|
||
## FigmaReaderConfig.referencer property | ||
|
||
The config for the referencer | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
referencer?: FigmaReferencerConfig; | ||
``` |
Oops, something went wrong.