Skip to content

Make component colors configurable - #28035

Merged
XhmikosR merged 4 commits into
v4-devfrom
v4-dev-martijncuppens-component-colors
Jan 20, 2019
Merged

XhmikosR merged 4 commits into
v4-devfrom
v4-dev-martijncuppens-component-colors

Conversation

@MartijnCuppens

Copy link
Copy Markdown
Member

I recently discovered properties aren't rendered if their value is set to null. That's quite interesting because this allows us to make things configurable without rendering useless code.

I used this technique to make it possible to change the default colors of the Bootstrap components.

Comment thread scss/_variables.scss
@mdo

mdo commented Jan 14, 2019

Copy link
Copy Markdown
Member

@MartijnCuppens Can you double check conflicts? <3

@MartijnCuppens
MartijnCuppens force-pushed the v4-dev-martijncuppens-component-colors branch from 245948f to 13a9e54 Compare January 14, 2019 18:11

@mdo mdo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@mdo mdo mentioned this pull request Jan 20, 2019
@XhmikosR
XhmikosR merged commit 59d040f into v4-dev Jan 20, 2019
@XhmikosR
XhmikosR deleted the v4-dev-martijncuppens-component-colors branch January 20, 2019 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants