From e354ab431fda9bd74377f3727a959f73a6938d66 Mon Sep 17 00:00:00 2001 From: Mikyo King Date: Thu, 21 Sep 2023 10:21:39 -0400 Subject: [PATCH] Fix color story --- src/content/Text.tsx | 4 ++-- src/utils/styleProps.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/content/Text.tsx b/src/content/Text.tsx index ce41e8ad..9715c8c1 100644 --- a/src/content/Text.tsx +++ b/src/content/Text.tsx @@ -35,7 +35,7 @@ export interface TextProps extends DOMProps, StyleProps { children: ReactNode; /** * The color of the text - * @default 'white90' + * @default 'text-900' */ color?: TextColor; /** @@ -82,7 +82,7 @@ function Text(props: TextProps, ref: DOMRef) { const { isDisabled = false } = props; const { children, - color = isDisabled ? 'white30' : 'white90', + color = isDisabled ? 'text-300' : 'text-900', textSize = 'medium', elementType = 'span', weight = 'normal', diff --git a/src/utils/styleProps.ts b/src/utils/styleProps.ts index 07d439be..b4a736b2 100644 --- a/src/utils/styleProps.ts +++ b/src/utils/styleProps.ts @@ -10,7 +10,6 @@ import { Responsive, ResponsiveProp, StyleProps, - TextColorValue, ViewStyleProps, } from '../types'; import { useLocale } from '@react-aria/i18n';