Skip to content

Commit 79b4f03

Browse files
committed
Update border color in PricingTable and Drawer components
Changed border color references from $borderAlpha100 to $borderAlpha150 in PricingTableDefault and Drawer components for improved visual consistency.
1 parent 8f9dd6d commit 79b4f03

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ function Card(props: CardProps) {
169169
background: common.mutedBackground(t),
170170
borderWidth: t.borderWidths.$normal,
171171
borderStyle: t.borderStyles.$solid,
172-
borderColor: t.colors.$borderAlpha100,
173-
boxShadow: !isCompact ? t.shadows.$cardBoxShadow : t.shadows.$tableBodyShadow,
172+
borderColor: t.colors.$borderAlpha150,
174173
borderRadius: t.radii.$xl,
175174
overflow: 'hidden',
176175
textAlign: 'left',
@@ -205,7 +204,7 @@ function Card(props: CardProps) {
205204
backgroundColor: hasFeatures ? t.colors.$colorBackground : 'transparent',
206205
borderTopWidth: hasFeatures ? t.borderWidths.$normal : 0,
207206
borderTopStyle: t.borderStyles.$solid,
208-
borderTopColor: t.colors.$borderAlpha100,
207+
borderTopColor: t.colors.$borderAlpha150,
209208
})}
210209
data-variant={isCompact ? 'compact' : 'default'}
211210
>
@@ -225,7 +224,7 @@ function Card(props: CardProps) {
225224
padding: isCompact ? t.space.$3 : t.space.$4,
226225
borderTopWidth: t.borderWidths.$normal,
227226
borderTopStyle: t.borderStyles.$solid,
228-
borderTopColor: t.colors.$borderAlpha100,
227+
borderTopColor: t.colors.$borderAlpha150,
229228
order: ctaPosition === 'top' ? -1 : undefined,
230229
})}
231230
>

packages/clerk-js/src/ui/elements/Drawer.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,7 @@ const Content = React.forwardRef<HTMLDivElement, ContentProps>(({ children }, re
264264
borderStartEndRadius: strategy === 'fixed' ? t.radii.$lg : 0,
265265
borderWidth: t.borderWidths.$normal,
266266
borderStyle: t.borderStyles.$solid,
267-
borderColor: t.colors.$borderAlpha100,
268-
boxShadow: t.shadows.$cardBoxShadow,
267+
borderColor: t.colors.$borderAlpha150,
269268
overflow: 'hidden',
270269
pointerEvents: 'auto',
271270
})}
@@ -304,7 +303,7 @@ const Header = React.forwardRef<HTMLDivElement, HeaderProps>(({ title, children,
304303
),
305304
borderBlockEndWidth: t.borderWidths.$normal,
306305
borderBlockEndStyle: t.borderStyles.$solid,
307-
borderBlockEndColor: t.colors.$borderAlpha100,
306+
borderBlockEndColor: t.colors.$borderAlpha150,
308307
borderStartStartRadius: t.radii.$lg,
309308
borderStartEndRadius: t.radii.$lg,
310309
paddingBlock: title ? t.space.$3 : undefined,

0 commit comments

Comments
 (0)