@molecule/app-fonts-jetbrains-mono
v1.0.2
Published
Developer-focused monospace font with ligatures (local fonts)
Maintainers
Readme
@molecule/app-fonts-jetbrains-mono
Auto-generated, AI-first package reference for the molecule.dev ecosystem. It is written to be read by coding agents as much as by people, and is generated from this package's source — edit
src/index.tsJSDoc, not this file.
JetBrains Mono font bond for molecule.dev — a developer-focused monospace
font. Exports a ready-made FontDefinition (font, role mono) with
locally-served TTF faces (regular 400, bold 700, variable 100-800).
Quick Start
import { setFont } from '@molecule/app-fonts'
import { font as mono } from '@molecule/app-fonts-jetbrains-mono'
setFont(mono) // once, at app startup — before first paintType
provider
Installation
npm install @molecule/app-fonts-jetbrains-mono @molecule/app-fontsAPI
Constants
font
JetBrains Mono font definition — developer-focused monospace font.
const font: FontDefinitionCore Interface
Implements @molecule/app-fonts interface.
Injection Notes
Requirements
Peer dependencies:
@molecule/app-fonts^1.0.1
Runtime Dependencies
@molecule/app-fontsFills the
monorole only (--mol-font-mono— code blocks, editors, terminals). It does not change the app's body font; pair with a sans bond (e.g.@molecule/app-fonts-inter) for UI text.Wire with
setFont()from@molecule/app-fonts, never a rawbond('font', …)—setFont()sets the CSS variable and injects the@font-facerules; a raw bond renders nothing.Serve this package's
fonts/directory at/fonts/or every face silently 404s and the system monospace fallback renders.
