(value: string, rootFontSize: number)
| 310 | } |
| 311 | |
| 312 | function pxToRem(value: string, rootFontSize: number) { |
| 313 | return transformPxValue(value, (val) => `${toDecimalPlace(val / rootFontSize)}rem`) |
| 314 | } |
| 315 | |
| 316 | export function normalizeCssValue(value: string, config: CodegenConfig, prop?: string): string { |
| 317 | if (!value) return value |
no test coverage detected