About page and home page

This commit is contained in:
Hazem Krimi
2023-11-14 19:34:03 +01:00
parent 6df17ff272
commit 33b8d792cf
13 changed files with 259 additions and 13 deletions
+21 -3
View File
@@ -37,6 +37,18 @@ function loadTheme() {
? 'var(--nav-light-background)'
: 'var(--nav-dark-background)'
);
root.style.setProperty(
'--first-action-background',
theme === 'light'
? 'var(--first-action-light-background)'
: 'var(--first-action-dark-background)'
);
root.style.setProperty(
'--second-action-background',
theme === 'light'
? 'var(--second-action-light-background)'
: 'var(--second-action-dark-background)'
);
root.style.setProperty(
'--input-background',
theme === 'light'
@@ -50,10 +62,16 @@ function loadTheme() {
: 'var(--button-dark-background)'
);
root.style.setProperty(
'--project-card-background',
'--card-background',
theme === 'light'
? 'var(--project-card-light-background)'
: 'var(--project-card-dark-background)'
? 'var(--card-light-background)'
: 'var(--card-dark-background)'
);
root.style.setProperty(
'--about-card-background',
theme === 'light'
? 'var(--about-card-light-background)'
: 'var(--about-card-dark-background)'
);
root.style.setProperty(
'--footer-background',