Download the PHP package dulce/statamic-adobe-fonts without Composer
On this page you can find all versions of the php package dulce/statamic-adobe-fonts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dulce/statamic-adobe-fonts
More information about dulce/statamic-adobe-fonts
Files in dulce/statamic-adobe-fonts
Package statamic-adobe-fonts
Short Description Manage self-hosted Adobe Typekit Fonts in Statamic
License MIT
Informations about the package statamic-adobe-fonts
Statamic Adobe Fonts
Statamic Adobe Fonts is a Statamic addon that makes self-hosting Adobe Typekit Fonts as frictionless as possible for Statamic users.
Features
This addon provides:
- Self-hosting of Adobe Typekit Fonts on your own server.
- Ability to customize which Adobe Typekit Fonts are hosted.
Installation
You can install this addon from the Tools > Addons
section of the Statamic control panel by searching for "Adobe Fonts" and clicking install. Alternatively, you can run the following command from your project root:
After the package is installed, you can publish the configuration file with:
This will create a statamic-adobe-fonts.php
config file in your config
directory.
Configuration
To load fonts in your application, register an Adobe Typekit Fonts embed URL in the statamic-adobe-fonts.php
config file:
Replace [project-id]
with your actual project ID from Adobe Typekit.
Usage
Once the addon is installed, you can configure which Adobe Fonts you want to use by editing the statamic-adobe-fonts.php
config file in your config
directory.
In your Antlers templates, you can use the provided Antlers tag to include the necessary CSS for the Adobe Fonts:
This tag will output the necessary CSS link to include the Adobe Fonts in your website.
To use an Adobe Font in your website, simply use the font's name in your CSS. For example:
Please refer to the Adobe Fonts documentation for a complete list of available fonts and their corresponding CSS classes.
All versions of statamic-adobe-fonts with dependencies
statamic/cms Version ^5.0
illuminate/contracts Version ^12.0
illuminate/support Version ^12.0
spatie/laravel-package-tools Version ^1.16.0