createdotnet / boilerplate

CSS Boilerplate
http://developers.create.net/wdk/
1 stars 2 forks source link

Create.net Boilerplate

A modular framework for styling the Create.net WDK eCommerce platform

We’ve decided to open source the building blocks we use to create the CSS and Javascript front-end of our customer templates. This framework is aimed at our WDK users and the internal development team at Create who use this to build all templates.

If you find a problem with the code or how it works please raise issues against it.

A full list of WDK tags for building your own markup and using colours can be found here.

NOTE: The below is a working draft.

There are a few ways to use the boilerplate

Depending on your coding experience and on how much of a base you want to start your project with.

1. If you are happy using Sass and Gulp/Grunt

NOTE: an example of this set up can be seen [here](). Coming Soon

Advantages of this method

2. If you just want the base styles

We have a build of the boilerplate CSS that can be included with a WDK tag. Add this tag to your templates index.html file and add your own CSS in the WDK editor.

Advantages of this method

3. If you want to tweak an existing template

NOTE: Coming Soon

We are open-sourcing one of our templates that uses the boilerplate. See here.

Copy these files in to the WDK editor and you will be ready to go live

Tweak the CSS or add styles to the end.

NOTE: If you find you are overriding a lot of styles from this template or writting a lot of CSS to reset other styles, you may be better off with one of the other methods above.