IThemeDocumentsColors
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Colors offered to documents, one list per kind of paint.
export interface IThemeDocumentsColors
Remarks
The ids default, surface and inverse (backgrounds), default, muted and inverse (texts), default (lines) and accent (any list) always resolve, falling back to the platform palette.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) (Optional) | |||
(ALPHA) (Optional) Borders, dividers, accent bars, gridlines and axis lines. | |||
(ALPHA) (Optional) | |||
(ALPHA) (Optional) Colors of visualizations: stated inline, or a reference to a color palette object. When absent, documents use the workspace’s active color palette. |
Property details
IThemeDocumentsColors.backgroundspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
backgrounds?: IThemeDocumentsColor[];
IThemeDocumentsColors.linespropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Borders, dividers, accent bars, gridlines and axis lines.
lines?: IThemeDocumentsColor[];
IThemeDocumentsColors.textspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
texts?: IThemeDocumentsColor[];
IThemeDocumentsColors.visualizationPalettepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Colors of visualizations: stated inline, or a reference to a color palette object. When absent, documents use the workspace’s active color palette.
visualizationPalette?: PublisherColorValueV2[] | IThemeColorPaletteRef;