From 86c74cfbcf49d4bc02a399c5a721b4d9adb271f2 Mon Sep 17 00:00:00 2001 From: Adam Piontek Date: Mon, 26 Jul 2021 11:06:26 -0400 Subject: [PATCH] added scss for non-icon svg, unused but available --- assets/css/_svg-icons.scss | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/assets/css/_svg-icons.scss b/assets/css/_svg-icons.scss index 8ac5087..b5f0f30 100644 --- a/assets/css/_svg-icons.scss +++ b/assets/css/_svg-icons.scss @@ -2,21 +2,26 @@ SVG ICON SYSTEM per https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 */ - .icon { - display: inline-flex; - align-self: center; - } - - .icon svg, - .icon img { - height: 1em; - width: 1em; +.icon { + display: inline-flex; + align-self: center; +} + +.icon svg, +.icon img { + height: 1em; + width: 1em; + fill: currentColor; +} + +.icon.baseline svg, +.icon img { + top: 0.15em; + position: relative; +} + +svg { + &.img { fill: currentColor; } - - .icon.baseline svg, - .icon img { - top: 0.15em; - position: relative; - } - \ No newline at end of file +}