Closed ceko closed 8 years ago
Here's an example of my branding file:
@brand-primary: #7c61a0;
@brand-secondary: #513127;
@brand-success: #513127;
@brand-info: #5bc0de;
@brand-warning: #f0ad4e;
@brand-danger: #d9534f;
@active-navbar-font-color:#7c61a0;
This is an awesome change! Thank you so much for your continued contributions to this project!
This is a small change that is a huge quality of life improvement when branding the site. I inserted an optional import for a file named "custom.branding.import.less" that should live at client/stylesheets/vendor/custom.branding.import.less
This file lets you override the branding set up in client/stylesheets/vendor/custom.bootstrap.import.less so I can keep a lot of your theming, but just tweak the colors on nearly all the site elements.
I also moved a hardcoded color from an element and put it in the petition.less file, so I can change it with my branding file.
If the custom branding file does not exist when the site is loaded, then it won't know to refresh the site when you add/edit it. If you're testing this in development, make sure to restart the development server when testing whether it works with/without the import file.