0.1.3 • Published 9 years ago

grunt-fontastic v0.1.3

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

grunt-fontastic

Update local version of Fontastic.me font.

Getting Started

This plugin requires Grunt ~0.4.5

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-fontastic --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-fontastic');

The "fontastic" task

Overview

In your project's Gruntfile, add a section named fontastic to the data object passed into grunt.initConfig().

grunt.initConfig({
  fontastic: {
    dist: {
      options: {
        processor: 'scss', // Currently support only scss && css :{
        base64: 'true', // Do you want to create woff base64 css file?
        key: '*****', // Fontastic User id
        stylesFile: './path/to/style.scss', // File where icon classes located. Use(// Fontastic) to separate them from other styles.
        base64File: './path/to/style.css' // File with font-face in base64
      }
    }
  },
});

Options

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

(Nothing yet)

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago