mirror of
https://github.com/flarum/core.git
synced 2025-08-30 03:20:36 +02:00
fix: invert less variables when dark mode is enabled
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user