From 654a9bf9caccc268da787819ec00a4cc603587ff Mon Sep 17 00:00:00 2001 From: Jason Beggs Date: Mon, 11 Dec 2017 14:26:56 -0500 Subject: [PATCH] Update font docs to include note about wrapping fonts in quotes --- docs/source/docs/fonts.blade.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/source/docs/fonts.blade.md b/docs/source/docs/fonts.blade.md index d08385d6e..833dd14ee 100644 --- a/docs/source/docs/fonts.blade.md +++ b/docs/source/docs/fonts.blade.md @@ -40,5 +40,36 @@ features: ], 'variants' => [ 'responsive', - ], + ] ]) + +### Note + +Some fonts, such as fonts with an integer in their name, are required to be wrapped in quotes. + +For example: +```js +// ... + +module.exports = { + // ... + fonts: { + sans: [ + 'Exo 2', // Replace this... + '"Exo 2"', // With this... + '-apple-system', + 'BlinkMacSystemFont', + 'Segoe UI', + 'Roboto', + 'Oxygen', + 'Ubuntu', + 'Cantarell', + 'Fira Sans', + 'Droid Sans', + 'Helvetica Neue', + 'sans-serif' + ], + // ... + } +} +``` \ No newline at end of file