diff --git a/js/darkmode.js b/js/darkmode.js index 69f035d..3e57e82 100644 --- a/js/darkmode.js +++ b/js/darkmode.js @@ -42,6 +42,8 @@ $(document).ready(function() { const paragraphs = document.querySelectorAll('p'); paragraphs.forEach(function(p) { p.style.color = 'black'; + p.classList.add('text-shadow'); + p.style.textShadow = '-1px 0 gray, 0 1px gray, 1px 0 gray, 0 -1px gray'; }); const headTwo = document.querySelector('h2'); headTwo.style.color = 'black';