about summary refs log tree commit diff stats
path: root/src/pages
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-02-05 14:08:10 +0300
committerManeraKai <manerakai@protonmail.com>2022-02-05 14:08:10 +0300
commitcd9a3b195c0e7db0496175ab2d50992a27c3fbf7 (patch)
treebd29597c074fa4dbb8e490a664a7d5179f3c8e4f /src/pages
parentFixed issue #25 (diff)
downloadlibredirect-cd9a3b195c0e7db0496175ab2d50992a27c3fbf7.zip
Fixed icon theme #25
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/options/icons/clear_black_24dp.svg1
-rw-r--r--src/pages/options/icons/clear_white_24dp.svg1
-rw-r--r--src/pages/options/youtube/youtube.html7
-rw-r--r--src/pages/stylesheets/styles.css6
4 files changed, 11 insertions, 4 deletions
diff --git a/src/pages/options/icons/clear_black_24dp.svg b/src/pages/options/icons/clear_black_24dp.svg
deleted file mode 100644
index 5f1267d7..00000000
--- a/src/pages/options/icons/clear_black_24dp.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
\ No newline at end of file
diff --git a/src/pages/options/icons/clear_white_24dp.svg b/src/pages/options/icons/clear_white_24dp.svg
deleted file mode 100644
index ec0bd50f..00000000
--- a/src/pages/options/icons/clear_white_24dp.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
\ No newline at end of file
diff --git a/src/pages/options/youtube/youtube.html b/src/pages/options/youtube/youtube.html
index 99bec8d6..d5db771c 100644
--- a/src/pages/options/youtube/youtube.html
+++ b/src/pages/options/youtube/youtube.html
@@ -86,7 +86,12 @@
                 <h4>Volume: <span id="volume-value">50%</span></h4>
                 <input id="invidious-volume" name="invidious-volume" type="range" min="0" max="100" step="1" />
                 <button type="button" class="default" id="clear-invidious-volume">
-                    <img src="../icons/clear_white_24dp.svg">
+                    <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"
+                        fill="currentColor">
+                        <path d="M0 0h24v24H0V0z" fill="none" />
+                        <path
+                            d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" />
+                    </svg>
                 </button>
             </div>
 
diff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css
index 1f39d109..7cf0fe1e 100644
--- a/src/pages/stylesheets/styles.css
+++ b/src/pages/stylesheets/styles.css
@@ -304,7 +304,7 @@ body.light-theme textarea:focus {
   outline: none;
 }
 
-body.light-theme a{
+body.light-theme a {
   color: black;
 }
 
@@ -448,6 +448,10 @@ button.default {
   cursor: pointer;
 }
 
+button.default svg {
+  color: var(--text);
+}
+
 @media (prefers-color-scheme: light) {
   body {
     --text: #000;