feat(mint): add modern CSS feature adoption scan to audit - #108
Draft
nujovich wants to merge 5 commits into
Draft
Conversation
Owner
Author
|
All milestones complete. Ready for review when you are. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Card: https://github.com/nujovich/mint-radar/issues/13
What: Adds a modern CSS feature adoption scan (STEP 14) to Mint's audit pipeline. The scan detects presence or absence of eight modern CSS features (@Property, @layer, @container, @supports, native nesting, color-mix(), @scope, :has()) and provides adoption suggestions for features not yet used. Results are reported in a new modernFeatures field on the AuditReport.
Why: Project Wallace 2026 revealed critically low adoption of modern CSS features (@Property 2.67%, @layer 2.71%, @container 9.61%). Mint already scores CSS health (chaos score) but lacks awareness of which modern features a codebase uses and which it should adopt. This scan complements the chaos score by giving developers an actionable roadmap toward modern CSS.
Milestones
Milestone 4 detail
buildAuditPrompt with the modern features fixtureblock: embeds the fixture and preserves modern anchors through preprocessing.buildAuditPrompt modern features(STEP 14 + feature id documentation) andCssAuditor modernFeatures integration(parse, empty, missing) blocks.How to test:
npm test