Skip to content

feat(material/snack-bar): add a styling token for the container elevation - #34193

Open
lxminarayn wants to merge 1 commit into
angular:mainfrom
lxminarayn:feat/snack-bar-container-elevation
Open

lxminarayn wants to merge 1 commit into
angular:mainfrom
lxminarayn:feat/snack-bar-container-elevation

Conversation

@lxminarayn

Copy link
Copy Markdown
Contributor

Adds a container-elevation-shadow token to snack-bar-overrides so the shadow of the snack bar
surface can be customized.

Previously it was hardcoded to elevation 6, while the dialog, menu, select and autocomplete panels already expose the same token.

The default rendering stays the same in both M2 and M3.

…tion

Previously the shadow of the snack bar surface was hardcoded to elevation 6 and couldn't be
changed through tokens. Adds a `container-elevation-shadow` token to `snack-bar-overrides`,
matching the existing token of the dialog, menu, select and autocomplete panels. The default
rendering stays the same in both M2 and M3.
@pullapprove
pullapprove Bot requested review from crisbeto and tjshiu November 27, 2026 05:05
@angular-robot angular-robot Bot added detected: feature PR contains a feature commit area: material/snack-bar labels Nov 27, 2026
@crisbeto

Copy link
Copy Markdown
Member

If you're planning on sending a bunch of changes like this, can you combine them into a single PR? There's a fair bit of effort that goes into testing and landing these changes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants