We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e78b648 commit 70e19a0Copy full SHA for 70e19a0
src/components/Badge/index.tsx
@@ -1,12 +1,11 @@
1
import { HTMLAttributes } from "react";
2
-
3
import cn from "@/utils/cn";
4
5
const Badge = ({ className, children, ...restProps }: HTMLAttributes<HTMLDivElement>) => {
6
return (
7
<div
8
className={cn(
9
- "flex justify-center items-center text-xs rounded-full w-fit px-2 h-5 text-textColor shrink-0 border-textColor border-[0.5px]",
+ "flex justify-center items-center text-xs rounded-full w-fit px-2 h-5 text-textColor shrink-0 bg-textColor/10",
10
className,
11
)}
12
{...restProps}
0 commit comments