-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
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
Primer border update #404
Primer border update #404
Conversation
|
|
||
const sizes = primitivesVariables('spacing') | ||
|
||
// Add +-1px to each value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change to support cases where people decrease spacing to accommodate border width?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea in the spacing thing was if someone wrote padding: 7px;
we'd fail but also suggest they use --base-size-8
since it's 1 px off from the preferred value
…nfig into primer_border_update
Relates to https://github.com/github/primer/issues/3250