diff --git a/web/sections/LayoutPanel.tsx b/web/sections/LayoutPanel.tsx index c01f003..3a2fdd5 100644 --- a/web/sections/LayoutPanel.tsx +++ b/web/sections/LayoutPanel.tsx @@ -112,6 +112,18 @@ const themeProperties = (draft: Layout): Record => ({ /** Every section, open from the start. The values below must match the AccordionItems. */ const SECTIONS_OPEN = ['colours', 'typefaces', 'padding']; +/** + * A section's title. + * + * It was `text-xs`, the same size as the labels under it, so the three headings read as one more row + * of form furniture. They are the structure of the column — everything else is a field inside one of + * them — and a heading that does not outrank its own contents is not a heading. + * + * Bigger and heavier rather than uppercase or coloured: the panel is dense, and weight is the one + * signal that survives at this size without adding a second thing to look at. + */ +const SECTION_TITLE = 'text-sm font-semibold tracking-wide'; + const COLOURS = [ { key: 'background' as const, label: 'Background', fallback: '#ffffff' }, { key: 'foreground' as const, label: 'Text', fallback: '#000000' }, @@ -258,7 +270,7 @@ export const LayoutPanel = () => { */ - Colors + Colors <>
@@ -293,7 +305,7 @@ export const LayoutPanel = () => { - Fonts + Fonts <> {/* @@ -338,7 +350,7 @@ export const LayoutPanel = () => { - Spacing + Spacing {/* Three bands. PaddingTab is still the per-SECTION control, for the pages. */}