pub fn demo_theme_for(theme: Theme) -> ThemeExpand description
The same, for a demonstration that has a theme of its own to start from.
A sample whose design is one particular design system in one particular colour scheme says so, and that declaration is the sample. But the machine it is being looked at on can only draw one of the seven at a time, so without a way to point it somewhere else the other six are never seen. This keeps the sample’s own theme as the answer and lets the two variables override the part they name, so what is on screen is either the design the sample chose or exactly the one that was asked for.