Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.17 KB

A simple Bootstrap 4.x boilerplate theme for SilverStripe 4.x

No custom styling (except main and sub-navigation) - just native Bootstrap markup and css.

Third-party contents

Installation

with Composer:

composer require bimthebam/silverstripe-theme-bs4base ~1.0.0

manual:

Download the latest release and copy the contents - after extraction - into the themes/ directory.

Usage

To use the theme just activate it in your app/_config/theme.yml:

SilverStripe\View\SSViewer:
  themes:
    - 'silverstripe-theme-bs4base'
    - '$default'

Due to the support of cascading themes and the usage of includes (<% include ... %>) you can safely use this theme as base-theme for your project and easily override templates and css from withing your custom theme.

Development requirements

  • A sass-Compiler.

    My personal recommendation is SassC.