netlify-cms-widget-fontpicker

0.5.3 • Public • Published

netlify-cms-widget-fontpicker

A Google Font Picker widget for Netlify CMS.

npm version GitHub version MIT license

Install

As an npm package:

yarn add netlify-cms-widget-fontpicker
 
OR
 
npm install --save netlify-cms-widget-fontpicker
import NetlifyCmsWidgetFontpicker from 'netlify-cms-widget-fontpicker';
 
CMS.registerWidget([
  NetlifyCmsWidgetFontpicker.Widget()
])

How to use

Add to your Netlify CMS configuration:

    fields:
      { name: <fieldname>, label: <fieldlabel>, widget: fontpicker }

Configuration

Add your Google Fonts API key as a enviroment variable

GOOGLE_FONTS_API_KEY=YOUR-KEY

Support

For help with this widget, open an issue or ask the Netlify CMS community in Gitter.

Package Sidebar

Install

npm i netlify-cms-widget-fontpicker

Weekly Downloads

1

Version

0.5.3

License

MIT

Unpacked Size

2.25 MB

Total Files

25

Last publish

Collaborators

  • sekmet