(svg, size, color)
| 51 | |
| 52 | /** Favicon: logo fills the square, transparent background. */ |
| 53 | export function renderFavicon(svg, size, color) { |
| 54 | return compose(svg, { width: size, logoColor: color, fraction: 1 }); |
| 55 | } |
| 56 | |
| 57 | /** "any" PWA icon: logo with a margin (so rounding never crops), transparent. */ |
| 58 | export function renderPaddedIcon(svg, size, color, fraction = 0.65) { |
no test coverage detected