{# @description Light/dark theme toggle. #} {# @prop size:select['sm','md','lg'] | default:"sm" | description:"Icon button / toggle size." #} {# @prop valign:select['top','bottom','left','right'] | default:"bottom" | description:"Dropdown vertical placement, used only when theme.choices is configured." #} {# @prop halign:select['start','center','end'] | default:"end" | description:"Dropdown horizontal placement, used only when theme.choices is configured." #} {# @prop compact:boolean | description:"Render the two-theme switcher as one square icon button instead of the icon/checkbox/icon row, for narrow slots. No effect when theme.choices is set, since that branch is already a square icon button." #} {% load i18n %} {% if mvp_config.theme.choices %} {% comment %} c-menu.item renders a