Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(tag): Make the tag unaffected by the custom primary color

haitao(lj)c0a29cef8310
diff --git a/ui/src/components/CustomizeTheme/index.tsx b/ui/src/components/CustomizeTheme/index.tsx
index 6bf13737..cc9a90e0 100644
--- a/ui/src/components/CustomizeTheme/index.tsx
+++ b/ui/src/components/CustomizeTheme/index.tsx
@@ -59,13 +59,6 @@ const Index: FC = () => {
box-shadow: 0 0 0 0.25rem ${primaryColor.fade(0.75).string()};
border-color: ${tintColor(primaryColor, 0.5)};
}
- .badge-tag:not(.badge-tag-reserved, .badge-tag-required) {
- color: ${shadeColor(primaryColor, 0.4)};
- background: ${tintColor(primaryColor, 0.8).fade(0.5).string()};
- }
- .badge-tag:hover:not(.badge-tag-reserved, .badge-tag-required) {
- background: ${tintColor(primaryColor, 0.8).hex()};
- }
`}
</style>
)}