diff --git a/assets/icons/dark-mode/theme-auto.png b/assets/icons/dark-mode/theme-auto.png new file mode 100644 index 0000000..33f416c Binary files /dev/null and b/assets/icons/dark-mode/theme-auto.png differ diff --git a/assets/icons/dark-mode/theme-auto.svg b/assets/icons/dark-mode/theme-auto.svg new file mode 100644 index 0000000..cd9174c --- /dev/null +++ b/assets/icons/dark-mode/theme-auto.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/icons/dark-mode/theme-dark.png b/assets/icons/dark-mode/theme-dark.png new file mode 100644 index 0000000..16d839c Binary files /dev/null and b/assets/icons/dark-mode/theme-dark.png differ diff --git a/assets/icons/dark-mode/theme-dark.svg b/assets/icons/dark-mode/theme-dark.svg new file mode 100644 index 0000000..2d94dd1 --- /dev/null +++ b/assets/icons/dark-mode/theme-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/icons/dark-mode/theme-light.png b/assets/icons/dark-mode/theme-light.png new file mode 100644 index 0000000..4061f9f Binary files /dev/null and b/assets/icons/dark-mode/theme-light.png differ diff --git a/assets/icons/dark-mode/theme-light.svg b/assets/icons/dark-mode/theme-light.svg new file mode 100644 index 0000000..5194b69 --- /dev/null +++ b/assets/icons/dark-mode/theme-light.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/light-mode/theme-auto.png b/assets/icons/light-mode/theme-auto.png new file mode 100644 index 0000000..3591a6b Binary files /dev/null and b/assets/icons/light-mode/theme-auto.png differ diff --git a/assets/icons/light-mode/theme-auto.svg b/assets/icons/light-mode/theme-auto.svg new file mode 100644 index 0000000..aa0708e --- /dev/null +++ b/assets/icons/light-mode/theme-auto.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/icons/light-mode/theme-dark.png b/assets/icons/light-mode/theme-dark.png new file mode 100644 index 0000000..158cb22 Binary files /dev/null and b/assets/icons/light-mode/theme-dark.png differ diff --git a/assets/icons/light-mode/theme-dark.svg b/assets/icons/light-mode/theme-dark.svg new file mode 100644 index 0000000..5d034fb --- /dev/null +++ b/assets/icons/light-mode/theme-dark.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/icons/light-mode/theme-light.png b/assets/icons/light-mode/theme-light.png new file mode 100644 index 0000000..62f996a Binary files /dev/null and b/assets/icons/light-mode/theme-light.png differ diff --git a/assets/icons/light-mode/theme-light.svg b/assets/icons/light-mode/theme-light.svg new file mode 100644 index 0000000..963bd95 --- /dev/null +++ b/assets/icons/light-mode/theme-light.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/assets/style/dark-mode.css b/assets/style/dark-mode.css index 60b53ff..d39d031 100644 --- a/assets/style/dark-mode.css +++ b/assets/style/dark-mode.css @@ -60,9 +60,6 @@ body { .inline-code, .inline-code-text, .inline-code-icon { background-color: #212121; } -object[type='image/svg+xml'] { - color: #212121; -} .dark { display: initial !important; diff --git a/assets/style/light-mode.css b/assets/style/light-mode.css index 25ff0ec..139a2ed 100644 --- a/assets/style/light-mode.css +++ b/assets/style/light-mode.css @@ -60,9 +60,6 @@ body { .inline-code, .inline-code-text, .inline-code-icon { background-color: #EEE; } -object[type='image/svg+xml'] { - color: #EEE; -} .light { display: initial !important; diff --git a/assets/style/main.css b/assets/style/main.css index 8ac9a91..8accae1 100644 --- a/assets/style/main.css +++ b/assets/style/main.css @@ -92,6 +92,9 @@ a:hover { text-align: left; line-height: 1.5; } +.theme-btn { + padding-left: 3px; +} .theme-btn.selected { text-decoration: none; cursor: default; diff --git a/inc/sidebar.inc b/inc/sidebar.inc index 4ba1b92..4f366d6 100644 --- a/inc/sidebar.inc +++ b/inc/sidebar.inc @@ -12,7 +12,17 @@ ]; ?> $condition): ?> - " data-theme="" href="/api/set_theme/.php"> + + + + + + + + + " data-theme="" href="/api/set_theme/.php"> + +