Skip to content

Commit

Permalink
making dark mode text readable for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
clashofclanselixircollector committed Dec 11, 2024
1 parent e5385d4 commit 86d6adf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/darkmode.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ $(document).ready(function() {
});
const dZone = document.querySelector('.danger-zone');
dZone.style.color = '#ff6847';
const dZoneText = document.querySelector('.modal-content')
dZoneText.style.p.color = '#ff3c00';
} else {
const body = document.querySelector('body');
body.style.backgroundColor = '#f1f1f1';
Expand Down Expand Up @@ -63,6 +65,8 @@ $(document).ready(function() {
});
const dZone = document.querySelector('.danger-zone');
dZone.style.color = '#010101';
const dZoneText = document.querySelector('.modal-content')
dZoneText.style.p.color = '#010101';
}
}
$("#darkModeCheckbox").on("change", function() {
Expand Down

0 comments on commit 86d6adf

Please sign in to comment.