-
-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
I am making Box Component using @xstyled/system
and styled-component
like this.
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?
Metadata
Metadata
Assignees
Labels
No labels