Migrate to bulma-css-variables and introduce dark mode #954

Merged
konrad merged 72 commits from adrinux/frontend:bulma-css-variables into main 2021-11-22 21:12:55 +00:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit 6877ca30a1 - Show all commits

View File

@ -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);
}
}
}

View File

@ -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
Review

Respect .dark class.

Respect `.dark` class.
Review

Done!

Done!
.close {
color: var(--grey-900);
}
}
</style>