interface WorkspaceThemeConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnWorkspace.WorkspaceThemeConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnWorkspace_WorkspaceThemeConfigProperty |
Java | software.amazon.awscdk.services.connect.CfnWorkspace.WorkspaceThemeConfigProperty |
Python | aws_cdk.aws_connect.CfnWorkspace.WorkspaceThemeConfigProperty |
TypeScript | aws-cdk-lib » aws_connect » CfnWorkspace » WorkspaceThemeConfigProperty |
Contains detailed theme configuration for a workspace, including colors, images, and typography.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const workspaceThemeConfigProperty: connect.CfnWorkspace.WorkspaceThemeConfigProperty = {
palette: {
canvas: {
activeBackground: 'activeBackground',
containerBackground: 'containerBackground',
pageBackground: 'pageBackground',
},
header: {
background: 'background',
invertActionsColors: false,
text: 'text',
textHover: 'textHover',
},
navigation: {
background: 'background',
invertActionsColors: false,
text: 'text',
textActive: 'textActive',
textBackgroundActive: 'textBackgroundActive',
textBackgroundHover: 'textBackgroundHover',
textHover: 'textHover',
},
primary: {
active: 'active',
contrastText: 'contrastText',
default: 'default',
},
},
typography: {
fontFamily: {
default: 'default',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| palette? | IResolvable | Workspace | The color palette configuration for the workspace theme. |
| typography? | IResolvable | Workspace | The typography configuration for the workspace theme. |
palette?
Type:
IResolvable | Workspace
(optional)
The color palette configuration for the workspace theme.
typography?
Type:
IResolvable | Workspace
(optional)
The typography configuration for the workspace theme.

.NET
Go
Java
Python
TypeScript