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.
@@ -13,7 +13,7 @@
13
13
  {
14
14
  "name": "figmatk",
15
15
  "description": "Swiss Army Knife for Figma Files (.deck)",
16
- "version": "0.0.12",
16
+ "version": "0.0.13",
17
17
  "author": {
18
18
  "name": "FigmaTK Contributors"
19
19
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "figmatk",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Create and edit Figma Slides .deck files programmatically — no Figma API required",
5
5
  "author": {
6
6
  "name": "FigmaTK Contributors"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "figmatk",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Figma Toolkit — Swiss-army knife CLI for Figma .deck and .fig files",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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.12"
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
- ### Named colors for `setBackground()`
105
+ ### Colors for `setBackground()`
106
106
 
107
- > **Case-sensitive.** `'Black'` works, `'black'` does not.
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
- Use `'Black'` for dark backgrounds, `'White'` for light. For custom slide backgrounds, use the closest named color — **not hex**.
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