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' class-attribute instance-attribute #

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

NORMAL = 'normal' class-attribute instance-attribute #

The default font weight, equal to w400.

W_100 = 'w100' class-attribute instance-attribute #

Thin, the least thick.

W_200 = 'w200' class-attribute instance-attribute #

Extra-light.

W_300 = 'w300' class-attribute instance-attribute #

Light.

W_400 = 'w400' class-attribute instance-attribute #

Normal / regular / plain.

W_500 = 'w500' class-attribute instance-attribute #

Medium.

W_600 = 'w600' class-attribute instance-attribute #

Semi-bold.

W_700 = 'w700' class-attribute instance-attribute #

Bold.

W_800 = 'w800' class-attribute instance-attribute #

Extra-bold.

W_900 = 'w900' class-attribute instance-attribute #

Black, the most thick.