Skip to content

docs: update links for Shadow DOM & Constructable Stylesheets #30433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions guides/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ be defined through the `overrides` API instead of defined explicitly.

Angular Material assumes that, by default, all theme styles are loaded as global
CSS. If you want to use
[Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM)
[Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM)
in your application, you must load the theme styles within each shadow root that
contains an Angular Material component. You can accomplish this by manually
loading the CSS in each shadow root, or by using
[Constructable Stylesheets](https://developers.google.com/web/updates/2019/02/constructable-stylesheets).
[Constructable Stylesheets](https://web.dev/articles/constructable-stylesheets).
Loading