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

Deprecate sass variables #1780

Merged
merged 12 commits into from
Mar 27, 2017
Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Mar 17, 2017

In preparation for #1777 we deprecate our basic typography and colour variables and use the Bootstrap equivalent variable instead.

By dog feeding our current defaults the look is still the same as before. In future versions we will remove our variables, so extension developers and shops should start to use the Bootstrap variables instead. The depreciation warning helps by the upgrade.

I also removed some duplicated style an variable definitions that were defined by Bootstrap and us.

This helps us deprecate variables used for customizing the Solidus backend and tell users to use the Bootstrap variables instead.
In favor of Bootstraps $font-size-root we deprecate our own $body-font-size variable and align Bootstraps body style with our own.
In favor of Bootstraps $font-family-base we deprecate our own $base-font-family variable and align Bootstraps body style with our own.
In favor of Bootstraps $body-bg we deprecate our own $color-body-bg variable and align Bootstraps body style with our own.
In favor of Bootstraps $body-color we deprecate our own $color-body-text variable and align Bootstraps body style with our own.
In favor of Bootstraps link color variables we deprecate our own link color variables and align Bootstraps style with our own.
string and b are already reset by Bootstraps normalize.
And use our 3px default value in Bootstraps custom override.
In favor of Bootstraps header size variables we deprecate our own header size variables and align Bootstraps style with our own.
We and Bootstrap set header font weight.

Removes our own definition and set our current default as Bootstraps default.
In favor of Bootstraps $headings-color we deprecate our own $color-headers variable and align Bootstraps body style with our own.
In favor of Bootstraps alert color variables we deprecate our own alert color variables and align Bootstraps style with our own.
@tvdeyen tvdeyen added the changelog:solidus_backend Changes to the solidus_backend gem label Mar 19, 2017
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and tedious. Thank you.

Copy link
Contributor

@jhawthorn jhawthorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Excellent

@jhawthorn jhawthorn merged commit 53f48f2 into solidusio:master Mar 27, 2017
@tvdeyen tvdeyen deleted the deprecate-sass-variables branch March 28, 2017 04:59
@mtomov
Copy link
Contributor

mtomov commented Mar 28, 2017

Tedious one indeed!, super 👍

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.

4 participants