From 7e55c8783d949390703dd8fc0f3f80069ef00994 Mon Sep 17 00:00:00 2001
From: OrigamingWasTaken <74014262+OrigamingWasTaken@users.noreply.github.com>
Date: Sat, 19 Oct 2024 20:39:10 +0200
Subject: [PATCH] Make icons themable (again)
---
.../src/windows/main/Sidebar/Sidebar.svelte | 3 ++-
.../windows/main/components/color-image.svelte | 18 ++++++++++++++++++
.../windows/main/sidebar/sidebar-btn.svelte | 6 ++----
3 files changed, 22 insertions(+), 5 deletions(-)
create mode 100644 frontend/src/windows/main/components/color-image.svelte
diff --git a/frontend/src/windows/main/Sidebar/Sidebar.svelte b/frontend/src/windows/main/Sidebar/Sidebar.svelte
index f34d513..27ae753 100644
--- a/frontend/src/windows/main/Sidebar/Sidebar.svelte
+++ b/frontend/src/windows/main/Sidebar/Sidebar.svelte
@@ -24,6 +24,7 @@
import shellFS from '../ts/tools/shellfs';
import { getMode } from '../ts/utils';
import SidebarBtn from './sidebar-btn.svelte';
+ import ColorImage from '../components/color-image.svelte';
export let isLaunched: boolean = false;
export let currentPage = 'integrations';
@@ -141,7 +142,7 @@
dispatch('launchRoblox', true);
}}
>
-
+
{buttonState}
diff --git a/frontend/src/windows/main/components/color-image.svelte b/frontend/src/windows/main/components/color-image.svelte new file mode 100644 index 0000000..24f43fd --- /dev/null +++ b/frontend/src/windows/main/components/color-image.svelte @@ -0,0 +1,18 @@ + + +