Name: helper-uigradient
Owner: Helpers
Description: Template helper that generates the CSS for any of the gradients from Ghosh/uiGradients
Created: 2017-01-05 22:02:15.0
Updated: 2018-04-23 09:11:55.0
Pushed: 2017-06-10 22:56:36.0
Homepage: null
Size: 23
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Template helper that generates the CSS for any of the gradients from Ghosh/uiGradients
Install with npm:
m install --save helper-uigradient
Example for handlebars, but this should work for any template engine that takes helpers or filters.
handlebars = require('handlebars');
lebars.registerHelper('gradient', require('helper-uigradient'));
Then use in your templates like this:
le>
age-header {
{{gradient "Man of steel"}}
yle>
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)
To generate the readme, run the following command:
m install -g verbose/verb#dev verb-generate-readme && verb
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
m install && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the MIT License.
This file was generated by verb-generate-readme, v0.6.0, on June 10, 2017.