Easily add Google Fonts to your Flarum install
Switch branches/tags
Nothing to show
Clone or download
Latest commit 02b45bf Dec 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
js Update for beta 8 Dec 9, 2018
resources Update for beta 8 Dec 9, 2018
src Update for beta 8 Dec 9, 2018
.editorconfig First commit Jul 5, 2017
.gitattributes Update for beta 8 Dec 9, 2018
.gitignore Update for beta 8 Dec 9, 2018
LICENSE.md First commit Jul 5, 2017
README.md Update for beta 8 Dec 9, 2018
composer.json Update for beta 8 Dec 9, 2018
extend.php Update for beta 8 Dec 9, 2018

README.md

Fonts by Flagrow logo Flagrow, a project of Gravure

MIT license Latest Stable Version Total Downloads Donate Join our Discord server

Easily add Google Fonts to your Flarum install.

Note: To work around an issue with Flarum, we disable horizontal scrolling of editor controls on mobile. This could make it impossible to access some buttons while on a narrow screen.

Install

Use Bazaar or install manually:

composer require flagrow/fonts

Usage

Before you start using the extension, create a Google Fonts API Key and save it in the extension settings (you should automatically get a prompt after enabling the extension).

Go to the Admin panel > Fonts to enable fonts.

Use them in your posts with the [font] BBCode. For example:

[font=Fresca]Hello World[/font]

Don't forget: adding many fonts will increase your website size and load time. Keep them to a minimum.

Support our work

We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on Patreon.

Security

If you discover a security vulnerability within Fonts, please send an email to the Gravure team at security@gravure.io. All security vulnerabilities will be promptly addressed.

Please include as many details as possible. You can use php flarum info to get the PHP, Flarum and extension versions installed.

Links

An extension by Flagrow, a project of Gravure.