0.9.1-beta.98
Beta@xaui/native@0.9.1-beta.98
Patch Changes
-
846e770: feat(agenda-calendar): the Today pill answers the variant
The four variants aimed the chosen day and nothing else, so a strip whose selected day was a soft wash sat under a pill that had kept a hard accent border — two levels of emphasis on one card, from one prop. The pill now resolves from the same
variant: outlined with the word in the accent onprimary, a soft accent fill onsecondary, a neutral one ontertiary, the bare word onghost.primaryis what the pill already looked like, so nothing moves for a caller who never set the prop.The emphasis runs the other way round from a
Button's, and on purpose:primaryoutlines rather than fills. The pill sits between two bare chevrons, and the filled accent that makes aButtonprimary would read there as the primary action of the whole card, so the accent goes on the word instead — which is where the strip's own accent already is.A raw
colorfollows the variant rather than one fixed role: the border and the word onprimary, the fill onsecondaryandtertiary, the word onghost. That isresolveTintmapping the roles the variant declared, with nothing per-variant to say about whatcolormeans.