Use SVG icons from global symbols

Allow to change color and avoid code duplication
This commit is contained in:
2021-11-10 22:57:50 +01:00
parent f1be0b719e
commit 73c9e80a21
20 changed files with 90 additions and 52 deletions

View File

@@ -4,6 +4,7 @@
import { setContext } from 'svelte'
import '$utils/polyfills'
// Components
import SVGSprite from '$components/SVGSprite.svelte'
import Switcher from '$components/molecules/Switcher.svelte'
import Footer from '$components/organisms/Footer.svelte'
@@ -25,6 +26,8 @@
<Footer />
{/if}
<SVGSprite />
<script context="module" lang="ts">
import { fetchAPI } from '$utils/api'