Skip to content

sekmet/netlify-cms-widget-fontpicker

Repository files navigation

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.

About

A Google Font Picker widget for Netlify CMS.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published