From 1c9d6043266c8ff9fe89885132940c2754b4cd01 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 16 Jun 2024 19:10:58 +0600 Subject: [PATCH] web/sidebar: import individual files for icons --- web/src/components/sidebar/Sidebar.svelte | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/web/src/components/sidebar/Sidebar.svelte b/web/src/components/sidebar/Sidebar.svelte index 64671620..b0a497b6 100644 --- a/web/src/components/sidebar/Sidebar.svelte +++ b/web/src/components/sidebar/Sidebar.svelte @@ -2,16 +2,15 @@ import CobaltLogo from "./CobaltLogo.svelte"; import SidebarTab from "./SidebarTab.svelte"; - import { - IconDownload, - IconCut, - IconCrop, - IconTransform, - IconSettings, - IconComet, - IconHeart, - IconInfoCircle, - } from "@tabler/icons-svelte"; + import IconDownload from '@tabler/icons-svelte/IconDownload.svelte'; + import IconCut from '@tabler/icons-svelte/IconCut.svelte'; + import IconCrop from '@tabler/icons-svelte/IconCrop.svelte'; + import IconTransform from '@tabler/icons-svelte/IconTransform.svelte'; + import IconSettings from '@tabler/icons-svelte/IconSettings.svelte'; + + import IconComet from '@tabler/icons-svelte/IconComet.svelte'; + import IconHeart from '@tabler/icons-svelte/IconHeart.svelte'; + import IconInfoCircle from '@tabler/icons-svelte/IconInfoCircle.svelte'; const iconSize = 21; const iconStroke = 1.2;