(block, color)
| 2 | import { get } from '../../fetch/ajax'; |
| 3 | |
| 4 | function replaceVar(block, color) { |
| 5 | block.innerHTML = block.innerHTML.replace( |
| 6 | /var\(\s*--theme-color.*?\)/g, |
| 7 | color |
| 8 | ); |
| 9 | } |
| 10 | |
| 11 | export default function (color) { |
| 12 | // Variable support |
no outgoing calls
no test coverage detected
searching dependent graphs…