oficina / slides Public

Editor: a shape's swatches show what the slide draws; one row

A shape that sets no fill is drawn with none and one that sets no
stroke in the theme's ink, but the card's colour inputs showed both as
solid black. The Fill swatch is now struck through when there is no
fill, and the Stroke swatch shows the slide's ink when there is no
stroke. Nothing is written until a colour is picked. No existing
string says "none" for a fill, so the swatch keeps its field's label
only; the line is the cue.

Fill and Stroke now take their own width and Stroke width the rest of
the row, so its label no longer wraps and its field lines up with the
swatches.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev dd057ab670655d808bff1eb6f59487680c1f55cf parent 482c611
7 files changed, +114 −19
  • fixtures/inspector-block.mjs +10 −1
  • fixtures/inspector.mjs +1 −1
  • fixtures/inspector.test.mjs +26 −0
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/static/{editor.7e6f04f973b047b7.js => editor.60387735b6eedd9f.js} +16 −16
  • internal/slides/static/editor.css +17 −0
  • internal/slidestest/browser_quieter_test.go +43 −0
fixtures/inspector-block.mjs

Loading diff…

fixtures/inspector.mjs

Loading diff…

fixtures/inspector.test.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/static/{editor.7e6f04f973b047b7.js => editor.60387735b6eedd9f.js}

Loading diff…

internal/slides/static/editor.css

Loading diff…

internal/slidestest/browser_quieter_test.go

Loading diff…