diff options
Diffstat (limited to 'themes/emily_zola_theme/static')
-rw-r--r-- | themes/emily_zola_theme/static/images/favicon.png | bin | 541301 -> 0 bytes | |||
-rw-r--r-- | themes/emily_zola_theme/static/images/logo.png | bin | 541301 -> 0 bytes | |||
-rw-r--r-- | themes/emily_zola_theme/static/images/ss01.png | bin | 81254 -> 0 bytes | |||
-rw-r--r-- | themes/emily_zola_theme/static/images/ss02.png | bin | 177158 -> 0 bytes | |||
-rw-r--r-- | themes/emily_zola_theme/static/js/theme.js | 22 |
5 files changed, 0 insertions, 22 deletions
diff --git a/themes/emily_zola_theme/static/images/favicon.png b/themes/emily_zola_theme/static/images/favicon.png Binary files differdeleted file mode 100644 index 8e5a208..0000000 --- a/themes/emily_zola_theme/static/images/favicon.png +++ /dev/null diff --git a/themes/emily_zola_theme/static/images/logo.png b/themes/emily_zola_theme/static/images/logo.png Binary files differdeleted file mode 100644 index 8e5a208..0000000 --- a/themes/emily_zola_theme/static/images/logo.png +++ /dev/null diff --git a/themes/emily_zola_theme/static/images/ss01.png b/themes/emily_zola_theme/static/images/ss01.png Binary files differdeleted file mode 100644 index 78c88ff..0000000 --- a/themes/emily_zola_theme/static/images/ss01.png +++ /dev/null diff --git a/themes/emily_zola_theme/static/images/ss02.png b/themes/emily_zola_theme/static/images/ss02.png Binary files differdeleted file mode 100644 index 1ff5eba..0000000 --- a/themes/emily_zola_theme/static/images/ss02.png +++ /dev/null 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 |