Area
Theme and zoom
Host themes, forced white/cream/dark modes, high contrast, zoom 70-200 %
3 use cases · 7 behaviours · 87.5% linked to code and tests
Use cases
Each stop is a use case; open one to see how it is split into behaviours.
- StRS-MDOKFSTUDIO-THEME-002A reader chooses a preview theme that paints the whole page readablyI click one Theme button to go through Current, Dark, White and Cream, and I can tell from the icon, the label and the tooltip which theme I am in and which one the next click gives; the preview follows the colours of my VS Code theme in Current mode, every part of the page uses the palette of Dark, White or Cream with no leftover dark bar over a white page, I read Cream without straining, and I see no animation when my system asks for reduced motion. As a maintainer, I can give the preview the palette of another host by mapping one list of named colours.
- StRS-MDOKFSTUDIO-THEME-004The theme choice holds for the workspace and survives slow loads and bad valuesI pick a theme once and every preview of this workspace opens in it afterwards, also after a window reload; when I open the preview for the first time in a workspace, I see a calm warm paper page without having to find the Theme button, whatever my VS Code theme is; I open or restore a preview on a slow machine and still see it in the colours of my current VS Code theme, not in stale ones; and I never get a broken or unreadable preview because a stored theme setting is damaged.
- StRS-MDOKFSTUDIO-THEME-011A reader zooms the text and the column and keeps the zoomI enlarge or shrink the text with two buttons, the column grows or shrinks with it, I always see the zoom the next click gives, and I stay on the text I was reading; I set the text size once and the previews of this workspace open at that size, also after reloading the window or closing and reopening the preview.