Skip to content

Commit

Permalink
docs: update links for Shadow DOM & Constructable Stylesheets (#30433)
Browse files Browse the repository at this point in the history
previous links were getting redirect to new ones which may be a bit confusing, this commit updates them with new URL
  • Loading branch information
naaajii authored Feb 3, 2025
1 parent 04ae202 commit f9ca76c
Showing 1 changed file with 2 additions and 2 deletions.
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).

0 comments on commit f9ca76c

Please sign in to comment.