forked from MapComplete/MapComplete
		
	Themes: add 'lock' and 'key' icon to toilets, fix #2094
This commit is contained in:
		
							parent
							
								
									1485ea9d36
								
							
						
					
					
						commit
						577b596e7a
					
				
					 3 changed files with 26 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -39,6 +39,8 @@
 | 
			
		|||
  import Gear from "../../assets/svg/Gear.svelte"
 | 
			
		||||
  import { DesktopComputerIcon, UserCircleIcon } from "@rgossiaux/svelte-heroicons/solid"
 | 
			
		||||
  import Relocation from "../../assets/svg/Relocation.svelte"
 | 
			
		||||
  import LockClosed from "@babeard/svelte-heroicons/solid/LockClosed"
 | 
			
		||||
  import Key from "@babeard/svelte-heroicons/solid/Key"
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * Renders a single icon.
 | 
			
		||||
| 
						 | 
				
			
			@ -146,6 +148,10 @@
 | 
			
		|||
    <PencilIcon class={clss} {color} />
 | 
			
		||||
  {:else if icon === "user_circle"}
 | 
			
		||||
    <UserCircleIcon class={clss} {color} />
 | 
			
		||||
  {:else if icon === "lock"}
 | 
			
		||||
    <LockClosed class={clss} {color} />
 | 
			
		||||
  {:else if icon === "key"}
 | 
			
		||||
    <Key class={clss} {color} />
 | 
			
		||||
  {:else if Utils.isEmoji(icon)}
 | 
			
		||||
    <span style={`font-size: ${emojiHeight}; line-height: ${emojiHeight}`}>
 | 
			
		||||
      {icon}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue