netlify-cms-widget-fontpicker
v0.5.3
Published
A google font picker Widget for Netlify CMS.
Downloads
7
Maintainers
Readme
netlify-cms-widget-fontpicker
A Google Font Picker widget for Netlify CMS.
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.