uifont

package
v0.2.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

internal/uifont

The faces lys-ui's default look is drawn in, embedded in every binary that imports the toolkit.

Geist-Variable.ttf, GeistMono-Variable.ttf

Geist and Geist Mono, as variable fonts (wght 100-900).

  • Source: https://github.com/vercel/geist-font at 75d647056bcbd9eaba3a14b1b58290d0692685d6, packages/next/dist/fonts/geist-sans/Geist-Variable.ttf and packages/next/dist/fonts/geist-mono/GeistMono-Variable.ttf
  • SHA-256:
    • Geist-Variable.ttf 73894e0448cae90a92b6c2f8732b7bb9acb7b94c418bff559dad4a18e1de9659
    • GeistMono-Variable.ttf 87c2aff9723544a9adaea19d92e42a33705c9723624801b6e0224c2206a6af0d
  • License: SIL Open Font License 1.1, see OFL.txt (copied from the same commit), which must stay beside the fonts. The license permits bundling and redistribution inside software.

The files are unmodified. To update them, download the variable fonts and OFL.txt from a newer commit, update the commit and checksums above, and review the widget goldens that use the UI face.

Documentation

Overview

Package uifont embeds the faces lys-ui's default look is drawn in: Geist and Geist Mono, as variable fonts so every weight is one file. internal/sysfont registers them in the font store, so they resolve by family name like any installed font. README.md records the source and checksums; OFL.txt is their license, which travels with them.

Index

Constants

View Source
const (
	Family     = "Geist"
	MonoFamily = "Geist Mono"
)

Family and MonoFamily are the embedded faces' family names.

Variables

View Source
var Mono []byte

Mono is Geist Mono's variable font file (wght 100-900).

View Source
var Sans []byte

Sans is Geist's variable font file (wght 100-900).

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL