feat(island): v6 compositions — list rows, page header, section title, pinned footer, result panel, stat tile, meter, search field, avatar stack, timeline, code input, key-value, analyst card; new chips, segmented, avatar sizes, toast placement, account menu items, post and prediction card names and close reason
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 13:38:43 +00:00
|
|
|
import { cva } from 'class-variance-authority';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The page's h1: `md` 22/36/700 (DS default: desktop pages, in-page titles), `sm` 18/30/600 (a
|
|
|
|
|
* compact title, such as on mobile under a tab bar).
|
|
|
|
|
*/
|
|
|
|
|
export const pageHeaderTitleVariants = cva('m-0 min-w-0', {
|
|
|
|
|
variants: {
|
|
|
|
|
size: {
|
|
|
|
|
md: 'text-[1.375rem] leading-9 font-bold',
|
feat(island,tools): share popover, 360 sheet popover, form section and avatar field options, switch frozen track, prediction card link, select, list row, tab links and info tip options, body-compact and stat type tokens, button document reload, list formatting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 15:34:24 +00:00
|
|
|
sm: 'text-body-lg leading-7.5 font-semibold',
|
feat(island): v6 compositions — list rows, page header, section title, pinned footer, result panel, stat tile, meter, search field, avatar stack, timeline, code input, key-value, analyst card; new chips, segmented, avatar sizes, toast placement, account menu items, post and prediction card names and close reason
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 13:38:43 +00:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
defaultVariants: { size: 'md' },
|
|
|
|
|
});
|