assets/js/script.js in dev-portfolio-blog-0.1.7 vs assets/js/script.js in dev-portfolio-blog-0.1.8
- old
+ new
@@ -20,9 +20,10 @@
}
function changeTheme(element, theme) {
element.style.setProperty("--primary-background-color", theme['background-color']);
element.style.setProperty("--primary-text-color", theme['text-color']);
+ element.style.setProperty("--primary-highlight-color", theme['highlight-color']);
}
function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1);
}
\ No newline at end of file