Skip to content

Skip logos from MUI CSS variable generation (removes "Could not parse CSS stylesheet" audit error) - #292

Open
zoharma wants to merge 1 commit into
mainfrom
zma/css-parse-issue
Open

zoharma wants to merge 1 commit into
mainfrom
zma/css-parse-issue

Conversation

@zoharma

@zoharma zoharma commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

When auditing we got "Could not parse CSS stylesheet". This has been there for a while.

This was happening because MUI was converting the theme's raw logos image sources, including SVG data URIs, into CSS variables. Those values aren't CSS-safe, causing jsdom to emit stylesheet parsing warnings in tests.

This is now fixed.

@zoharma
zoharma requested a review from a team September 10, 2026 11:46
@zoharma zoharma mentioned this pull request Sep 10, 2026
@zoharma zoharma added this to the 0.7.1 milestone Sep 10, 2026
MUI was converting the theme's raw `logos` image sources, including SVG data URIs, into CSS variables. Those values aren't CSS-safe, causing jsdom to emit stylesheet parsing warnings in tests.
@zoharma
zoharma force-pushed the zma/css-parse-issue branch from 3b69207 to 801a2dd Compare September 10, 2026 12:23
@zoharma zoharma removed this from the 0.7.1 milestone Sep 11, 2026
@zoharma zoharma changed the title Skip logos from MUI CSS variable generation Skip logos from MUI CSS variable generation (removes "Could not parse CSS stylesheet" audit error) Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant