Open creatrip-seungwoo opened 5 months ago
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?
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?