Fix icon paths
This commit is contained in:
parent
a13bb5c0f6
commit
0ac3c438e6
@ -14,11 +14,11 @@
|
|||||||
<?php foreach ($themes as $name=>$condition): ?>
|
<?php foreach ($themes as $name=>$condition): ?>
|
||||||
<picture class="light">
|
<picture class="light">
|
||||||
<source type="image/svg+xml" srcset="/assets/icons/light-mode/theme-<?= $name ?>.svg">
|
<source type="image/svg+xml" srcset="/assets/icons/light-mode/theme-<?= $name ?>.svg">
|
||||||
<img class="icon" src="/assets/icons/theme-<?= $name ?>.png" alt="">
|
<img class="icon" src="/assets/icons/light-mode/theme-<?= $name ?>.png" alt="">
|
||||||
</picture>
|
</picture>
|
||||||
<picture class="dark">
|
<picture class="dark">
|
||||||
<source type="image/svg+xml" srcset="/assets/icons/dark-mode/theme-<?= $name ?>.svg">
|
<source type="image/svg+xml" srcset="/assets/icons/dark-mode/theme-<?= $name ?>.svg">
|
||||||
<img class="icon" src="/assets/icons/theme-<?= $name ?>.png" alt="">
|
<img class="icon" src="/assets/icons/dark-mode/theme-<?= $name ?>.png" alt="">
|
||||||
</picture>
|
</picture>
|
||||||
<a class="theme-btn <?= $condition ? "" : "selected" ?>" data-theme="<?= $name ?>" href="/api/set_theme/<?= $name ?>.php">
|
<a class="theme-btn <?= $condition ? "" : "selected" ?>" data-theme="<?= $name ?>" href="/api/set_theme/<?= $name ?>.php">
|
||||||
<?= ucwords($name) . ($condition ? "" : " ✓") ?>
|
<?= ucwords($name) . ($condition ? "" : " ✓") ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user