Skip to content

[docs-infra] Force raw color values in CSS Modules demos#4865

Open
aarongarciah wants to merge 9 commits into
mui:masterfrom
aarongarciah:docs-demos-stylelint-colors
Open

[docs-infra] Force raw color values in CSS Modules demos#4865
aarongarciah wants to merge 9 commits into
mui:masterfrom
aarongarciah:docs-demos-stylelint-colors

Conversation

@aarongarciah
Copy link
Copy Markdown
Member

This prevents incorrect usage of colors in CSS Modules demos. Helpful for LLMs and humans alike.

  • Add a new custom Stylelint plugin to catch non-raw colors in CSS Modules demos.
  • Update AGENTS.md mentioning the raw-colors requirement.
  • Update three demos that were using wrong colors.

@aarongarciah aarongarciah added the scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). label May 20, 2026
@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented May 20, 2026

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Performance

Total duration: 1,411.93 ms 🔺+243.76 ms(+20.9%) | Renders: 50 (+0) | Paint: 2,132.89 ms +347.70 ms(+19.5%)

Test Duration Renders
Tabs mount (200 instances) 271.57 ms 🔺+51.15 ms(+23.2%) 4 (+0)
Slider mount (300 instances) 197.03 ms 🔺+39.79 ms(+25.3%) 3 (+0)
Menu mount (300 instances) 170.97 ms 🔺+32.77 ms(+23.7%) 2 (+0)
Select mount (200 instances) 170.38 ms 🔺+30.09 ms(+21.4%) 3 (+0)
Scroll Area mount (300 instances) 109.07 ms 🔺+18.55 ms(+20.5%) 3 (+0)

…and 3 more (+4 within noise) — details


Check out the code infra dashboard for more information about this PR.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 20, 2026

commit: a21f2a7

@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit a21f2a7
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a0d5a3a578ea3000827b369
😎 Deploy Preview https://deploy-preview-4865--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@aarongarciah aarongarciah removed the request for review from colmtuite May 20, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant