mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Projects list page with project card
This commit is contained in:
@@ -49,6 +49,12 @@ function loadTheme() {
|
||||
? 'var(--button-light-background)'
|
||||
: 'var(--button-dark-background)'
|
||||
);
|
||||
root.style.setProperty(
|
||||
'--project-card-background',
|
||||
theme === 'light'
|
||||
? 'var(--project-card-light-background)'
|
||||
: 'var(--project-card-dark-background)'
|
||||
);
|
||||
root.style.setProperty(
|
||||
'--footer-background',
|
||||
theme === 'light'
|
||||
|
||||
Reference in New Issue
Block a user