Skip to content

A framework of css and javascript that Werkbot uses as a foundation to build our websites.

License

Notifications You must be signed in to change notification settings

werkbot/framewerk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Framewerk

A framework of css and javascript that Werkbot uses as a foundation to build websites.

Installation

npm i werkbot-framewerk --save-dev


Setup

Include this at the top of your main sass file:

@import 'werkbot-framewerk/sass/fw-bundle';

Depending on your setup, you may need to include node_modules in your build path. For example, we include: importPath: 'node_modules' for compass

If you define your own $theme-properties and extend the breakpointResponsive property with additional breakpoints, you will need to include the postcss-sort-media-queries plugin. The order in which @media queries are defined in the CSS does matter. This CSS library uses a "desktop-first" approach for media queries, so be sure to configure the plugin accordingly:

require('postcss-sort-media-queries')({
    sort: 'desktop-first',
})

Javascript Setup

Include this in your main js file:

require('werkbot-framewerk');


Further Documentation

About

A framework of css and javascript that Werkbot uses as a foundation to build our websites.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published