IWorkspaceStylingService
Home > @gooddata/sdk-backend-spi > IWorkspaceStylingService
IWorkspaceStylingService interface
This service provides access to workspace styling settings such as color palette.
Signature:
export interface IWorkspaceStylingService
Remarks
The contract here is that styling settings ARE applied in Analytical Designer and Dashboard applications and so any SDK code that embeds entities created by those applications MUST also use the same styling settings in order to maintain consistent user experience.
Methods
|
Method |
Description |
|---|---|
|
Clear active color palette setting from workspace. | |
|
Clear active theme setting from workspace. | |
|
Create a new color palette on the workspace level. | |
|
Create a new theme on the workspace level. | |
|
Delete a color palette on the workspace level. | |
|
Delete a theme on the workspace level. | |
|
Request active color palette setting from workspace. | |
|
Request active theme setting from workspace. | |
|
Asynchronously returns items in the color palette. | |
|
Request all color palettes defined on the workspace level. | |
|
Asynchronously returns theme. | |
|
Request all themes defined on the workspace level. | |
|
Set active color palette setting in workspace. | |
|
Set active theme setting in workspace. | |
|
Update an existing color palette on the workspace level. | |
|
Update an existing theme on the workspace level. |