diff --git a/packages/calcite-components/src/components/dialog/dialog.scss b/packages/calcite-components/src/components/dialog/dialog.scss index 45812453cbe..ead0111d5d8 100644 --- a/packages/calcite-components/src/components/dialog/dialog.scss +++ b/packages/calcite-components/src/components/dialog/dialog.scss @@ -121,6 +121,10 @@ calcite-panel { --calcite-panel-background-color: var(--calcite-dialog-background-color, var(--calcite-color-foreground-1)); } +::slotted(calcite-panel) { + --calcite-panel-background-color: initial; +} + .dialog { @apply pointer-events-none m-6 diff --git a/packages/calcite-components/src/components/dialog/dialog.stories.ts b/packages/calcite-components/src/components/dialog/dialog.stories.ts index 9a0ba8d918d..4bffdb0057b 100644 --- a/packages/calcite-components/src/components/dialog/dialog.stories.ts +++ b/packages/calcite-components/src/components/dialog/dialog.stories.ts @@ -232,6 +232,12 @@ export const withCustomContent = (): string => html` `; +export const withCustomContentPanel = (): string => html` + + Custom Panel Content! + +`; + export const loading = (): string => html`

Slotted content!