Skip to content

Commit

Permalink
Fix color story
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Sep 21, 2023
1 parent 3b8c9a0 commit e354ab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/content/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export interface TextProps extends DOMProps, StyleProps {
children: ReactNode;
/**
* The color of the text
* @default 'white90'
* @default 'text-900'
*/
color?: TextColor;
/**
Expand Down Expand Up @@ -82,7 +82,7 @@ function Text(props: TextProps, ref: DOMRef<HTMLSpanElement>) {
const { isDisabled = false } = props;
const {
children,
color = isDisabled ? 'white30' : 'white90',
color = isDisabled ? 'text-300' : 'text-900',
textSize = 'medium',
elementType = 'span',
weight = 'normal',
Expand Down
1 change: 0 additions & 1 deletion src/utils/styleProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
Responsive,
ResponsiveProp,
StyleProps,
TextColorValue,
ViewStyleProps,
} from '../types';
import { useLocale } from '@react-aria/i18n';
Expand Down

0 comments on commit e354ab4

Please sign in to comment.