figmatk 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ description: >
|
|
|
6
6
|
clone or remove slides, or produce a .deck file for Figma Slides.
|
|
7
7
|
Powered by FigmaTK under the hood.
|
|
8
8
|
metadata:
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.13"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# FigmaTK Skill
|
|
@@ -102,13 +102,17 @@ function hex(h) {
|
|
|
102
102
|
| `Body 3` | 24pt | Regular | Captions, labels |
|
|
103
103
|
| `Note` | 20pt | Regular | Footnotes, sources |
|
|
104
104
|
|
|
105
|
-
###
|
|
105
|
+
### Colors for `setBackground()`
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
Accepts named colors, hex strings, or designer aliases — **when using figmatk 0.0.12+ from the workspace install**.
|
|
108
|
+
|
|
109
|
+
**Named colors** (case-sensitive, from the Light Slides theme):
|
|
108
110
|
|
|
109
111
|
`'Black'`, `'White'`, `'Grey'`, `'Blue'`, `'Red'`, `'Yellow'`, `'Green'`, `'Orange'`, `'Pink'`, `'Purple'`, `'Teal'`, `'Violet'`, `'Persimmon'`, `'Pale Pink'`, `'Pale Blue'`, `'Pale Green'`, `'Pale Teal'`, `'Pale Purple'`, `'Pale Persimmon'`, `'Pale Violet'`, `'Pale Red'`, `'Pale Yellow'`
|
|
110
112
|
|
|
111
|
-
|
|
113
|
+
**Hex strings** (0.0.12+): `slide.setBackground('#C8102E')`
|
|
114
|
+
|
|
115
|
+
**Designer aliases** (0.0.12+): `slide.setBackground('navy')`, `slide.setBackground('coral')`, `slide.setBackground('terracotta')` etc.
|
|
112
116
|
|
|
113
117
|
### Slide dimensions
|
|
114
118
|
|