functions

FontWeight
Edited: Sunday 25 January 2026

FontWeight

Category: Theme
File: theme.go
Package: ui

Signature

1func FontWeight(f font.Weight) Wrapper

Description

Documentation pending. Contributions welcome!

Examples

FontWeight

1{
2	bold := FontWeight(font.Bold)(Label("Bold text"))
3	_ = bold
4}

Example Output


This documentation is auto-generated. To update, run make docs