From 542113489b1845f9c9d21c2c2f39495798444267 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 12 Mar 2024 16:25:40 -0700 Subject: [PATCH] docs: add basic setup information --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 93c6250..6d0848f 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,23 @@ Then, when you use a `font-family` in your CSS, we check to see whether it match You should read [their terms in full](https://www.fontshare.com/licenses/itf-ffl) before using a font through `fontshare`. +### `adobe` + +[Adobe Fonts](https://fonts.adobe.com/) is a font service for both personal and commercial use included with Creative Cloud subscriptions. + +To configure the Adobe provider in your Nuxt app, you must provide a Project ID or array of Project IDs corresponding to the Web Projects you have created in Adobe Fonts. + +```ts +export default defineNuxtConfig({ + modules: ['@nuxt/fonts'], + fonts: { + adobe: { + id: ['', ''], + }, + } +}) +``` + ### Writing a custom provider The provider API is likely to evolve in the next few releases of Nuxt Fonts, but at the moment it looks like this: