Skip to content

Eoler/oc-mdlize-theme

 
 

Repository files navigation

Blank-Materialize

A blank theme for OctoberCMS with Materialize framework & jQuery.

Installation

$ php artisan theme:install eoler.mdlize <theme>

Replace <theme> with the name of your theme.

Using the theme

$ php artisan theme:use <name>

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

Customize

If you are not planning to use Materialize icons, remove this line: <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Comment out unwanted component styles / scripts to create custom Materialize library in:

  • assets/scss/materialize.scss
  • assets/es6/materialize.js

Development changes can be automated with command-line instruction inside theme root:

gulp watch

Build optimized, minified, versioned, autoprefixed assets with command-line instruction inside theme root:

gulp [upbuild] --production

One-time Development Environment Setup

Install NodeJS and Node Package Manager globally (LTS version required). Run the following command-line instructions inside theme root:

npm install --global gulp bower
npm install

Alternative NPM-compatible package manager Yarn could be used:

yarn

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.9%
  • HTML 22.1%