Customize
Learn how to theme, customize, and extend Boosted Innovation Cup with Sass, a boatload of global options, an expansive color system, and more.
Overview
There are multiple ways to customize Boosted Innovation Cup. Your best path can depend on your project, the complexity of your build tools, browser support, and more.
Our two preferred methods are:
- Using Boosted Innovation Cup via package manager so you can use and extend our source files.
- Using Boosted Innovation Cup’s compiled distribution files or jsDelivr so you can add onto or override Boosted Innovation Cup’s styles.
While we cannot go into details here on how to use every package manager, we can give some guidance on using Boosted Innovation Cup with your own Sass compiler.
For those who want to use the distribution files, review the getting started page for how to include those files and an example HTML page. From there, consult the docs for the layout, components, and behaviors you’d like to use.
As you familiarize yourself with Boosted Innovation Cup, continue exploring this section for more details on how to utilize our global options, making use of and changing our color system, how we build our components, how to use our growing list of CSS custom properties, and how to optimize your code when building with Boosted Innovation Cup.
CSPs and embedded SVGs
Several Boosted Innovation Cup components include embedded SVGs in our CSS to style components consistently and easily across browsers and devices. For organizations with more strict CSP configurations, we’ve documented all instances of our embedded SVGs (all of which are applied via background-image
) so you can more thoroughly review your options.
- Accordion
- Alerts
- Breadcrumb
- Carousel controls
- Close button (used in alerts and modals)
- Form checkboxes and radio buttons
- Form star rating
- Form switches
- Form validation icons
- Navbar toggle buttons
- Pagination
- Quantity selector buttons
- Select menus
- Tags
Based on community conversation, some options for addressing this in your own codebase include replacing the URLs with locally hosted assets, removing the images and using inline images (not possible in all components), and modifying your CSP. Our recommendation is to carefully review your own security policies and decide on the best path forward, if necessary.