diff --git a/src/material/core/tokens/m2/mdc/_dialog.scss b/src/material/core/tokens/m2/mdc/_dialog.scss index 101e344bc8d8..33468337883e 100644 --- a/src/material/core/tokens/m2/mdc/_dialog.scss +++ b/src/material/core/tokens/m2/mdc/_dialog.scss @@ -50,6 +50,7 @@ $prefix: (mdc, dialog); headline-size: null, headline-tracking: null, headline-weight: null, + z-index: null, ); } diff --git a/src/material/core/tokens/tests/test-validate-tokens.scss b/src/material/core/tokens/tests/test-validate-tokens.scss index 5b656e09ff07..2baed37c1c66 100644 --- a/src/material/core/tokens/tests/test-validate-tokens.scss +++ b/src/material/core/tokens/tests/test-validate-tokens.scss @@ -15,6 +15,7 @@ @use '@material/tab/tab-theme' as mdc-tab-theme; @use '@material/snackbar/snackbar-theme' as mdc-snackbar-theme; @use '@material/chips/chip-theme' as mdc-chips-theme; +@use '@material/dialog/dialog-theme' as mdc-dialog-theme; @use '@material/theme/validate' as mdc-validate; @use '../m2/mdc/circular-progress' as tokens-mdc-circular-progress; @@ -31,6 +32,7 @@ @use '../m2/mdc/tab' as tokens-mdc-tab; @use '../m2/mdc/snack-bar' as tokens-mdc-snack-bar; @use '../m2/mdc/chip' as tokens-mdc-chip; +@use '../m2/mdc/dialog' as tokens-mdc-dialog; @mixin validate-slots($component, $slots, $reference) { @debug 'Validating #{$component}...'; @@ -114,3 +116,8 @@ $slots: tokens-mdc-chip.get-token-slots(), $reference: mdc-chips-theme.$light-theme ); +@include validate-slots( + $component: 'm2.mdc.dialog', + $slots: tokens-mdc-dialog.get-token-slots(), + $reference: mdc-dialog-theme.$light-theme +);