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>
7 files changed,
+114
−19
fixtures/inspector-block.mjs+10 −1fixtures/inspector.mjs+1 −1fixtures/inspector.test.mjs+26 −0internal/slides/credits/assets.json+1 −1internal/slides/static/{editor.7e6f04f973b047b7.js => editor.60387735b6eedd9f.js}+16 −16internal/slides/static/editor.css+17 −0internal/slidestest/browser_quieter_test.go+43 −0
fixtures/inspector-block.mjsLoading diff…
fixtures/inspector.mjsLoading diff…
fixtures/inspector.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/{editor.7e6f04f973b047b7.js => editor.60387735b6eedd9f.js}Loading diff…
internal/slides/static/editor.cssLoading diff…
internal/slidestest/browser_quieter_test.goLoading diff…