mirror of
https://github.com/abrendan/MicDropMessages.git
synced 2025-06-16 12:45:01 +02:00
V1.3! Fixed text colors of messages in dark mode
This commit is contained in:
parent
83a6d186ea
commit
a80e0b0abc
@ -39,7 +39,7 @@ function onload(){
|
|||||||
}
|
}
|
||||||
for (var i = 0; i < messages.length; i++){
|
for (var i = 0; i < messages.length; i++){
|
||||||
document.getElementById("Message"+i).innerHTML = messages[i];
|
document.getElementById("Message"+i).innerHTML = messages[i];
|
||||||
document.getElementById("Message"+i).style.color = "#000000";
|
document.getElementById("Message"+i).style.color = getComputedStyle(document.body).color;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,19 @@
|
|||||||
body.dark-mode {
|
body.dark-mode {
|
||||||
color: #ffffff; /* Light text color for contrast */
|
color: #ffffff; /* Light text color for contrast */
|
||||||
}
|
}
|
||||||
|
body.dark-mode .button {
|
||||||
|
color: #ffffff; /* Dark button background color */
|
||||||
|
}
|
||||||
|
|
||||||
|
body.dark-mode .button2 {
|
||||||
|
color: #ffffff; /* Dark button background color */
|
||||||
|
}
|
||||||
|
|
||||||
|
body.dark-mode .input {
|
||||||
|
color: #ffffff; /* Dark button background color */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* You might want to customize other elements for dark mode, for example: */
|
/* You might want to customize other elements for dark mode, for example: */
|
||||||
.dark-mode #Main {
|
.dark-mode #Main {
|
||||||
background-color: #333; /* Dark background for main content area */
|
background-color: #333; /* Dark background for main content area */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user