diff --git a/src/components/Text/index.tsx b/src/components/Text/index.tsx index 1c8671e..a7547cb 100644 --- a/src/components/Text/index.tsx +++ b/src/components/Text/index.tsx @@ -4,7 +4,17 @@ type TextProps = { children?: React.ReactNode | JSX.Element | string; className?: string; variant?: 'display' | 'headline' | 'title' | 'subheader' | 'body' | 'caption'; - color?: 'client' | 'productOwner' | 'developer' | 'admin' | string; + color?: + | 'client' + | 'productOwner' + | 'developer' + | 'admin' + | 'success' + | 'warning' + | 'error' + | 'black' + | 'white' + | string; align?: 'inherit' | 'left' | 'center' | 'right' | 'justify'; display?: 'initial' | 'block' | 'inline'; gutterBottom?: boolean; diff --git a/src/components/Text/styles.ts b/src/components/Text/styles.ts index 4bd30e8..2fe7f2e 100644 --- a/src/components/Text/styles.ts +++ b/src/components/Text/styles.ts @@ -1,7 +1,17 @@ import styled, { css } from 'styled-components'; type WrapperProps = { - color?: 'client' | 'productOwner' | 'developer' | 'admin' | string; + color?: + | 'client' + | 'productOwner' + | 'developer' + | 'admin' + | 'success' + | 'warning' + | 'error' + | 'black' + | 'white' + | string; align?: 'inherit' | 'left' | 'center' | 'right' | 'justify'; display?: 'initial' | 'block' | 'inline'; gutterBottom?: boolean;