Skip to content

Commit 386d63c

Browse files
committed
fix styling for dabge
1 parent 77d9511 commit 386d63c

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
:root {
2+
--color-badge-background: var(--color-gray-100);
3+
--color-badge-foreground: var(--color-prose);
4+
}

web/common/src/components/Badge/Badge.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { type Size, type Shape } from '@/types/enums'
66
import { cn } from '@/utils'
77
import { badgeVariants } from './help'
88

9+
import './Badge.css'
10+
911
export interface BadgeProps
1012
extends React.HTMLAttributes<HTMLSpanElement>,
1113
VariantProps<typeof badgeVariants> {

web/common/src/styles/design/semantic-colors.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,4 @@
55
--color-dark: hsl(226, 24%, 8%);
66
--color-brand: var(--color-tobiko);
77
--color-prose: var(--color-gray-800);
8-
9-
/* Badge */
10-
--color-badge-background: var(--color-gray-100);
11-
--color-badge-foreground: var(--color-prose);
128
}

0 commit comments

Comments
 (0)