interface PalettePrimaryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins.CfnWorkspacePropsMixin.PalettePrimaryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsconnect/mixins#CfnWorkspacePropsMixin_PalettePrimaryProperty |
Java | software.amazon.awscdk.mixins.preview.services.connect.mixins.CfnWorkspacePropsMixin.PalettePrimaryProperty |
Python | aws_cdk.mixins_preview.aws_connect.mixins.CfnWorkspacePropsMixin.PalettePrimaryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_connect » mixins » CfnWorkspacePropsMixin » PalettePrimaryProperty |
Contains primary color configuration for a workspace theme.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as connect_mixins } from '@aws-cdk/mixins-preview/aws-connect';
const palettePrimaryProperty: connect_mixins.CfnWorkspacePropsMixin.PalettePrimaryProperty = {
active: 'active',
contrastText: 'contrastText',
default: 'default',
};
Properties
| Name | Type | Description |
|---|---|---|
| active? | string | The primary color used for active states. |
| contrast | string | The text color that contrasts with the primary color for readability. |
| default? | string | The default primary color used throughout the workspace. |
active?
Type:
string
(optional)
The primary color used for active states.
contrastText?
Type:
string
(optional)
The text color that contrasts with the primary color for readability.
default?
Type:
string
(optional)
The default primary color used throughout the workspace.

.NET
Go
Java
Python
TypeScript