5.1.16 • Published 10 months ago

@stjudecloud/theme-bootstrap v5.1.16

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
10 months ago

Quick Start

Use the following commands to get started quickly.

# Clone the repository and cd to themes/bootstrap
git clone https://github.com/stjudecloud/theme.git
cd theme/themes/bootstrap

# Install dependencies
npm install

# Build a dev AND production bundle in `dist/`. This is the default so both
# can be packaged in our npm releases, but you may specify `build:dev` or 
# `build:prod` if you only need one.
npm run build

# Run a watcher job that updates as you develop
npm start # or `npm run watch`

Versioning

This repository matches Bootstrap's two major version numbers. If this repository's version is v4.3.123, then it depends on Bootstrap v4.3.x.

What's Included

Compiled Assets

By default, the dist/ directory will include all of the files you need to host publicly to have the Bootstrap theme work on your site. Note that the dist/ directory contains both minified and non-minified assets. For now, we include both as the cost should be small to store both and you can easily replace the theme script to point to a development copy for debugging purposes.

dist
├── stjude-cloud-theme.css
├── stjude-cloud-theme.css.map
├── stjude-cloud-theme.min.css
├── stjude-cloud-theme.min.css.map
├── stjude-logo-child.10a0c66e.svg
├── stjude-logo-child.863ec0d6.svg
├── stjude-logo-child.f9d6fdfe.svg
...etc

Sass Files

The source Sass files are included in the sass/ directory of the published package. Most individuals will probably want to import the full theme, but you can selectively import elements as well. For example,

// Import full theme
@import "@stjudecloud/theme-bootstrap/scss/stjude-cloud-theme"

// Apply your site-specific components and other CSS
@import "@stjudecloud/theme-bootstrap/scss/typography"

Fonts and Images

To correctly include font families for a project as well as images, override the default $stjude-sans-font-path and $stjude-images-path variable.

Copyright

© 2021-Present St. Jude Children's Research Hospital.

5.1.16

10 months ago

5.1.14

10 months ago

5.1.12

1 year ago

5.1.11

1 year ago

5.1.10

1 year ago

5.1.9

1 year ago

5.1.8

1 year ago

5.1.3

3 years ago

5.1.2

3 years ago

5.1.1

3 years ago

4.3.22-rc.4

3 years ago

4.3.22-rc.3

3 years ago

4.3.22-rc.2

3 years ago

4.3.22-rc.1

3 years ago

4.3.22-0

3 years ago