useAppUi
Switches between the VueTail presets (Ink, Pine, Console) by setting data-vt-preset on the html element, remembers the choice, and loads each preset's fonts on first use.
Install: pnpm add-composable useAppUi
Preset switching
Requires src/theme.ts, which names the default preset and how Pine and Console load their fonts. Light and dark are separate: use useTheme for those.
API
preset(Ref<Preset>): The active preset. Ink carries no attribute; Pine and Console set data-vt-preset.presets(readonly Preset[]): Every preset, in display order.setPreset((value: Preset) => void): Switch preset. Stored in localStorage under app-preset unless it is the default.reset(() => void): Return to the default preset from src/theme.ts and forget the stored choice.