No notes defined.
<svg width="29" height="24" viewBox="0 0 29 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.0879 0.879089C15.8455 0.883346 17.741 0.901789 19.7556 0.982658L20.4706 1.01387C22.498 1.10893 24.524 1.2735 25.5299 1.553C26.8706 1.93038 27.9234 3.0285 28.2795 4.42171C28.847 6.63497 28.9179 10.9508 28.9264 11.9964L28.9278 12.2121V12.4589C28.9179 13.5046 28.847 17.8218 28.2795 20.0337C27.9191 21.4311 26.865 22.5307 25.5299 22.9024C24.524 23.1819 22.498 23.3465 20.4706 23.4415L19.7556 23.4741C17.741 23.5536 15.8455 23.5735 15.0879 23.5763L14.7545 23.5777H14.3927C12.7895 23.5678 6.0845 23.4954 3.95069 22.9024C2.61139 22.525 1.55726 21.4269 1.20115 20.0337C0.633649 17.8204 0.562712 13.5046 0.554199 12.4589V11.9964C0.562712 10.9508 0.633649 6.63355 1.20115 4.42171C1.56151 3.02424 2.61565 1.92471 3.95211 1.55442C6.0845 0.959958 12.7909 0.887602 14.3941 0.879089H15.0879ZM11.9028 7.26348V17.1947L20.4153 12.2291L11.9028 7.26348Z" fill="black" />
</svg>
<svg width="29" height="24" viewBox="0 0 29 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M15.0879 0.879089C15.8455 0.883346 17.741 0.901789 19.7556 0.982658L20.4706 1.01387C22.498 1.10893 24.524 1.2735 25.5299 1.553C26.8706 1.93038 27.9234 3.0285 28.2795 4.42171C28.847 6.63497 28.9179 10.9508 28.9264 11.9964L28.9278 12.2121V12.4589C28.9179 13.5046 28.847 17.8218 28.2795 20.0337C27.9191 21.4311 26.865 22.5307 25.5299 22.9024C24.524 23.1819 22.498 23.3465 20.4706 23.4415L19.7556 23.4741C17.741 23.5536 15.8455 23.5735 15.0879 23.5763L14.7545 23.5777H14.3927C12.7895 23.5678 6.0845 23.4954 3.95069 22.9024C2.61139 22.525 1.55726 21.4269 1.20115 20.0337C0.633649 17.8204 0.562712 13.5046 0.554199 12.4589V11.9964C0.562712 10.9508 0.633649 6.63355 1.20115 4.42171C1.56151 3.02424 2.61565 1.92471 3.95211 1.55442C6.0845 0.959958 12.7909 0.887602 14.3941 0.879089H15.0879ZM11.9028 7.26348V17.1947L20.4153 12.2291L11.9028 7.26348Z"
fill="{{ fill ?: 'black' }}"/>
</svg>
// 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;
}
}
}
}
}
}