trying to fix the danger zone in dark mode (I should have done this a while ago)
This commit is contained in:
parent
dfb4f89d4d
commit
d797710622
@ -28,6 +28,8 @@ $(document).ready(function() {
|
||||
versionTexts.forEach(function(vt) {
|
||||
vt.style.color = '#f1f1f1';
|
||||
});
|
||||
const dZone = document.querySelector('.danger-zone');
|
||||
dZone.style.color = '#ff6847';
|
||||
} else {
|
||||
const body = document.querySelector('body');
|
||||
body.style.backgroundColor = '#f1f1f1';
|
||||
@ -55,6 +57,8 @@ $(document).ready(function() {
|
||||
versionTexts.forEach(function(vt) {
|
||||
vt.style.color = 'black';
|
||||
});
|
||||
const dZone = document.querySelector('.danger-zone');
|
||||
dZone.style.color = '#f1f1f1';
|
||||
}
|
||||
}
|
||||
$("#darkModeCheckbox").on("change", function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user