This repo consists of static assets for CSS, JS, and Sass components. Choose your own build tools or use the dist versions.
This folder has all included files, such as fonts and images, to support the CSS and JS for our theme.
All distribution/production-ready CSS and JavaScript files. Drop these directly into your project to get started.
Please don't hotlink directly to the files on GitHub. We may provide these files in a hosted environment in the future. Please reach out to us if you're interested in that delivery method for your project.
This will include sample footer files that can be used in your projects.
This will include sample header files that can be used in your projects.
Any included libraries, such as Bootstrap.
Includes Sass and JavaScript working files.
These were pulled from the WordPress theme so, depending on your project, you may need some, all, none, or edited versions of these files for your project.
A sample HTML starter page with the dist CSS and JS loaded in.
In theory, you should be able to use these files to style any Bootstrap classed HTML and end up with UW-styled components. You may need to tweak or finesse.
Start with HTML directly from Bootstrap for best results. We've had success testing by dropping in HTML copied and pasted from the Bootstrap example pages with the dist
files.
The important files to include for all of Bootstrap to work with UW styling:
dist/css/style.css
(includes Bootstrap CSS)dist/js/bootstrap.bundle.min.js
- this includes popper.jsdist/js/jquery.min.js
If you are building components individually or are integrating directly into your project, make sure you are including jQuery, Popper.js, and the Bootstrap.js files. Popper.js is required for tooltips and popovers.
Note: For properly loading font and image assets, it's assumed your stylesheet is in a folder and not the website root (e.g. a css
folder) and the assets
folder structure is copied as-is to the root of your project. If you need another structure, you may need to adjust and rebuild the Sass files.