Migrate to bulma-css-variables and introduce dark mode #954
|
@ -94,10 +94,5 @@
|
|||
--text-invert: #000;
|
||||
--text-light: var(--grey-300);
|
||||
--text-strong: var(--grey-900);
|
||||
|
||||
// svg uses currentColor, change the color to keep the modal close X visible
|
||||
.close {
|
||||
color: var(--grey-900);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -60,4 +60,11 @@ export default {
|
|||
color: var(--dark);
|
||||
}
|
||||
}
|
||||
|
||||
/* Close icon SVG uses currentColor, change the color to keep it visible */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
dpschen marked this conversation as resolved
|
||||
.close {
|
||||
color: var(--grey-900);
|
||||
}
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user
Respect
.dark
class.Done!