No notes defined.

<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M5.64859 3.49707C5.64825 4.17748 5.37763 4.8299 4.89626 5.31078C4.4149 5.79167 3.76222 6.06163 3.0818 6.06129C2.40139 6.06095 1.74898 5.79033 1.26809 5.30897C0.787205 4.8276 0.517238 4.17492 0.517578 3.49451C0.517919 2.81409 0.788538 2.16168 1.2699 1.68079C1.75127 1.19991 2.40395 0.929943 3.08437 0.930283C3.76478 0.930623 4.41719 1.20124 4.89808 1.68261C5.37896 2.16398 5.64893 2.81666 5.64859 3.49707ZM5.72555 7.96105H0.594544V24.0211H5.72555V7.96105ZM13.8326 7.96105H8.7272V24.0211H13.7812V15.5934C13.7812 10.8986 19.9 10.4624 19.9 15.5934V24.0211H24.9668V13.8489C24.9668 5.9343 15.9106 6.22933 13.7812 10.1161L13.8326 7.96105Z" fill="black" />
</svg>
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
	<path
			d="M5.64859 3.49707C5.64825 4.17748 5.37763 4.8299 4.89626 5.31078C4.4149 5.79167 3.76222 6.06163 3.0818 6.06129C2.40139 6.06095 1.74898 5.79033 1.26809 5.30897C0.787205 4.8276 0.517238 4.17492 0.517578 3.49451C0.517919 2.81409 0.788538 2.16168 1.2699 1.68079C1.75127 1.19991 2.40395 0.929943 3.08437 0.930283C3.76478 0.930623 4.41719 1.20124 4.89808 1.68261C5.37896 2.16398 5.64893 2.81666 5.64859 3.49707ZM5.72555 7.96105H0.594544V24.0211H5.72555V7.96105ZM13.8326 7.96105H8.7272V24.0211H13.7812V15.5934C13.7812 10.8986 19.9 10.4624 19.9 15.5934V24.0211H24.9668V13.8489C24.9668 5.9343 15.9106 6.22933 13.7812 10.1161L13.8326 7.96105Z"
			fill="{{ fill ?: 'black' }}"/>
</svg>
  • Content:
    // add icons to this array with their filename and type,
    // the loop at the bottom of the file will create classes for them
    
    $icons: (
    	//'facebook': 'svg',
    	//'instagram': 'svg',
    	//'twitter': 'svg',
    	//'linkedin': 'svg',
    	//'youtube': 'svg',
    	//'external-primary': 'svg',
    	//'phone': 'svg',
    	//'mail': 'svg',
    	//'pin': 'svg',
    );
    
    .icon {
    	position: relative;
    	display: inline-block;
    	width: 1em;
    	height: 1em;
    	text-align: center;
    	background-size: contain;
    	background-position: center center;
    	background-repeat: no-repeat;
    	vertical-align: baseline;
    	top: 0.1em;
    
    	svg,
    	img {
    		display: block;
    		width: 100%;
    		max-height: 100%;
    		vertical-align: middle;
    	}
    
    	svg {
    		height: 100%;
    		//fill: #000;
    	}
    
    	&:before {
    		font-size: 1em;
    		display: inline-block;
    	}
    
    	@each $name, $extension in $icons {
    		&--#{$name} {
    			background-image: url('../img/icon-#{$name}.#{$extension}');
    		}
    	}
    
    	// Layout
    
    	&--margin-before {
    		margin-inline-start: 0.35em;
    	}
    
    	&--margin-after {
    		margin-inline-end: 0.35em;
    	}
    
    	// Themes
    
    	&--primary {
    		svg, path {
    			fill: $primary !important;
    		}
    	}
    
    	&--secondary {
    		svg, path {
    			fill: $secondary !important;
    		}
    	}
    
    	&--tertiary {
    		svg, path {
    			fill: $tertiary !important;
    		}
    	}
    
    	// Variant generator
    	// (see loop at top)
    
    	//@each $name, $extension in $icons {
    	//	&--#{$name} {
    	//		background-image: url('../img/icon-#{$name}.#{$extension}');
    	//	}
    	//}
    
    	// Special
    
    	@at-root {
    		a, button {
    			&:where(:has(.svgHeart)) {
    				path {
    					fill: rgba(white, 0);
    					stroke-width: 2;
    					stroke: $grey;
    					transition: all 100ms;
    				}
    
    				&:hover, &:focus {
    					path {
    						fill: rgba($pink, 0.5);
    						stroke-width: 0;
    					}
    				}
    
    				&:active {
    					path {
    						fill: $pink;
    						stroke-width: 0;
    					}
    				}
    			}
    
    			&:where(:has(.svgHeart--filled)) {
    				path {
    					transition: all 100ms;
    				}
    
    				&:hover, &:focus {
    					path {
    						fill: rgba($pink, 0.5);
    						stroke-width: 0;
    					}
    				}
    
    				&:active {
    					path {
    						fill: rgba(white, 0);
    						stroke-width: 2;
    					}
    				}
    			}
    		}
    	}
    }
    
  • URL: /components/raw/icon/_icons.scss
  • Filesystem Path: web/themes/custom/um-ssw/components/icon/_icons.scss
  • Size: 2.1 KB