1.2.0 • Published 9 years ago

style-templateify v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

NPM

style-templateify

Template function generator from CSS/SASS styles for browserify.

Example

Styles:

.site__btn
	background: {{palette.bg}}

Script:

import BtnStyles from './btn.sasst'; // sasst/scsst/csst

var palette = {
	bg: "green"
};

console.log(BtnStyles({ palette })); // .site__btn { background: green }

Also you can use style-templateify with Node.js:

import { install } from 'style-templateify';

install();

...

import BtnStyles from './btn.sasst'; 
1.2.0

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

10 years ago

1.1.0

10 years ago