style: changed color for box background and icons depending on light or
dark mode
This commit is contained in:
parent
55078b5e18
commit
6b95c2fb75
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue