UIP Theme Toggle

UIPThemeSwitcher - theme switcher plugin for UIPlayground.

The theme switcher can be added to the UIPlayground toolbar header or to the Settings toolbar via attribute theme-toggle.

Example 1

<uip-root>
  <div class="uip-toolbar">
    <uip-snippets></uip-snippets>
    <uip-theme-toggle></uip-theme-toggle>
  </div>
    ...
</uip-root>

Example 2

<uip-settings theme-toggle resizable collapsible>
  <uip-select-setting label="Color:" attribute="class" mode="append">
    <option value="gray-clr">Dark gray</option>
    <option value="blue-clr">Blue</option>
    <option value="purple-clr">Purple</option>
  </uip-select-setting>
</uip-settings>