Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IFontWeight<T>

Provides a set of aliases that must be implemented in classes that extend the interface. These provide helpful named properties for accessing the divisions in the context of font weights.

example
Strawman example ```ts const weights = new Weights(); length.light; // -> 400; length.normal; // -> 500; length.bold; // -> 700; ```

Type parameters

  • T

Hierarchy

  • IFontWeight

Implemented by

Index

Properties

Properties

bold

bold: T

Usually accesses division 700

light

light: T

Usually accesses division 400

normal

normal: T

Usually accesses division 500