feat(themes): Document/Improve identifying first duplicated definition #28698
Labels
area: many
Area label for issues related to many components
area: theming
P4
A relatively minor issue that is not relevant to core functions
Feature Description
https://github.com/angular/components/blob/main/guides/duplicate-theming-styles.md talks about duplicate theming styles, and it's referenced by the build system...
That's great, except it only tells users about the second instance of a definition.
If at all possible, it'd be great if there was either tooling or documentation to help users find the first instance of a definition
Use Case
We had some buggy theming code of the form:
style.scss
:themes.scss
:extra-themes.scss
Unfortunately, all of the output about duplication appeared like this:
The text was updated successfully, but these errors were encountered: