added scss for non-icon svg, unused but available

This commit is contained in:
Adam Piontek 2021-07-26 11:06:26 -04:00
parent 028efdcc67
commit 86c74cfbcf

View file

@ -2,21 +2,26 @@
SVG ICON SYSTEM SVG ICON SYSTEM
per https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 per https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
*/ */
.icon { .icon {
display: inline-flex; display: inline-flex;
align-self: center; align-self: center;
} }
.icon svg, .icon svg,
.icon img { .icon img {
height: 1em; height: 1em;
width: 1em; width: 1em;
fill: currentColor;
}
.icon.baseline svg,
.icon img {
top: 0.15em;
position: relative;
}
svg {
&.img {
fill: currentColor; fill: currentColor;
} }
}
.icon.baseline svg,
.icon img {
top: 0.15em;
position: relative;
}