Skip to content

FontWeight

Inherits: Enum

The thickness of the glyphs used to draw the text.

Properties

  • BOLD

    A commonly used font weight that is heavier than normal, equal to w700.

  • NORMAL

    The default font weight, equal to w400.

  • W_100

    Thin, the least thick.

  • W_200

    Extra-light.

  • W_300

    Light.

  • W_400

    Normal / regular / plain.

  • W_500

    Medium.

  • W_600

    Semi-bold.

  • W_700

    Bold.

  • W_800

    Extra-bold.

  • W_900

    Black, the most thick.

Properties#

BOLD = 'bold' #

A commonly used font weight that is heavier than normal, equal to w700.

NORMAL = 'normal' #

The default font weight, equal to w400.

W_100 = 'w100' #

Thin, the least thick.

W_200 = 'w200' #

Extra-light.

W_300 = 'w300' #

Light.

W_400 = 'w400' #

Normal / regular / plain.

W_500 = 'w500' #

Medium.

W_600 = 'w600' #

Semi-bold.

W_700 = 'w700' #

Bold.

W_800 = 'w800' #

Extra-bold.

W_900 = 'w900' #

Black, the most thick.