Skip to content

Commit f37d24b

Browse files
committed
[#41] 💄 roll back default bg text styles to base style
1 parent afd0de1 commit f37d24b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎src/components/common/chip/Chip.tsx‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type ChipProps = {
66
}
77

88
const baseStyle =
9-
'flex h-28 items-center justify-center rounded-4 px-6 text-body3 font-medium'
9+
'flex h-28 items-center justify-center rounded-4 bg-gray-200 px-6 text-body3 font-medium text-gray-500'
1010

1111
const styleByLabel: Record<string, string> = {
1212
'모집 중': 'bg-blue-100 text-blue-500',
@@ -19,10 +19,7 @@ const styleByLabel: Record<string, string> = {
1919
기타: 'bg-orange-100 text-orange-500',
2020
}
2121

22-
export const Chip = ({
23-
label,
24-
className = 'bg-gray-200 text-gray-500',
25-
}: ChipProps): JSX.Element => {
22+
export const Chip = ({ label, className = '' }: ChipProps): JSX.Element => {
2623
const labelStyle = styleByLabel[label] || ''
2724
const chipStyle = clsx(baseStyle, labelStyle, className)
2825
return <span className={chipStyle}>{label}</span>

0 commit comments

Comments
 (0)