Skip to content

refactor: remove duplicate theme style warnings #31361

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 3 commits into from
Jun 17, 2025

Conversation

andrewseguin
Copy link
Contributor

Removes the Sass warning about duplicate styles being emitted. This can happen if a theme file emits styles twice.

This was only really an issue before we used CSS variables, since the theme files emitted longer concrete CSS styles. Now, it's really not a big deal if extra tokens are emitted since its very minimal. Also, it's not clear users understood how to evade this warning, especially in an ergonomic way

@andrewseguin andrewseguin requested a review from a team as a code owner June 16, 2025 19:07
@andrewseguin andrewseguin requested review from crisbeto and wagnermaciel and removed request for a team June 16, 2025 19:07
@andrewseguin andrewseguin added the target: minor This PR is targeted for the next minor release label Jun 16, 2025
Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@andrewseguin andrewseguin added the action: merge The PR is ready for merge by the caretaker label Jun 17, 2025
@andrewseguin andrewseguin merged commit ca83d31 into angular:main Jun 17, 2025
22 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants