feat: Add labels to theme groups (#867)

This commit is contained in:
Nathan Minchow 2019-01-12 11:50:17 -06:00 committed by Nolan Lawson
parent 5bb48e89e2
commit d7aaec16d3

View file

@ -2,6 +2,11 @@
<div class="theme-groups"> <div class="theme-groups">
{#each themeGroups as themeGroup} {#each themeGroups as themeGroup}
<div class="theme-group"> <div class="theme-group">
{#if themeGroup.dark}
<h2>Dark Background</h2>
{:else}
<h2>Light Background</h2>
{/if}
{#each themeGroup.themes as theme} {#each themeGroup.themes as theme}
<div class="theme-picker"> <div class="theme-picker">
<input type="radio" id="choice-theme-{theme.name}" <input type="radio" id="choice-theme-{theme.name}"