interface UIColorPaletteProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTheme.UIColorPaletteProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTheme.UIColorPaletteProperty |
Python | aws_cdk.aws_quicksight.CfnTheme.UIColorPaletteProperty |
TypeScript | @aws-cdk/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 * as quicksight from '@aws-cdk/aws-quicksight';
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
Name | Type | Description |
---|---|---|
accent? | string | This color is that applies to selected states and buttons. |
accent | string | The foreground color that applies to any text or other elements that appear over the accent color. |
danger? | string | The color that applies to error messages. |
danger | string | The foreground color that applies to any text or other elements that appear over the error color. |
dimension? | string | The color that applies to the names of fields that are identified as dimensions. |
dimension | string | The foreground color that applies to any text or other elements that appear over the dimension color. |
measure? | string | The color that applies to the names of fields that are identified as measures. |
measure | string | The foreground color that applies to any text or other elements that appear over the measure color. |
primary | string | The background color that applies to visuals and other high emphasis UI. |
primary | string | 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. |
secondary | string | The background color that applies to the sheet background and sheet controls. |
secondary | string | The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background. |
success? | string | The color that applies to success messages, for example the check mark for a successful download. |
success | string | The foreground color that applies to any text or other elements that appear over the success color. |
warning? | string | This color that applies to warning and informational messages. |
warning | string | The 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.