diff --git a/images/backgrounds/gruvbox.png b/images/backgrounds/gruvbox.png new file mode 100644 index 0000000..820b2fb Binary files /dev/null and b/images/backgrounds/gruvbox.png differ diff --git a/images/backgrounds/gruvbox.svg b/images/backgrounds/gruvbox.svg new file mode 100644 index 0000000..7c20f08 --- /dev/null +++ b/images/backgrounds/gruvbox.svg @@ -0,0 +1,198 @@ + + + + diff --git a/js/app.js b/js/app.js index ed5f642..ad338ca 100644 --- a/js/app.js +++ b/js/app.js @@ -127,7 +127,7 @@ class App { setTheme(theme) {//{{{ this.theme = theme document.body.style.color = theme.colors.page.text - document.body.style.backgroundColor = theme.colors.page.background + document.body.style.background = theme.colors.page.background let sectionClasses = document.getElementById('sections').classList sectionClasses.remove('theme-brighter') @@ -248,7 +248,7 @@ class Section { ) return ` -