Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

feat(css): create a Theme to override Bootstrap colors #201

Merged
merged 3 commits into from
Jan 10, 2020

Conversation

MatthewDorner
Copy link
Contributor

@MatthewDorner MatthewDorner commented Jan 7, 2020

Fixes #35. The colors will probably change, but the idea is to get the system in place and show how the SASS variables can also be used to theme custom and non react-bootstrap components, as I do with the react-toastify component in this PR.

buttons

Changes proposed in this pull request:

  • Add _variables.scss to overwrite default Bootstrap colors.
  • Add SASS to toast component to demonstrate how theme can be applied.

Newly added dependencies with Bundlephobia links:

Add scss to overwrite default Bootstrap colors. Add scss to toast component to demonstrate how theme
can be used.

HospitalRun#35
@jackcmeyer jackcmeyer added the enhancement New feature or request label Jan 7, 2020
@jackcmeyer jackcmeyer added this to In progress in Version 2.0 via automation Jan 7, 2020
@jackcmeyer jackcmeyer added this to the v1.0.0 milestone Jan 7, 2020
@MatthewDorner
Copy link
Contributor Author

those tests are failing when webpack tries to load the sass files. I'll look into that

@jackcmeyer
Copy link
Member

Once the failing builds get fixed, I think that this looks good. I think the approach will work and it will also take care of this PR: #195

Copy link
Member

@jackcmeyer jackcmeyer left a comment

Choose a reason for hiding this comment

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

🎉🎉🎉

@ghost
Copy link

ghost commented Jan 10, 2020

🎉 This PR is included in version 0.28.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@ghost ghost added the released label Jan 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Version 2.0
  
Done
Development

Successfully merging this pull request may close these issues.

Themeing
3 participants