diff options
Diffstat (limited to 'js/toggleTheme.ts')
-rw-r--r-- | js/toggleTheme.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/js/toggleTheme.ts b/js/toggleTheme.ts deleted file mode 100644 index b5514d2..0000000 --- a/js/toggleTheme.ts +++ /dev/null @@ -1,14 +0,0 @@ -/// <reference path="getTheme.ts" /> -/// <reference path="setTheme.ts" /> - -function toggleTheme() { - let theme = getTheme(); - - if (theme == Theme.Light) { - theme = Theme.Dark; - } else if (Theme.Dark) { - theme = Theme.Light; - } - - setTheme(theme); -} |