Interface CfnWorkspace.WorkspaceThemeProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnWorkspace.WorkspaceThemeProperty.Jsii$Proxy
Enclosing class:
CfnWorkspace

@Stability(Stable) public static interface CfnWorkspace.WorkspaceThemeProperty extends software.amazon.jsii.JsiiSerializable
Contains theme configuration for a workspace, supporting both light and dark modes.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.connect.*;
 WorkspaceThemeProperty workspaceThemeProperty = WorkspaceThemeProperty.builder()
         .dark(WorkspaceThemeConfigProperty.builder()
                 .palette(WorkspaceThemePaletteProperty.builder()
                         .canvas(PaletteCanvasProperty.builder()
                                 .activeBackground("activeBackground")
                                 .containerBackground("containerBackground")
                                 .pageBackground("pageBackground")
                                 .build())
                         .header(PaletteHeaderProperty.builder()
                                 .background("background")
                                 .invertActionsColors(false)
                                 .text("text")
                                 .textHover("textHover")
                                 .build())
                         .navigation(PaletteNavigationProperty.builder()
                                 .background("background")
                                 .invertActionsColors(false)
                                 .text("text")
                                 .textActive("textActive")
                                 .textBackgroundActive("textBackgroundActive")
                                 .textBackgroundHover("textBackgroundHover")
                                 .textHover("textHover")
                                 .build())
                         .primary(PalettePrimaryProperty.builder()
                                 .active("active")
                                 .contrastText("contrastText")
                                 .default("default")
                                 .build())
                         .build())
                 .typography(WorkspaceThemeTypographyProperty.builder()
                         .fontFamily(FontFamilyProperty.builder()
                                 .default("default")
                                 .build())
                         .build())
                 .build())
         .light(WorkspaceThemeConfigProperty.builder()
                 .palette(WorkspaceThemePaletteProperty.builder()
                         .canvas(PaletteCanvasProperty.builder()
                                 .activeBackground("activeBackground")
                                 .containerBackground("containerBackground")
                                 .pageBackground("pageBackground")
                                 .build())
                         .header(PaletteHeaderProperty.builder()
                                 .background("background")
                                 .invertActionsColors(false)
                                 .text("text")
                                 .textHover("textHover")
                                 .build())
                         .navigation(PaletteNavigationProperty.builder()
                                 .background("background")
                                 .invertActionsColors(false)
                                 .text("text")
                                 .textActive("textActive")
                                 .textBackgroundActive("textBackgroundActive")
                                 .textBackgroundHover("textBackgroundHover")
                                 .textHover("textHover")
                                 .build())
                         .primary(PalettePrimaryProperty.builder()
                                 .active("active")
                                 .contrastText("contrastText")
                                 .default("default")
                                 .build())
                         .build())
                 .typography(WorkspaceThemeTypographyProperty.builder()
                         .fontFamily(FontFamilyProperty.builder()
                                 .default("default")
                                 .build())
                         .build())
                 .build())
         .build();
 

See Also: