Skip to content

Set Box.defaultProps.borderColor? #222

Closed
@shawnbot

Description

@shawnbot

One thing I've noticed when adding borders to boxes is that it feels like we're asking a lot of our users to know that borderColor="gray.2" is necessary to make, say, borderBottom={1} "work". Does it make sense to have Box.defaultProps.borderColor = 'gray.2' so that borders can be activated with the border or border{Top,Bottom,Right,Left} props, and users don't have to internalize the default border color?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions