added scss for non-icon svg, unused but available
This commit is contained in:
parent
028efdcc67
commit
86c74cfbcf
1 changed files with 21 additions and 16 deletions
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue