Skip to content

Commit

Permalink
style: Badge 스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoleee committed May 23, 2024
1 parent e78b648 commit 70e19a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Badge/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { HTMLAttributes } from "react";

import cn from "@/utils/cn";

const Badge = ({ className, children, ...restProps }: HTMLAttributes<HTMLDivElement>) => {
return (
<div
className={cn(
"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",
className,
)}
{...restProps}
Expand Down

0 comments on commit 70e19a0

Please sign in to comment.