figmatk 0.2.3 → 0.2.5
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/lib/api.mjs
CHANGED
|
@@ -821,7 +821,8 @@ export class Slide {
|
|
|
821
821
|
name: opts.name ?? 'Text',
|
|
822
822
|
visible: true,
|
|
823
823
|
opacity: 1,
|
|
824
|
-
size: { x: opts.width ?? 1200, y: 50 },
|
|
824
|
+
size: { x: opts.width ?? 1200, y: opts.height ?? 50 },
|
|
825
|
+
textAutoResize: opts.height ? 'NONE' : 'HEIGHT',
|
|
825
826
|
transform: {
|
|
826
827
|
m00: 1, m01: 0, m02: opts.x ?? 128,
|
|
827
828
|
m10: 0, m11: 1, m12: opts.y ?? 128,
|
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.2.
|
|
9
|
+
version: "0.2.5"
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# Figma Slides Creator
|
|
@@ -280,6 +280,8 @@ Every slide needs at least **one visual element** — shape, image, SVG, or tabl
|
|
|
280
280
|
- Left-align body text. Centre only titles on title/closing slides.
|
|
281
281
|
- Minimum 64px margin from slide edges. 24–48px between content blocks.
|
|
282
282
|
- Use `Header 2` or `Header 3` for slide titles on content slides (not `Title` — that's for the title slide only).
|
|
283
|
+
- **Body text: max 2 sentences per text block.** Text boxes have fixed heights — overflow gets clipped. If you have more to say, use a bullet list or split across slides.
|
|
284
|
+
- **Bullets: max 6 items, max 8 words per bullet.** Longer bullets wrap and push content off-slide.
|
|
283
285
|
|
|
284
286
|
### Never do
|
|
285
287
|
|
|
@@ -289,6 +291,7 @@ Every slide needs at least **one visual element** — shape, image, SVG, or tabl
|
|
|
289
291
|
- Text-only slides
|
|
290
292
|
- Low-contrast text against background
|
|
291
293
|
- Skip the closing slide — it makes the deck feel unfinished
|
|
294
|
+
- Put long paragraphs in body/caption fields — text overflows the container
|
|
292
295
|
|
|
293
296
|
---
|
|
294
297
|
|