Skip to content

Commit 70e19a0

Browse files
committed
style: Badge 스타일 수정
1 parent e78b648 commit 70e19a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/Badge/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { HTMLAttributes } from "react";
2-
32
import cn from "@/utils/cn";
43

54
const Badge = ({ className, children, ...restProps }: HTMLAttributes<HTMLDivElement>) => {
65
return (
76
<div
87
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]",
8+
"flex justify-center items-center text-xs rounded-full w-fit px-2 h-5 text-textColor shrink-0 bg-textColor/10",
109
className,
1110
)}
1211
{...restProps}

0 commit comments

Comments
 (0)