Skip to content

Commit

Permalink
fix(web): badge background color in express urban project tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhenin committed Nov 5, 2024
1 parent fb4d34c commit a27c7ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/shared/views/components/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ const badgeStyleClasses = {
["neutral"]: "tw-bg-impacts-neutral-main dark:tw-bg-impacts-neutral-light",
} as const satisfies Record<Exclude<Props["style"], undefined>, string>;

export default function Badge({ children, className, small = false, style = "default" }: Props) {
export default function Badge({ children, className, small = false, style }: Props) {
return (
<DsfrBadge
as="span"
small={small}
className={classNames(
"tw-normal-case tw-font-normal tw-rounded-xl tw-px-2",
badgeStyleClasses[style],
style && badgeStyleClasses[style],
className,
)}
>
Expand Down

0 comments on commit a27c7ed

Please sign in to comment.