mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Add favicons
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@@ -15,13 +15,13 @@
|
||||
:root {
|
||||
/* Colors */
|
||||
--black: #131314;
|
||||
--white: #ffffff;
|
||||
--crimson: #bd1839;
|
||||
--light-gray: #e7e7e7;
|
||||
--white: white;
|
||||
--crimson: #BD1839;
|
||||
--light-gray: #E7E7E7;
|
||||
|
||||
/* Background colors */
|
||||
--dark-background: #1d1b1b;
|
||||
--light-background: #fbfbfb;
|
||||
--dark-background: #1D1B1B;
|
||||
--light-background: #FBFBFB;
|
||||
|
||||
/* Radiuses */
|
||||
--card-radius: 1.875rem;
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 905 B |
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -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)'
|
||||
|
||||
Reference in New Issue
Block a user