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

add variables for background color of card header, content and footer #1619

Merged
merged 2 commits into from
Apr 8, 2018

Conversation

doc75
Copy link
Contributor

@doc75 doc75 commented Jan 21, 2018

This is an improvement.

I added 3 new variables to allow customization of the card background for:

  • card-header
  • card-content
  • card-footer

Proposed solution

This PR allow to set the background differently for each part of a card:

  • card-header with card-header-background-color
  • card-content with card-content-background-color
  • card-footer with card-footer-background-color

Tradeoffs

None, the default behavior is unchanged (all 3 color are set to none by default)

Testing Done

I have tested it on a personal website.
I checked all 3 cases with custom colors

@jgthms jgthms merged commit 79a46c0 into jgthms:master Apr 8, 2018
@oppenheimer-
Copy link

Don't want to crash the party, but "background-color: none" ist not valid.
Please change those variables to transparent or unset (css 3), @doc75

@doc75
Copy link
Contributor Author

doc75 commented Apr 28, 2018

@oppenheimer- good remark.
PR #1838 submitted to fix this.

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