feat: Add labels to theme groups (#867)
This commit is contained in:
		
							parent
							
								
									5bb48e89e2
								
							
						
					
					
						commit
						d7aaec16d3
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -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}"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue