design/ holds the tokens for all six themes, the type scale, spacing, radii and sizes, the brand and usage guidelines, a guide and static preview for each component, the logo and icons as SVG, and wireframes of the tablet and foldable column layout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RhmDdrN5hgWrgRcFLAMsV6
626 B
626 B
SettingToggle
A setting with a one-line explanation and a Material Switch.
- Consumer provides: a title, a note and the checked state.
- Title in
body-large/on-surface; the note under it inbody-small/on-surface-variant; the Switch at the end.space-12above each toggle. - The note says what the setting does and when it applies ("Applies to the dark themes; saves power on OLED screens"). Put a toggle beside the choice it modifies — OLED sits right under the theme chips.
- Switch on:
primarytrack,on-primarythumb. Off:surface-container-highesttrack with anoutlineborder and thumb.