IThemeMessageVariant
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Theme properties for a message variant
export interface IThemeMessageVariant
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(BETA) (Optional) Background color of the message | |||
(BETA) (Optional) Border color of the message | |||
string | (BETA) (Optional) Radius of the message border in px | ||
string | (BETA) (Optional) Width of the message border in px | ||
(BETA) (Optional) Color of the close button | |||
boolean | (BETA) (Optional) Determines if drop shadow is applied | ||
(BETA) (Optional) Color of the link button | |||
(BETA) (Optional) Color of the separator line above the expanded “Show more” detail. | |||
(BETA) (Optional) Text color of the message |
Property details
IThemeMessageVariant.backgroundColorpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Background color of the message
backgroundColor?: ThemeColor;
IThemeMessageVariant.borderColorpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Border color of the message
borderColor?: ThemeColor;
IThemeMessageVariant.borderRadiuspropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Radius of the message border in px
borderRadius?: string;
IThemeMessageVariant.borderWidthpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Width of the message border in px
borderWidth?: string;
IThemeMessageVariant.closeButtonColorpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Color of the close button
closeButtonColor?: ThemeColor;
IThemeMessageVariant.dropShadowpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Determines if drop shadow is applied
dropShadow?: boolean;
IThemeMessageVariant.linkButtonColorpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Color of the link button
linkButtonColor?: ThemeColor;
IThemeMessageVariant.separatorLineColorpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Color of the separator line above the expanded “Show more” detail.
separatorLineColor?: ThemeColor;
Remarks
Applies to UiMessage and to toast messages. The legacy inline message does not render the separator, so it ignores this value.
IThemeMessageVariant.textColorpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Text color of the message
textColor?: ThemeColor;