IThemeDocuments
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
How documents with content version 2 look.
export interface IThemeDocuments
Remarks
A key left out falls back to the matching platform key, then the complementary palette, then the built-in default. Only documents follow it; the Publisher UI around them follows the platform theme.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) (Optional) | |||
(ALPHA) (Optional) | |||
(ALPHA) (Optional) | |||
(ALPHA) (Optional) | |||
(ALPHA) (Optional) | |||
Record<string, IThemeDocumentsShadow> | (ALPHA) (Optional) | ||
(ALPHA) (Optional) | |||
(ALPHA) (Optional) | |||
(ALPHA) (Optional) The default look of a takeaway widget. | |||
(ALPHA) (Optional) |
Property details
IThemeDocuments.chartpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
chart?: IPublisherChartStyleV2;
IThemeDocuments.colorspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
colors?: IThemeDocumentsColors;
IThemeDocuments.cornerspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
corners?: IThemeDocumentsCorners;
IThemeDocuments.headlinepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
headline?: IPublisherHeadlineStyleV2;
IThemeDocuments.pagepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
page?: IThemeDocumentsPage;
IThemeDocuments.shadowspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
shadows?: Record<string, IThemeDocumentsShadow>;
IThemeDocuments.spacingpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
spacing?: IThemeDocumentsSpacing;
IThemeDocuments.tablepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
table?: IPublisherTableStyleV2;
IThemeDocuments.takeawaypropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
The default look of a takeaway widget.
takeaway?: IPublisherTextWidgetStyleV2;
IThemeDocuments.textStylepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
textStyle?: IThemeDocumentsTextStyle;