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;
|
fill: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon.baseline svg,
|
.icon.baseline svg,
|
||||||
.icon img {
|
.icon img {
|
||||||
top: 0.15em;
|
top: 0.15em;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
svg {
|
||||||
|
&.img {
|
||||||
|
fill: currentColor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue