| 7 | import cssColorParse from 'parse-css-color' |
| 8 | |
| 9 | interface Background { |
| 10 | attachment?: string |
| 11 | color?: string |
| 12 | clip: string |
| 13 | image: string |
| 14 | origin?: string |
| 15 | position: string |
| 16 | size: string |
| 17 | repeat: string |
| 18 | } |
| 19 | |
| 20 | function toAbsoluteValue(v: string | number, base: number) { |
| 21 | if (typeof v === 'string' && v.endsWith('%')) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…