1.0.8 • Published 10 years ago

recodelib v1.0.8

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

#Recode A library for reusable Sass Placeholders and JavaScript Modules.

Install using npm:

npm install recodelib --save-dev

Sass Placeholders

Each placeholder have default variables that you can override. Have a look at the documentation to get a better understanding of each placeholder.

Add recode to your include path (if you use gulp-sass etc.).

includePaths: require('recodelib')

Import recode to your sass file.

@import "recode";

Ready to go, for example.

div {
	@extend %grid-row;

	div {
		@extend %grid-column-12;		
	}
}

JavaScript Modules

Have a look at the documentation to get a better understanding of each module.

If you are using browserify it finds the module automatically and adds it to the bundle. Just require a module in your application script to get started.

var fixed = require('recodelib/modules/fixed');
fixed(document.getElementById('menu'));

Maintenance

Before publishing to NPM you must run gulp bundle.

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago