ant-design / ant-design/cssinjs

可以增加几个额外的配置项吗,比如有的属性我不想转换,有的类我不想转换,小于多少px就不转换了

Open
#118 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
287
Forks
80
PR merge metrics
No merged PRs in 30d

Description

最好能完全覆盖postcss-pxtorem原有的配置项,因为我想让整个项目的风格统一

{
rootValue: 16,
unitPrecision: 5,
propList: ['font', 'font-size', 'line-height', 'letter-spacing'],
selectorBlackList: [],
replace: true,
mediaQuery: false,
minPixelValue: 0,
exclude: /node_modules/i
}

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the existing pixel-conversion configuration and comparing its supported options with the listed postcss-pxtorem settings. Done means the requested exclusions, minimum pixel value, and other listed options are supported with coverage for their behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.