#[non_exhaustive]
pub struct UiColorPalette {
Show 16 fields pub primary_foreground: Option<String>, pub primary_background: Option<String>, pub secondary_foreground: Option<String>, pub secondary_background: Option<String>, pub accent: Option<String>, pub accent_foreground: Option<String>, pub danger: Option<String>, pub danger_foreground: Option<String>, pub warning: Option<String>, pub warning_foreground: Option<String>, pub success: Option<String>, pub success_foreground: Option<String>, pub dimension: Option<String>, pub dimension_foreground: Option<String>, pub measure: Option<String>, pub measure_foreground: Option<String>,
}
Expand description

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.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
primary_foreground: Option<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.

primary_background: Option<String>

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

secondary_foreground: Option<String>

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

secondary_background: Option<String>

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

accent: Option<String>

This color is that applies to selected states and buttons.

accent_foreground: Option<String>

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

danger: Option<String>

The color that applies to error messages.

danger_foreground: Option<String>

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

warning: Option<String>

This color that applies to warning and informational messages.

warning_foreground: Option<String>

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

success: Option<String>

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

success_foreground: Option<String>

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

dimension: Option<String>

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

dimension_foreground: Option<String>

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

measure: Option<String>

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

measure_foreground: Option<String>

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

Implementations

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.

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

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

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

This color is that applies to selected states and buttons.

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

The color that applies to error messages.

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

This color that applies to warning and informational messages.

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

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

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

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

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

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

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

Creates a new builder-style object to manufacture UiColorPalette

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more