Skip to content

Removes hardcoded colors references on variables.scss#24603

Merged
mdo merged 1 commit intov4-devfrom
v4-dev-andres-variables-colors
Oct 30, 2017
Merged

Removes hardcoded colors references on variables.scss#24603
mdo merged 1 commit intov4-devfrom
v4-dev-andres-variables-colors

Conversation

@andresgalante
Copy link
Copy Markdown
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 XhmikosR and mdo 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