Update darkmoderewrite.js
This commit is contained in:
parent
62c523a2f6
commit
ac1935a7ae
@ -7,6 +7,12 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
const text = document.querySelector('.footer');
|
const text = document.querySelector('.footer');
|
||||||
text.style.backgroundColor = 'grey';
|
text.style.backgroundColor = 'grey';
|
||||||
|
|
||||||
|
const body = document.querySelector('text');
|
||||||
|
body.style.color = '#f1f1f1';
|
||||||
|
|
||||||
|
const body = document.querySelector('button');
|
||||||
|
body.style.backgroundColor = '#13f4f3';
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
const body = document.querySelector('body');
|
const body = document.querySelector('body');
|
||||||
@ -15,6 +21,12 @@ $(document).ready(function() {
|
|||||||
const text = document.querySelector('.footer');
|
const text = document.querySelector('.footer');
|
||||||
text.style.backgroundColor = '#ddd';
|
text.style.backgroundColor = '#ddd';
|
||||||
|
|
||||||
|
const body = document.querySelector('text');
|
||||||
|
body.style.color = 'black';
|
||||||
|
|
||||||
|
const body = document.querySelector('button');
|
||||||
|
body.style.backgroundColor = '#4caf50';
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user