Giter Site home page Giter Site logo

blank-bootstrap-theme's Introduction

Blank-Bootstrap

Blank scaffold for OctoberCMS which includes Twitter Bootstrap, jQuery and Font Awesome. Built using Less.

Installation

$ php artisan theme:install krisawzm.blank-bootstrap <theme-dir>

Replace <theme-dir> with whatever fits the site you're building.

Activating the theme

$ php artisan theme:use <name>

Where <name> is whatever you specified in theme:install.

Post installation

You can choose for yourself how you add your own styling. My recommendation is creating a subdirectory in assets/less for the project you're building. This theme ships with assets/less/site - keep it or delete it.

Customizing Bootstrap

Customize Bootstrap variables by adding them in assets/less/twbs/custom-variables.less

Choose which Less components you wish to include in assets/less/twbs/custom-components.less

JavaScript

Choose which Bootstrap jQuery plugins you wish to include in the layout file (layouts/default.htm). To minimize the file size, you should only include the plugins you actually will be using.

This theme includes the @framework and @framework.extras JS assets in the layout file. They can be removed unless you actually will be using them.

Removing Font Awesome

  • Remove @import statement in assets/less/app.less
  • Delete directory assets/less/fa
  • Delete directory assets/vendor/font-awesome

Other files

README.md may be deleted.

version.yaml may be deleted.

theme.yaml should be emptied (not deleted).

assets/images/theme-preview.png should either be deleted or replaced with a screenshot of your final theme.

This scaffold also includes the @jquery, @framework and @framework.extras JS assets in layouts/default.htm which can be removed unless you're planning on using them.

Consult the official documentation for more information on theme development.

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.