Getting started

Find out what's included in your theme and how to customize & compile source files. Plus examples and code snippets for components, utilities and plugins.

Introduction

Hi, I hope you find this theme useful! it has been crafted on top of the Bootstrap 4 framework; these docs by no means replace the official ones, but provide a clear view of all the extended styles and new components that this theme provides on top of the framework.

This introduction includes the information to understand how it is organized, make changes to the source code, compile and extend it to fit your needs.

Thanks, and enjoy!

What's included

Inside the theme folder you’ll find the following directories and files, organizing resources and providing both compiled and minified distribution files, as well as the source files.

Gulpfile.js

The theme includes a custom Gulp file, which can be used to quickly re-compile and minify the theme’s SCSS and JS files and also to optimize images. You’ll need to install both Node and Gulp before using our included gulpfile.js.

After installing gulp, make sure you’ve installed the rest of the theme’s dependencies:

$ npm install

Now you're ready to to modify your source files and run gulp to generate new local dist/ files automatically. We've also included a gulp watch command so it keeps track of changes and compile the files on the fly.

Theme source code

The scss/ and js/ directories contain the source code for the CSS and JS. Within these folders you'll find the next subdirectories:

bootstrap/, which contains Bootstrap (v4.0.0-beta)

custom/, which contains all the styles and components made specifically for this theme.

vendor/, contains all the external plugins and their styles that are used in this theme.

The dist/ folder includes everything above built into a single CSS and JS file already compressed and minified.

For the styles, scss/theme.scss is the entry point for scss files. To make changes, simply modify your local custom files or edit the imports listed here.

Basic template

The basic template is a guideline for how to structure your pages when building new ones using this theme. Included below are all the necessary bits for using the theme’s CSS and JS.