We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15643b5 commit 7514eeeCopy full SHA for 7514eee
1 file changed
src/design-system/components/Text/Text.tsx
@@ -54,7 +54,7 @@ const RawText = memo(
54
{
55
bold,
56
capitalize,
57
- color = 'text.brand.primary',
+ color,
58
italic,
59
letterSpacing,
60
lineHeight,
@@ -136,9 +136,7 @@ const RawText = memo(
136
137
const textColor = useMemo<TextStyle>(
138
() => ({
139
- color: color
140
- ? getColorValue({ color, colors: theme.colors })
141
- : theme.colors.text.brand.primary,
+ color: color ? getColorValue({ color, colors: theme.colors }) : theme.colors.text.primary,
142
}),
143
[theme, color]
144
)
0 commit comments