From 139b3a252c9f90de603be1a98e3186b359353541 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 22 Dec 2021 12:36:40 +0100 Subject: chore: replace svg imports with components It allows me to control the colors of each SVG paths. --- src/components/Icons/Blog/Blog.module.scss | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/components/Icons/Blog/Blog.module.scss (limited to 'src/components/Icons/Blog/Blog.module.scss') diff --git a/src/components/Icons/Blog/Blog.module.scss b/src/components/Icons/Blog/Blog.module.scss new file mode 100644 index 0000000..d5c2639 --- /dev/null +++ b/src/components/Icons/Blog/Blog.module.scss @@ -0,0 +1,23 @@ +@use "@styles/abstracts/functions" as fun; + +.icon { + display: block; + margin: auto; + width: var(--icon-size, #{fun.convert-px(40)}); +} + +.lines { + fill: var(--color-fg); + stroke-width: 4; +} + +.picture { + fill: var(--color-primary-lighter); + stroke: var(--color-border); +} + +.background { + fill: var(--color-bg); + stroke: var(--color-border); + stroke-width: 4; +} -- cgit v1.2.3