We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am making Box Component using @xstyled/system and styled-component like this.
@xstyled/system
styled-component
export type BoxProps = SystemProps<typeof theme>; const Box = styled.div<BoxProps>(system); export default Box;
and i want to see only the colors i defined in theme object.
export interface Colors { primary: string; ... } export const theme = { colors: { primary: '#efefef', ... } }
but when i try to input color prop in Box Components, there are suggestions including color preset.
is there any way to show only the colors i defined in theme objects?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am making Box Component using
@xstyled/system
andstyled-component
like this.and i want to see only the colors i defined in theme object.
but when i try to input color prop in Box Components, there are suggestions including color preset.
is there any way to show only the colors i defined in theme objects?
The text was updated successfully, but these errors were encountered: