styles:dark mode color fix (#11004)
This commit is contained in:
1 parent
f23b63cc98
commit
024b92b9ce
6 files changed
+24
-22
No files matched your search
@@ -15,9 +15,9 @@ export default function TeamPill(props: Props) {
|
||||
<div
|
||||
className={classNames("text-medium self-center rounded-md px-1 py-0.5 text-xs ltr:mr-1 rtl:ml-1", {
|
||||
" bg-subtle text-emphasis": !props.color,
|
||||
" bg-info text-blue-800": props.color === "blue",
|
||||
" bg-error text-red-800 ": props.color === "red",
|
||||
" bg-attention text-orange-800": props.color === "orange",
|
||||
" bg-info text-info": props.color === "blue",
|
||||
" bg-error text-error ": props.color === "red",
|
||||
" bg-attention text-attention": props.color === "orange",
|
||||
})}>
|
||||
{props.text}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user