@molecule/app-fonts-plus-jakarta-sans
Provider bond · fonts · App (browser) · v1.0.3 · Apache-2.0
Plus Jakarta Sans — local, self-hosted font (no external CDN)
npm install @molecule/app-fonts-plus-jakarta-sansnpm · Source on GitHub · Implements @molecule/app-fonts
How it works
@molecule/app-fonts-plus-jakarta-sans is a provider bond on the app (browser) side: it implements the fonts core interface (@molecule/app-fonts) with a concrete vendor or library behind it.
Your code calls the core; you wire this provider once at startup. Swapping vendors later is one line in that wiring, not a rewrite.
import { setFont } from '@molecule/app-fonts'
import { font } from '@molecule/app-fonts-plus-jakarta-sans'
setFont(font) // once, at app startup — before first paintWorks with: @molecule/app-fonts
Reference
Plus Jakarta Sans font for molecule.dev.
Quick Start
import { setFont } from '@molecule/app-fonts'
import { font } from '@molecule/app-fonts-plus-jakarta-sans'
setFont(font) // once, at app startup — before first paint
Type
provider
Installation
npm install @molecule/app-fonts-plus-jakarta-sans @molecule/app-fonts
API
Constants
font
Plus Jakarta Sans font definition — local, self-hosted (no external CDN).
const font: FontDefinition
Core Interface
Implements @molecule/app-fonts interface.
Injection Notes
Requirements
Peer dependencies:
@molecule/app-fonts^1.0.1
Runtime Dependencies
@molecule/app-fonts