Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
whar
Browse files Browse the repository at this point in the history
  • Loading branch information
tnix100 committed Oct 14, 2023
1 parent 25c203e commit b9b4510
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/CustomTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ export function applyTheme(theme) {
theme.orangeLight = "#"+addHexColor(theme.orange.slice(1), theme.tinting.slice(1));
theme.orangeDark = "#"+removeHexColor(theme.orange.slice(1), theme.tinting.slice(1));

currentcurrentCustomTheme.set(theme);
usecurrentCustomTheme.set(true);
currentCustomTheme.set(theme);
useCustomTheme.set(true);
}

export function removeTheme() {
usecurrentCustomTheme.set(false);
currentcurrentCustomTheme.set(fallback);
useCustomTheme.set(false);
currentCustomTheme.set(fallback);
}

0 comments on commit b9b4510

Please sign in to comment.