Skip to content

Commit 365d7f6

Browse files
committed
Updated the White theme text problem
1 parent 710bc1a commit 365d7f6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/App.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ function App() {
2323
document.body.style.backgroundColor = clr;
2424
document.body.style.color = 'white'
2525
}
26-
else document.body.style.backgroundColor = clr;
26+
else{
27+
document.body.style.backgroundColor = clr;
28+
document.body.style.color = 'black';
29+
}
2730
};
2831
return (
2932
<>

0 commit comments

Comments
 (0)