diff --git a/extensions/tags/less/common/TagLabel.less b/extensions/tags/less/common/TagLabel.less index 55bc443df..dd3198332 100644 --- a/extensions/tags/less/common/TagLabel.less +++ b/extensions/tags/less/common/TagLabel.less @@ -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; }