Skip to content
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

Remove bourbon from admin #2491

Merged
merged 2 commits into from
Jan 12, 2018
Merged

Conversation

jhawthorn
Copy link
Contributor

@jhawthorn jhawthorn commented Jan 8, 2018

Bourbon has deprecated most of its features, and removed them in the newly released 5.0.0.

The only remaining feature we're using is the directional property shorthand, which allows declaring css positional properties with null. For example:

@include margin(null auto);

to generate

margin-left: auto;
margin-right: auto;

It's nice enough, but I don't think it's enough of a benefit to justify including bourbon.

I've compared the compiled CSS before and after this change and as far as I can tell they are identical.

Users who have used bourbon for their own styles can easily continue including it in their own application.

Bourbon provides these shorthands for declaring css positional
properties with null. For example:

   @include margin(null auto);

to generate

   margin-left: auto;
   margin-right: auto;

It's nice enough, but I don't think it's enough of a benefit to justify
including bourbon.

Users who have used bourbon for custom styles can easily include it in
their own application.
@jhawthorn jhawthorn added the changelog:solidus_backend Changes to the solidus_backend gem label Jan 8, 2018
@jhawthorn jhawthorn merged commit 4745ded into solidusio:master Jan 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants