Add favicons

This commit is contained in:
Hazem Krimi
2023-11-07 18:50:33 +01:00
parent 8c0894205b
commit 420e348cad
8 changed files with 21 additions and 5 deletions
+3
View File
@@ -18,6 +18,9 @@ function initTheme() {
function loadTheme() {
root.style.setProperty('--theme', theme);
document
.querySelector('meta[name="theme-color"]')
.setAttribute('content', theme === 'light' ? '#FBFBFB' : '#1D1B1B');
root.style.setProperty(
'--background',
theme === 'light' ? 'var(--light-background)' : 'var(--dark-background)'