1
0
mirror of https://github.com/flarum/core.git synced 2025-08-30 11:30:21 +02:00

fix: invert less variables when dark mode is enabled

This commit is contained in:
protoclown
2022-09-25 20:25:55 +02:00
parent bf53cda90b
commit 3de6afada3

View File

@@ -20,6 +20,10 @@
&.tag-dark {
--tag-color: @body-bg;
& when (@config-dark-mode = true) {
--tag-color: @text-color;
}
.TagLabel-text {
color: var(--tag-color) !important;
}
@@ -28,6 +32,10 @@
&.tag-light {
--tag-color: @text-color;
& when (@config-dark-mode = true) {
--tag-color: @body-bg;
}
.TagLabel-text {
color: var(--tag-color) !important;
}