Code Monkey home page Code Monkey logo

bootstrap-theme's Introduction

๐Ÿš€ Government of British Columbia Bootstrap v4 Theme

Getting Started instructions

Full documentation and demonstrations of the theme

A Bootstrap version 4.3 BC Government look-and-feel featuring:

  • The BC Sans typeface
  • Compatibility with pure Bootstrap markup
  • A few additions:
    • bcgold colour classes for the old-style gold buttons (btn-bcgold, bg-bcgold, etc)
    • card classes to replace the old panel styles (card-primary, card-success, etc)
  • Increased contrast for accessibility
  • No Javascript extensions. Bootstrap itself, jQuery and popper.js are optional dependencies
  • Source SCSS files are included in the distribution, allowing local customizations
  • Supports NPM, Yarn and Bower package manager integration
  • Includes sample HTML pages and common components like headers and footers for quick setup

The project is a successor to the previous Gov-2.0-Bootstrap-Skeleton and mygovbc-bootstrap-theme. We combined the best of both projects and leverage the latest Bootstrap version.

Theme Developers

If you find yourself wanting to enhance or fix the theme you'll be interested reading this section on how to setup this source on your local device.

First, we do accept pull requests and will promptly merge fixes or enhancements if they make sense for the rest of the relying applications. Note, you should probably check out our issues and/or raise an issue before doing the pull request.

Tools Setup

You'll need the following tools installed on your device to begin working on the theme:

  • The Git client and a GitHub account
  • NodeJS 6 or greater with NPM 3 or greater to build
  • Ruby or Docker to build the Jekyll docs

First Install

After your tools are in place, you should clone and install some packages:

git clone [email protected]:bcgov/bootstrap-theme.git
cd bootstrap-theme
npm install
gem install bundler
bundle install

Building Dist

To build the styles, Javascript and other assets, use:

npm run build

Or for continous building:

npm run watch

Building Docs

To build the docs (Jekyll), use:

npm run docs-compile

Or for continuous building and serving:

npm run docs-serve

Developer Workflow

In two different shells, run npm run watch and npm run docs-serve.

If you prefer to build inside a Docker container, run ./jekyll-docker.sh serve.

bootstrap-theme's People

Contributors

andrewwhitehead avatar gregturner avatar wadebarnes avatar mark-a-wilson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.