Skip to content

Commit 7514eee

Browse files
chore: update text component styles
1 parent 15643b5 commit 7514eee

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • src/design-system/components/Text

src/design-system/components/Text/Text.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const RawText = memo(
5454
{
5555
bold,
5656
capitalize,
57-
color = 'text.brand.primary',
57+
color,
5858
italic,
5959
letterSpacing,
6060
lineHeight,
@@ -136,9 +136,7 @@ const RawText = memo(
136136

137137
const textColor = useMemo<TextStyle>(
138138
() => ({
139-
color: color
140-
? getColorValue({ color, colors: theme.colors })
141-
: theme.colors.text.brand.primary,
139+
color: color ? getColorValue({ color, colors: theme.colors }) : theme.colors.text.primary,
142140
}),
143141
[theme, color]
144142
)

0 commit comments

Comments
 (0)