aws-cdk-lib.aws_quicksight.CfnTheme.UIColorPaletteProperty

interface UIColorPaletteProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnTheme.UIColorPaletteProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTheme_UIColorPaletteProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnTheme.UIColorPaletteProperty
Pythonaws_cdk.aws_quicksight.CfnTheme.UIColorPaletteProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnTheme » UIColorPaletteProperty

The theme colors that apply to UI and to charts, excluding data colors.

The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with # , for example #37BFF5. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const uIColorPaletteProperty: quicksight.CfnTheme.UIColorPaletteProperty = {
  accent: 'accent',
  accentForeground: 'accentForeground',
  danger: 'danger',
  dangerForeground: 'dangerForeground',
  dimension: 'dimension',
  dimensionForeground: 'dimensionForeground',
  measure: 'measure',
  measureForeground: 'measureForeground',
  primaryBackground: 'primaryBackground',
  primaryForeground: 'primaryForeground',
  secondaryBackground: 'secondaryBackground',
  secondaryForeground: 'secondaryForeground',
  success: 'success',
  successForeground: 'successForeground',
  warning: 'warning',
  warningForeground: 'warningForeground',
};

Properties

NameTypeDescription
accent?stringThis color is that applies to selected states and buttons.
accentForeground?stringThe foreground color that applies to any text or other elements that appear over the accent color.
danger?stringThe color that applies to error messages.
dangerForeground?stringThe foreground color that applies to any text or other elements that appear over the error color.
dimension?stringThe color that applies to the names of fields that are identified as dimensions.
dimensionForeground?stringThe foreground color that applies to any text or other elements that appear over the dimension color.
measure?stringThe color that applies to the names of fields that are identified as measures.
measureForeground?stringThe foreground color that applies to any text or other elements that appear over the measure color.
primaryBackground?stringThe background color that applies to visuals and other high emphasis UI.
primaryForeground?stringThe color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.
secondaryBackground?stringThe background color that applies to the sheet background and sheet controls.
secondaryForeground?stringThe foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.
success?stringThe color that applies to success messages, for example the check mark for a successful download.
successForeground?stringThe foreground color that applies to any text or other elements that appear over the success color.
warning?stringThis color that applies to warning and informational messages.
warningForeground?stringThe foreground color that applies to any text or other elements that appear over the warning color.

accent?

Type: string (optional)

This color is that applies to selected states and buttons.


accentForeground?

Type: string (optional)

The foreground color that applies to any text or other elements that appear over the accent color.


danger?

Type: string (optional)

The color that applies to error messages.


dangerForeground?

Type: string (optional)

The foreground color that applies to any text or other elements that appear over the error color.


dimension?

Type: string (optional)

The color that applies to the names of fields that are identified as dimensions.


dimensionForeground?

Type: string (optional)

The foreground color that applies to any text or other elements that appear over the dimension color.


measure?

Type: string (optional)

The color that applies to the names of fields that are identified as measures.


measureForeground?

Type: string (optional)

The foreground color that applies to any text or other elements that appear over the measure color.


primaryBackground?

Type: string (optional)

The background color that applies to visuals and other high emphasis UI.


primaryForeground?

Type: string (optional)

The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.


secondaryBackground?

Type: string (optional)

The background color that applies to the sheet background and sheet controls.


secondaryForeground?

Type: string (optional)

The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.


success?

Type: string (optional)

The color that applies to success messages, for example the check mark for a successful download.


successForeground?

Type: string (optional)

The foreground color that applies to any text or other elements that appear over the success color.


warning?

Type: string (optional)

This color that applies to warning and informational messages.


warningForeground?

Type: string (optional)

The foreground color that applies to any text or other elements that appear over the warning color.