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

Removes hardcoded colors references on variables.scss #24603

Merged
merged 1 commit into from
Oct 30, 2017

Conversation

andresgalante
Copy link
Collaborator

@andresgalante andresgalante commented Oct 30, 2017

This PR fixes #24600 and changes colors references on variables.scss from hardcoded to variables on the theme to keep consistency.

@mdo @XhmikosR there are 2 colors that are not on our color variables but can be closely achieved with darken and lightnen functions of $red and $yellow:

https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L285
https://github.com/twbs/bootstrap/blob/v4-dev/scss/_variables.scss#L862

do you think it's worth it? or is it better to just leave them hardcoded?

@andresgalante andresgalante requested review from mdo and XhmikosR October 30, 2017 12:39
@andresgalante andresgalante changed the title Changes colors references on variables.scss Removes hardcoded colors references on variables.scss Oct 30, 2017
@mdo mdo merged commit 904f22c into v4-dev Oct 30, 2017
@mdo mdo deleted the v4-dev-andres-variables-colors branch October 30, 2017 20:10
@mdo mdo mentioned this pull request Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants