From 734f042c9d99e0110d5e4cf8f2994a5ce27385d1 Mon Sep 17 00:00:00 2001 From: garhve Date: Tue, 14 Feb 2023 18:29:13 +0800 Subject: delete zola --- themes/emily_zola_theme/static/images/favicon.png | Bin 541301 -> 0 bytes themes/emily_zola_theme/static/images/logo.png | Bin 541301 -> 0 bytes themes/emily_zola_theme/static/images/ss01.png | Bin 81254 -> 0 bytes themes/emily_zola_theme/static/images/ss02.png | Bin 177158 -> 0 bytes themes/emily_zola_theme/static/js/theme.js | 22 ---------------------- 5 files changed, 22 deletions(-) delete mode 100644 themes/emily_zola_theme/static/images/favicon.png delete mode 100644 themes/emily_zola_theme/static/images/logo.png delete mode 100644 themes/emily_zola_theme/static/images/ss01.png delete mode 100644 themes/emily_zola_theme/static/images/ss02.png delete mode 100644 themes/emily_zola_theme/static/js/theme.js (limited to 'themes/emily_zola_theme/static') diff --git a/themes/emily_zola_theme/static/images/favicon.png b/themes/emily_zola_theme/static/images/favicon.png deleted file mode 100644 index 8e5a208..0000000 Binary files a/themes/emily_zola_theme/static/images/favicon.png and /dev/null differ diff --git a/themes/emily_zola_theme/static/images/logo.png b/themes/emily_zola_theme/static/images/logo.png deleted file mode 100644 index 8e5a208..0000000 Binary files a/themes/emily_zola_theme/static/images/logo.png and /dev/null differ diff --git a/themes/emily_zola_theme/static/images/ss01.png b/themes/emily_zola_theme/static/images/ss01.png deleted file mode 100644 index 78c88ff..0000000 Binary files a/themes/emily_zola_theme/static/images/ss01.png and /dev/null differ diff --git a/themes/emily_zola_theme/static/images/ss02.png b/themes/emily_zola_theme/static/images/ss02.png deleted file mode 100644 index 1ff5eba..0000000 Binary files a/themes/emily_zola_theme/static/images/ss02.png and /dev/null differ diff --git a/themes/emily_zola_theme/static/js/theme.js b/themes/emily_zola_theme/static/js/theme.js deleted file mode 100644 index be2a9d1..0000000 --- a/themes/emily_zola_theme/static/js/theme.js +++ /dev/null @@ -1,22 +0,0 @@ -const key = 'current_emily_zola_style'; - -function getTheme() { - let theme = document.getElementById('stylesheet'); - let current_style = localStorage.getItem(key); - if (current_style === null) { - localStorage.setItem(key, theme.href); - } - theme.href = localStorage.getItem(key); -} - -function changeTheme() { - let current_style = localStorage.getItem(key); - if (current_style.includes('dark')) { - localStorage.setItem(key, '/light.css'); - } - else { - localStorage.setItem(key, '/dark.css'); - } - let theme = document.getElementById('stylesheet'); - theme.href = localStorage.getItem(key); -} \ No newline at end of file -- cgit v1.2.3-70-g09d2