-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Specific breakpoints in padding CSS #435
Comments
I think that's reasonable, will add this to our next release. |
One way we could handle this is to have the |
@mdo If I'm reading it right, this code should produce no output: $breakpoints: ();
@include breakpoint(lg) {
.foo { color: rebeccapurple; }
} Can you confirm that customizing your |
^^ bump @mdo |
Haven't had the time to jump into code around this again, and I'm unsure when I'll step back into it either at this point. 😬 |
Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days. |
https://github.com/primer/primer/blob/a09c6573bb0db052f37055cf82c49096f57e3087/modules/primer-utilities/lib/padding.scss#L69-L84
Can this chunk of CSS be moved to a separate file by chance? Customizing our breakpoints Sass map means we can eliminate breakpoint-specific CSS when it's not needed. For example, a project I'm working on only needs up to
md
. However, to use any of the padding utilities, this CSS requires there to be alg
breakpoint.The text was updated successfully, but these errors were encountered: