style: changed color for box background and icons depending on light or

dark mode
This commit is contained in:
Richard Wong 2024-03-17 00:07:01 +09:00
parent 55078b5e18
commit 6b95c2fb75
Signed by: richard
GPG Key ID: 5BD36BA2E9EE33D0
2 changed files with 24 additions and 3 deletions

View File

@ -15,4 +15,16 @@
.test-count-box-label {
padding: 5px
}
}
@media (prefers-color-scheme: dark) {
.rct-icon {
color: white;
}
}
@media (prefers-color-scheme: light) {
.rct-icon {
color: black;
}
}

View File

@ -63,7 +63,16 @@
width: 80%;
}
.correct {
background-color: #e6ffe6; /* Change the background color as needed */
@media (prefers-color-scheme: light) {
.correct {
background-color: #e6ffe6; /* Change the background color as needed */
}
}
@media (prefers-color-scheme: dark) {
.correct {
background-color: #495749; /* Change the background color as needed */
}
}