{# @description One button that steps through the light theme, the dark theme and automatic, which follows the visitor's device. Moves between theme.default and theme.dark, whatever theme.choices says. #} {# @prop size:select['sm','md','lg'] | default:"sm" | description:"Button size." #} {% load i18n %} {% comment %} One label per step, and the guard in mvp/base.html marks the step on before first paint, so the right one shows without waiting for a script. data-theme-mode is "dark" or "auto", and absent on the light step. {% endcomment %}