fix: improve Normal role badge visibility with proper styling (#16528)

This commit is contained in:
euvre
2026-07-02 10:47:01 +08:00
committed by GitHub
parent 7abc69434f
commit 3195d6fa89

View File

@@ -23,7 +23,7 @@ import { TenantRole } from '../constants';
import { useHandleDeleteUser } from './hooks';
const ColorMap: Record<string, string> = {
[TenantRole.Normal]: 'bg-transparent text-white',
[TenantRole.Normal]: 'bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-300',
[TenantRole.Invite]: 'bg-accent-primary-5 bg-accent-primary rounded-sm',
[TenantRole.Owner]: 'bg-red-100 text-red-800',
};