Skip to content
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

[#2] postcss-pxtorem: use wildcard propList #9

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

maxfenton
Copy link
Contributor

Use wildcard propList in postcss-pxtorem config

rootValue: 16,
unitPrecision: 5,
propList: ['*'],
Copy link
Contributor

Choose a reason for hiding this comment

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

Works for me!

What do you think about putting a comment like this? Just to make it easy for folks to know they can exclude specific CSS properties if they'd like.

// Use ! to not match a property. Example: ['*', '!letter-spacing']

Copy link
Contributor Author

Choose a reason for hiding this comment

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

and/or a comment linking to https://www.npmjs.com/package/postcss-pxtorem

@maxfenton maxfenton merged commit 2e733b5 into 5.x May 17, 2024
@maxfenton maxfenton deleted the mf/2-postcss-pxtorem branch May 17, 2024 13:36
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.

6 participants