frameboard 0.10.0 → 0.11.0

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/README.md CHANGED
@@ -14,7 +14,7 @@ A local design board that coding agents draw on as plain HTML files, and you rev
14
14
  npx frameboard serve
15
15
  ```
16
16
 
17
- In a folder with no board above it, `serve` creates `.frameboard/` there with one empty project, then opens it at `http://127.0.0.1:4173` in a tab that can edit. A tab you open on that address yourself only reads, so run `frameboard open` for another that edits.
17
+ In a folder with no board above it, `serve` creates `.frameboard/` there with one empty project and opens it at `http://127.0.0.1:4173` in a tab that can edit, where a first page asks for a project name, a screen size, and a look. A tab you open on that address yourself only reads, so run `frameboard open` for another that edits.
18
18
 
19
19
  Install it with `npm install -g frameboard` or `bun add -g frameboard`.
20
20
 
@@ -39,6 +39,7 @@ A board folder holds projects, a project holds pages, and a page holds frames.
39
39
  Frames share one look through a `tokens.css` in the board folder, which a project's own `tokens.css` overrides.
40
40
 
41
41
  - `serve --tokens <path>` takes a sheet another tool manages instead
42
+ - `project tokens <project> --accent <preset> --font <face>` writes a starter sheet where no sheet reaches the project, and refuses where one does
42
43
  - The server puts the sheets and three faces, Geist, Geist Mono, and Caveat, ahead of each frame's own styles as it serves the frame
43
44
  - The file on disk stays as written
44
45
  - One toggle switches the board and every frame between light and dark
@@ -50,7 +51,7 @@ Frames share one look through a `tokens.css` in the board folder, which a projec
50
51
  The `project`, `page`, and `frame` commands manage the board on disk, and `list` shows it.
51
52
 
52
53
  - `edit` changes one style, attribute, or text on one element without touching another byte
53
- - `show` points the open board at a frame, and `capture` writes PNGs of a frame or page in either theme
54
+ - `show` points the open board at a frame, or offers Go while you are mid-action or it sits in another project, and `capture` writes PNGs of a frame or page in either theme
54
55
  - `frame add` with no size makes a frame that hugs its content, which a running server measures after each write, and `frame fit` sets a height to its content and keeps it hugging
55
56
  - `inspect` lists each rendered element with the index `edit` takes, its box, and its computed color and type
56
57
  - `frameboard docs` prints every command, flag, record shape, and exit code
@@ -105,9 +106,9 @@ Pin a note on a frame or one element with the Note tool, and Send hands it to a
105
106
 
106
107
  ### Hand edits
107
108
 
108
- In the board you move and resize frames, Alt-drag one to drop a copy, and hold Space to pan with any tool. You add, rename, reorder, delete, and search pages, and add a frame at a phone, tablet, or desktop size with the Frame tool.
109
+ In the board you move and resize frames, Alt-drag one to drop a copy, and hold Space to pan with any tool. You add, rename, reorder, delete, and search pages, and add a frame at a phone, tablet, or desktop size with the Frame tool. The inspector's Preview row redraws a frame at another width to watch it reflow, and writes nothing.
109
110
 
110
- - On the home view, New project adds a project, and a card's right-click menu opens, renames, duplicates, or deletes one
111
+ - On the home view, New project adds a project, a card's right-click menu opens, renames, duplicates, pins, or deletes one, and Sort orders them by last edited, created, or name
111
112
  - The inspector edits a selected element's name, opacity, radius, type size, weight, alignment, fill, stroke color, shadow, and text, its numbers stepping on arrow keys and scrubbing from their label
112
113
  - The layers panel selects, renames, restacks, hides, and locks frames, renames elements, and Cmd+D, Cmd+C, Cmd+X, and Cmd+V duplicate, copy, cut, and paste them across pages and projects
113
114
  - Cmd+F finds a frame, an element, or a line of copy on any page of the project and jumps to it