-
Notifications
You must be signed in to change notification settings - Fork 188
Gut out all the unused bootstrap components #524
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
Conversation
I've now taken the additional step of segmenting the remaining bootstrap code into component-based subfiles, which should allow for easier streamlining and customization in the future. Glyphicons have also been removed. |
Could we document the decisions about how these files are structured and why some are included while others are not? Eg, is this since kind of "core bootstrap" CSS that is documented somewhere? Doesn't have to be a lot of text but enough to help somebody orient themselves is they were trying to understand what's going on |
Yes. I can add a little explanation. It's a pretty standard trim down thus. Nothing all that different than the custom compiles in newer versions that leave our components you don't want. But we might branch from that before too long. So it'll be good to get something in there. |
@choldgraf I've added doc strings in assets/js/bootstrap.css and _sass/bootstrap/_index.scss. Have a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for adding the comments. Since this is a totally under-the-hood change let's merge it in. I suspect that somebody will notice once more 👀 are on it if something small has changed
Will leave this for a bit since it's a big-ish under the hood change, in case others object. If somebody else agrees though we should just merge it.
This patch removes unused bootstrap CSS. This will lighten the page by cutting out nearly 5,000 lines of code.
Everything related to the following has been cut. I suspect that more could be safely removed, but I figured lets get the bulk of this out of here first before we fine tune.