IThemeDocumentsFontFace
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
One hosted font file registered as a font face for documents.
export interface IThemeDocumentsFontFace
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (ALPHA) | ||
“normal” | “italic” | (ALPHA) (Optional) | ||
string | (ALPHA) (Optional) | ||
string | (ALPHA) | ||
number | string | (ALPHA) (Optional) |
Property details
IThemeDocumentsFontFace.familypropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
family: string;
IThemeDocumentsFontFace.stylepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
style?: "normal" | "italic";
IThemeDocumentsFontFace.unicodeRangepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
unicodeRange?: string;
IThemeDocumentsFontFace.urlpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
url: string;
IThemeDocumentsFontFace.weightpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
"400 700" covers a variable font’s range with one face.
weight?: number | string;