The library can be broken into much smaller, Paragraphs bundle specific libraries for better performance.
bootstrap_paragraphs/bootstrap-paragraphs
Base library which will contain these sections from the less/css:
Base Paragraph Styling.
Here we add Widths.
Nesting paragraphs helpers.
Break Colors out into own file.
bootstrap_paragraphs/bp-accordion
Accordion Paragraph.
bootstrap_paragraphs/bp-carousel
Carousel Paragraph.
bootstrap_paragraphs/bp-columns
Columns Paragraph.
(Need to split the first rule into the three column libraries)
bootstrap_paragraphs/bp-columns-two
Two Uneven Columns Paragraph.
bootstrap_paragraphs/bp-columns-three
Three Uneven Columns Paragraph.
bootstrap_paragraphs/bp-image
Image Paragraph.
bootstrap_paragraphs/bp-modal
Modal Paragraph.
bootstrap_paragraphs/bp-tabs
Tabs Paragraph.
Comments
Comment #3
thejimbirch commentedComment #5
thejimbirch commentedComment #7
thejimbirch commentedRenamed Base library back to bootstrap-paragraphs, better for those who have forked/extended it.
Still to do, either add a template for Columns or better yet, add a condition in the base template using something like this:
And break out the bp-columns library there.
Don't forget to add it to the other two columns bundles.
Comment #10
thejimbirch commentedComment #11
thejimbirch commentedFixed in dev.
Code for that was:
Comment #12
thejimbirch commented