style(options): double swatch height, hex label full swatch width

Owner request (row 121): the swatches were fine after the caching fix, but make
them double as high (1.6rem -> 3.2rem) and the hexcode label below each swatch
as large as the swatch — the label now spans the full swatch width (width:100%)
at font-size 1rem (was 0.65rem, easy to miss). Styles live in the inline
<style> block of options/options.twig (options-page-only UI). No options.js
change, token stays 20261126.3. jsdom test asserts the new sizes against the
rendered inline style; suite 6/6, export 0. Variants not rebuilt (deferred).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-26 14:23:36 +01:00
commit a9e79512ce

View file

@ -130,7 +130,7 @@
}
.color-chip {
width: 100%;
height: 1.6rem;
height: 3.2rem;
padding: 0;
border: 1px solid rgba(0, 0, 0, 0.35);
border-radius: 0.25rem;
@ -146,7 +146,8 @@
outline-offset: 1px;
}
.color-chip-label {
font-size: 0.65rem;
width: 100%;
font-size: 1rem;
color: #6c757d;
text-align: center;
white-space: nowrap;