Font Weights
Contains pre-defined values for common font weights.
Example
import { Text, font_weights } from ui
export var main = Text("Hello, world!", font_weight: font_weights.bold)
Properties
thin
thin: Int { get }
Equivalent to 100.
extra_light
extra_light: Int { get }
Equivalent to 200.
light
light: Int { get }
Equivalent to 300.
normal
normal: Int { get }
Equivalent to 400.
medium
medium: Int { get }
Equivalent to 500.
demi_bold
demi_bold: Int { get }
Equivalent to 600.
bold
bold: Int { get }
Equivalent to 700.
extra_bold
extra_bold: Int { get }
Equivalent to 800.
black
black: Int { get }
Equivalent to 900.