Skip to content

Commit

Permalink
Optimise SVG to round paths to whole pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmockett committed Jan 8, 2025
1 parent 07ca237 commit e815d10
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ export const SvgWaveform = () => (
width="720"
height="40"
preserveAspectRatio="none"
focusable={false}
aria-hidden={true}
>
<path
fill={palette('--card-media-waveform')}
d="M0 34.5198h2.3009v5.4792H0v-5.4792ZM3.4508 19.287h2.2999v20.712H3.4508V19.287ZM6.9016.7672h2.2999V39.999H6.9016V.7671Zm3.4498.658h2.3009V39.999h-2.3009V1.4251Zm3.4508.7661h2.2999V39.999h-2.2999V2.1913Zm3.4498 1.6444h2.3009V40H17.252V3.8357Zm3.4508 1.8628h2.2999V39.999h-2.2999V5.6985Zm3.4508 1.972h2.2999V39.999h-2.2999V7.6705Zm3.4498.9865h2.3009v31.342h-2.3009V8.657Zm3.4508-2.629h2.2999V40h-2.2999V6.028Zm3.4498 1.0957h2.3009V40H34.504V7.1237Zm3.4508.1091h2.2999V39.999h-2.2999V7.2328Zm3.4519 1.7537h2.2998V39.999h-2.2998V8.9865Zm3.4498 1.7536h2.3008V40h-2.3008V10.7401Zm3.4508-4.1652h2.2998V39.999h-2.2998V6.5749Zm3.4498 1.316h2.3008V39.999h-2.3008V7.8908Zm3.4508-1.8629h2.2998V40h-2.2998V6.028Zm3.4508 1.4242h2.2998V40h-2.2998V7.4522Zm3.4498 1.4241h2.3008V39.999h-2.3008V8.8763Zm3.4508 1.4242h2.2998V39.999h-2.2998V10.3005Zm3.4498 1.7536h2.3008V39.999h-2.3008V12.0541Zm3.4508 1.5343h2.2998V39.999h-2.2998V13.5884Zm3.4508 2.4106h2.2998v24h-2.2998v-24Zm3.4498-.2193h2.3008V39.999h-2.3008V15.7797Zm3.4508-4.8213h2.2998V39.999h-2.2998V10.9584Zm3.4498 1.2049h2.3008V39.999h-2.3008V12.1633Zm3.4508 1.2067h2.2998v26.629h-2.2998V13.37Zm3.4508.5469h2.2998V39.999h-2.2998V13.9169Zm3.4498.2193h2.3009V39.999h-2.3009V14.1362Zm3.4505 1.2058h2.3v24.657h-2.3V15.342Zm3.452 1.2058h2.3V40h-2.3V16.5478Zm3.45 1.315h2.301V39.999h-2.301V17.8628Zm3.451.1092h2.3v22.027h-2.3V17.972Zm3.45-.4387h2.3V39.999h-2.3V17.5333Zm3.45 1.2058h2.3V40h-2.3V18.7391Zm3.451 1.315h2.3V39.999h-2.3V20.0541Zm3.45.8773h2.301V40h-2.301V20.9314Zm3.451-12.055h2.3V39.999h-2.3V8.8763Zm3.45 1.9729h2.3V39.999h-2.3V10.8493Zm3.45.5468h2.3V39.999h-2.3V11.3961Zm3.451-.9855h2.3V39.999h-2.3V10.4106Zm3.45-3.397h2.301V39.999h-2.301V7.0135ZM144.92 8h2.3v31.999h-2.3V8Zm3.45 1.0956h2.3V39.999h-2.3V9.0956Zm3.45 1.315h2.3V39.999h-2.3V10.4106Zm3.451 1.4251h2.3V40h-2.3V11.8357Zm3.45.5479h2.301V39.999h-2.301V12.3836Zm3.451-7.8908h2.3V39.999h-2.3V4.4927Zm3.451.8773h2.3V39.999h-2.3V5.37Zm3.45-.658h2.3V39.999h-2.3V4.712Zm3.451 1.7536h2.3V39.999h-2.3V6.4657Zm3.45 1.2048h2.301V39.999h-2.301V7.6705Zm3.451 1.974h2.3V40h-2.3V9.6444ZM182.875 8h2.3v31.999h-2.3V8Zm3.45-3.5072h2.3V39.999h-2.3V4.4927Zm3.451-.657h2.3V40h-2.3V3.8357Zm3.45 1.2048h2.301V39.999h-2.301V5.0406Zm3.451-1.973h2.3V39.999h-2.3V3.0676Zm3.45 1.2068h2.3V39.999h-2.3V4.2744Zm3.45-.4386h2.3V40h-2.3V3.8357Zm3.451 1.5343h2.3V39.999h-2.3V5.37Zm3.45 1.2048h2.301V39.999h-2.301V6.5749Zm3.451 1.973h2.3V40h-2.3V8.5478Zm3.451 1.3149h2.299V39.999h-2.299V9.8628Zm3.449 2.8493h2.301V39.999h-2.301V12.7121Zm3.451 1.8628h2.3V39.999h-2.3V14.5749Zm3.451-1.6435h2.301V40h-2.301V12.9314Zm3.451-7.1237h2.3V39.999h-2.3V5.8077ZM234.633 8h2.3v31.999h-2.3V8Zm3.449 1.7536h2.301V39.999h-2.301V9.7536Zm3.451 1.0957h2.3V39.999h-2.3V10.8493Zm3.45.6579h2.301V39.999h-2.301V11.5072Zm3.451.4377h2.3V39.999h-2.3V11.9449Zm3.451 1.4251h2.3v26.629h-2.3V13.37Zm3.449-8.4386h2.301V40h-2.301V4.9314Zm3.451.3285h2.3V39.999h-2.3V5.2599Zm3.45 1.315h2.301V39.999h-2.301V6.5749ZM265.686 8h2.3v31.999h-2.3V8Zm3.451 1.5333h2.3V39.999h-2.3V9.5333Zm3.449-.5468h2.301V39.999h-2.301V8.9865Zm3.451 1.4241h2.3V39.999h-2.3V10.4106Zm3.45-.4386h2.301v30.027h-2.301V9.972Zm3.451 1.0956h2.3V39.999h-2.3V11.0676Zm3.451.9865h2.3V39.999h-2.3V12.0541Zm3.45 1.3159h2.301v26.629h-2.301V13.37Zm3.451.7662h2.3V39.999h-2.3V14.1362Zm3.45 1.0967h2.301V39.999h-2.301V15.2329Zm3.451-.5489h2.3v25.315h-2.3V14.684Zm3.451-.8763h2.3V39.999h-2.3V13.8077Zm3.449 1.2049h2.301V39.999h-2.301V15.0126Zm3.451 1.2067h2.3V40h-2.3V16.2193Zm3.45 1.5333h2.301V39.999h-2.301V17.7526Zm3.451 1.6435h2.301V39.999h-2.301V19.3961Zm3.451-7.2328h2.3V39.999h-2.3V12.1633Zm3.449 1.2067h2.301v26.629h-2.301V13.37Zm3.451-.6579h2.3V39.999h-2.3V12.7121Zm3.451 1.2048h2.3V39.999h-2.3V13.9169Zm3.45 1.2068h2.301V40h-2.301V15.1237Zm3.451.9855h2.3V39.999h-2.3V16.1092Zm3.45-12.3836h2.3V39.999h-2.3V3.7256Zm3.45 2.9585h2.3V39.999h-2.3V6.684Zm3.451-.5469h2.3V39.999h-2.3V6.1372Zm3.451 1.4242h2.301V39.999h-2.301V7.5613Zm3.451 1.315h2.3V39.999h-2.3V8.8763Zm3.45-3.7257h2.3V39.999h-2.3V5.1507Zm3.45 2.1913h2.3v32.657h-2.3V7.342Zm3.451 2.5208h2.3V39.999h-2.3V9.8628Zm3.45 1.4242h2.301v28.712H369.2V11.287Zm3.451 1.4251h2.3V39.999h-2.3V12.7121Zm3.45 1.2048h2.3V39.999h-2.3V13.9169Zm3.45-.1092h2.3V39.999h-2.3V13.8077Zm3.451 1.6445h2.3V40h-2.3V15.4522Zm3.45-.3285h2.301V40h-2.301V15.1237Zm3.451-8.5488h2.3V39.999h-2.3V6.5749Zm3.45.7671h2.3v32.657h-2.3V7.342Zm3.45 1.0957h2.3V39.999h-2.3V8.4377Zm3.451.658h2.3V39.999h-2.3V9.0956Zm3.45 1.6444h2.301V40h-2.301V10.7401Zm3.451.4377h2.3V39.999h-2.3V11.1778Zm3.451.8763h2.301V39.999h-2.301V12.0541Zm3.45 1.4251h2.3V39.999h-2.3V13.4792Zm3.451-.9864h2.3V39.999h-2.3V12.4928Zm3.45 1.3149h2.301V39.999h-2.301V13.8077Zm3.451-3.1778h2.3V39.999h-2.3V10.6299Zm3.45 1.4242h2.3V39.999h-2.3V12.0541Zm3.45 1.2058h2.3V40h-2.3V13.2599Zm3.451-2.63h2.3V39.999h-2.3V10.6299Zm3.45 1.315h2.301V39.999h-2.301V11.9449Zm3.451.7672h2.3V39.999h-2.3V12.7121Zm3.45-3.288h2.301V39.999h-2.301V9.4241Zm3.45 1.7537h2.3V39.999h-2.3V11.1778Zm3.451-4.1643h2.3V39.999h-2.3V7.0135Zm3.45-.3294h2.301V39.999h-2.301V6.684Zm3.451 1.2067h2.3V39.999h-2.3V7.8908Zm3.45 1.2048h2.301V39.999h-2.301V9.0956Zm3.45.1092h2.3V39.999h-2.3V9.2048Zm3.451-4.054h2.3V39.999h-2.3V5.1507Zm3.451-3.946h2.301V39.999h-2.301V1.2048Zm3.451 3.3981h2.3V39.999h-2.3V4.6029Zm3.45 1.314h2.301V39.999h-2.301V5.9169Zm3.45.9874h2.3V39.999h-2.3V6.9043Zm3.451 1.972h2.3V39.999h-2.3V8.8763Zm3.45-7.6715h2.301V39.999h-2.301V1.2048Zm3.451 1.0957h2.3V39.999h-2.3V2.3005Zm3.45 3.398h2.301V39.999h-2.301V5.6985Zm3.451 2.4107h2.299V39.999h-2.299V8.1092Zm3.45-1.6435h2.3V39.999h-2.3V6.4657Zm3.45 1.6435h2.301V39.999h-2.301V8.1092Zm3.451.658h2.3V39.999h-2.3V8.7671Zm3.45 1.4241h2.301V39.999h-2.301V10.1913Zm3.45 1.0957h2.3v28.712h-2.3V11.287Zm3.451 1.3159h2.3V39.999h-2.3V12.6029Zm3.45 1.7536h2.301V40h-2.301V14.3565Zm3.451-.8773h2.3V39.999h-2.3V13.4792Zm3.45-.3295h2.301V39.999h-2.301V13.1497Zm3.451.8774h2.3V40h-2.3V14.0271Zm3.451.2193h2.3V39.999h-2.3V14.2464Zm3.45-10.5208h2.301V39.999h-2.301V3.7256Zm3.451 1.0957h2.3V39.999h-2.3V4.8212Zm3.45 1.9729h2.301V39.999h-2.301V6.7942Zm3.451.9855h2.299V39.999h-2.299V7.7797Zm3.45 1.0966h2.3V39.999h-2.3V8.8763Zm3.45-.3285h2.301V40h-2.301V8.5478Zm3.451-6.9034h2.3V40h-2.3V1.6444Zm3.45 1.4232h2.301V39.999h-2.301V3.0676Zm3.451 1.2068h2.299V39.999h-2.299V4.2744Zm3.45 2.63h2.3V39.999h-2.3V6.9043ZM576.227 0h2.301v39.999h-2.301V0Zm3.451 2.4116h2.3V40h-2.3V2.4116Zm3.451.9855h2.3V39.999h-2.3V3.3971Zm3.45 1.0957h2.3V39.999h-2.3V4.4927Zm3.45.5478h2.3V39.999h-2.3V5.0406Zm3.451-1.7527h2.301V39.999h-2.301V3.288Zm3.451 1.315h2.3V39.999h-2.3V4.6029Zm3.451 1.0957h2.3V39.999h-2.3V5.6985Zm3.45 2.5207h2.303V40h-2.303V8.2193Zm3.452-.4396h2.3V39.999h-2.3V7.7797Zm3.45 1.2068h2.301V39.999h-2.301V8.9865Zm3.451 2.3005h2.3v28.712h-2.3V11.287Zm3.451 1.2058h2.3V39.999h-2.3V12.4928Zm3.45-3.288h2.3V39.999h-2.3V9.2048Zm3.45 1.4251h2.3V39.999h-2.3V10.6299Zm3.451.4377h2.301V39.999h-2.301V11.0676Zm3.451.9865h2.3V39.999h-2.3V12.0541Zm3.451 1.2058h2.3V40h-2.3V13.2599Zm3.45.8763h2.301V39.999h-2.301V14.1362Zm3.451.2203h2.299V40h-2.299V14.3565Zm3.449 1.2049h2.301V39.999h-2.301V15.5614Zm3.451 1.4251h2.3V39.999h-2.3V16.9865Zm3.451 1.0956h2.3V39.999h-2.3V18.0821Zm3.45 1.314h2.301V39.999h-2.301V19.3961Zm3.45-5.9169h2.3V39.999h-2.3V13.4792Zm3.451-7.7807h2.3V39.999h-2.3V5.6985Zm3.45 1.4252h2.301V40h-2.301V7.1237Zm3.451.3285h2.3V40h-2.3V7.4522Zm3.45 1.972h2.301V39.999h-2.301V9.4241Zm3.451 1.7536h2.299V39.999h-2.299V11.1778Zm3.45 2.1922h2.3v26.629h-2.3V13.37Zm3.45 1.4242h2.301V39.999h-2.301V14.7942Zm3.451-.4377h2.3V40h-2.3V14.3565Zm3.451.5469h2.301V39.999h-2.301V14.9034Zm3.451-.2194h2.299v25.315h-2.299V14.684Zm3.45 1.6445h2.3V39.999h-2.3V16.3285Zm3.45-4.0551h2.301V39.999h-2.301V12.2734Zm3.451-2.5198h2.3V39.999h-2.3V9.7536Zm3.45.9865h2.301V40h-2.301V10.7401Zm3.451.8763h2.299V39.999h-2.299V11.6164Zm3.45 1.315h2.3V40h-2.3V12.9314Zm3.45 2.1923H720V40h-2.301V15.1237Z"
d="M0 34h2v6H0v-6ZM3 19h2v21H3V19ZM6 1h2v39H6V1ZM9 1h2v39H9V1ZM12 2h2v38h-2V2ZM15 4h2v36h-2V4ZM18 6h2v34h-2V6ZM21 8h2v32h-2V8ZM24 9h2v31h-2V9ZM27 6h2v34h-2V6ZM30 7h2v33h-2V7ZM33 7h2v33h-2V7ZM36 9h2v31h-2V9ZM39 11h2v29h-2V11ZM42 7h2v33h-2V7ZM45 8h2v32h-2V8ZM48 6h2v34h-2V6ZM51 7h2v33h-2V7ZM54 9h2v31h-2V9ZM57 10h2v30h-2V10ZM60 12h2v28h-2V12ZM63 14h2v26h-2V14ZM66 16h2v24h-2V16ZM69 16h2v24h-2V16ZM72 11h2v29h-2V11ZM75 12h2v28h-2V12ZM78 13h2v27h-2V13ZM81 14h2v26h-2V14ZM84 14h2v26h-2V14ZM87 15h2v25h-2V15ZM90 16h2v24h-2V16ZM93 18h2v22h-2V18ZM96 18h2v22h-2V18ZM99 17h2v23h-2V17ZM102 19h2v21h-2V19ZM105 20h2v20h-2V20ZM108 21h2v19h-2V21ZM111 9h2v31h-2V9ZM114 11h2v29h-2V11ZM117 11h2v29h-2V11ZM120 10h2v30h-2V10ZM123 7h2v33h-2V7ZM126 8h2v32h-2V8ZM129 9h2v31h-2V9ZM132 10h2v30h-2V10ZM135 12h2v28h-2V12ZM138 12h2v28h-2V12ZM141 4h2v36h-2V4ZM144 5h2v35h-2V5ZM147 5h2v35h-2V5ZM150 6h2v34h-2V6ZM153 8h2v32h-2V8ZM156 10h2v30h-2V10ZM159 8h2v32h-2V8ZM162 4h2v36h-2V4ZM165 4h2v36h-2V4ZM168 5h2v35h-2V5ZM171 3h2v37h-2V3ZM174 4h2v36h-2V4ZM177 4h2v36h-2V4ZM180 5h2v35h-2V5ZM183 7h2v33h-2V7ZM186 8h2v32h-2V8ZM189 10h2v30h-2V10ZM192 13h2v27h-2V13ZM195 15h2v25h-2V15ZM198 13h2v27h-2V13ZM201 6h2v34h-2V6ZM204 8h2v32h-2V8ZM207 10h2v30h-2V10ZM210 11h2v29h-2V11ZM213 11h2v29h-2V11ZM216 12h2v28h-2V12ZM219 13h2v27h-2V13ZM222 5h2v35h-2V5ZM225 5h2v35h-2V5ZM228 7h2v33h-2V7ZM231 8h2v32h-2V8ZM234 9h2v31h-2V9ZM237 9h2v31h-2V9ZM240 10h2v30h-2V10ZM243 10h2v30h-2V10ZM246 11h2v29h-2V11ZM249 12h2v28h-2V12ZM252 13h2v27h-2V13ZM255 14h2v26h-2V14ZM258 15h2v25h-2V15ZM261 15h2v25h-2V15ZM264 14h2v26h-2V14ZM267 15h2v25h-2V15ZM270 16h2v24h-2V16ZM273 18h2v22h-2V18ZM276 19h2v21h-2V19ZM279 12h2v28h-2V12ZM282 13h2v27h-2V13ZM285 13h2v27h-2V13ZM288 14h2v26h-2V14ZM291 15h2v25h-2V15ZM294 16h2v24h-2V16ZM297 4h2v36h-2V4ZM300 7h2v33h-2V7ZM303 6h2v34h-2V6ZM306 8h2v32h-2V8ZM309 9h2v31h-2V9ZM312 5h2v35h-2V5ZM315 7h2v33h-2V7ZM318 10h2v30h-2V10ZM321 11h2v29h-2V11ZM324 13h2v27h-2V13ZM327 14h2v26h-2V14ZM330 14h2v26h-2V14ZM333 15h2v25h-2V15ZM336 15h2v25h-2V15ZM339 7h2v33h-2V7ZM342 7h2v33h-2V7ZM345 8h2v32h-2V8ZM348 9h2v31h-2V9ZM351 11h2v29h-2V11ZM354 11h2v29h-2V11ZM357 12h2v28h-2V12ZM360 13h2v27h-2V13ZM363 12h2v28h-2V12ZM366 14h2v26h-2V14ZM369 11h2v29h-2V11ZM372 12h2v28h-2V12ZM375 13h2v27h-2V13ZM378 11h2v29h-2V11ZM381 12h2v28h-2V12ZM384 13h2v27h-2V13ZM387 9h2v31h-2V9ZM390 11h2v29h-2V11ZM393 7h2v33h-2V7ZM396 7h2v33h-2V7ZM399 8h2v32h-2V8ZM402 9h2v31h-2V9ZM405 9h2v31h-2V9ZM408 5h2v35h-2V5ZM411 1h2v39h-2V1ZM414 5h2v35h-2V5ZM417 6h2v34h-2V6ZM420 7h2v33h-2V7ZM423 9h2v31h-2V9ZM426 1h2v39h-2V1ZM429 2h2v38h-2V2ZM432 6h2v34h-2V6ZM435 8h2v32h-2V8ZM438 6h2v34h-2V6ZM441 8h2v32h-2V8ZM444 9h2v31h-2V9ZM447 10h2v30h-2V10ZM450 11h2v29h-2V11ZM453 13h2v27h-2V13ZM456 14h2v26h-2V14ZM459 13h2v27h-2V13ZM462 13h2v27h-2V13ZM465 14h2v26h-2V14ZM468 14h2v26h-2V14ZM471 4h2v36h-2V4ZM474 5h2v35h-2V5ZM477 7h2v33h-2V7ZM480 8h2v32h-2V8ZM483 9h2v31h-2V9ZM486 8h2v32h-2V8ZM489 2h2v38h-2V2ZM492 3h2v37h-2V3ZM495 4h2v36h-2V4ZM498 7h2v33h-2V7ZM501 0h2v40h-2V0ZM504 2h2v38h-2V2ZM507 3h2v37h-2V3ZM510 4h2v36h-2V4ZM513 5h2v35h-2V5ZM516 3h2v37h-2V3ZM519 5h2v35h-2V5ZM522 6h2v34h-2V6ZM525 8h2v32h-2V8ZM528 8h2v32h-2V8ZM531 9h2v31h-2V9ZM534 11h2v29h-2V11ZM537 12h2v28h-2V12ZM540 9h2v31h-2V9ZM543 11h2v29h-2V11ZM546 11h2v29h-2V11ZM549 12h2v28h-2V12ZM552 13h2v27h-2V13ZM555 14h2v26h-2V14ZM558 14h2v26h-2V14ZM561 16h2v24h-2V16ZM564 17h2v23h-2V17ZM567 18h2v22h-2V18ZM570 19h2v21h-2V19ZM573 13h2v27h-2V13ZM576 6h2v34h-2V6ZM579 7h2v33h-2V7ZM582 7h2v33h-2V7ZM585 9h2v31h-2V9ZM588 11h2v29h-2V11ZM591 13h2v27h-2V13ZM594 15h2v25h-2V15ZM597 14h2v26h-2V14ZM600 15h2v25h-2V15ZM603 15h2v25h-2V15ZM606 16h2v24h-2V16ZM609 12h2v28h-2V12ZM612 10h2v30h-2V10ZM615 11h2v29h-2V11ZM618 12h2v28h-2V12ZM621 13h2v27h-2V13ZM624 15h2v25h-2V15ZM627 4h2v36h-2V4ZM630 7h2v33h-2V7ZM633 6h2v34h-2V6ZM636 8h2v32h-2V8ZM639 9h2v31h-2V9ZM642 5h2v35h-2V5ZM645 7h2v33h-2V7ZM648 10h2v30h-2V10ZM651 11h2v29h-2V11ZM654 13h2v27h-2V13ZM657 14h2v26h-2V14ZM660 14h2v26h-2V14ZM663 15h2v25h-2V15ZM666 15h2v25h-2V15ZM669 11h2v29h-2V11ZM672 7h2v33h-2V7ZM675 8h2v32h-2V8ZM678 9h2v31h-2V9ZM681 11h2v29h-2V11ZM684 11h2v29h-2V11ZM687 12h2v28h-2V12ZM690 13h2v27h-2V13ZM693 12h2v28h-2V12ZM696 14h2v26h-2V14ZM699 11h2v29h-2V11ZM702 12h2v28h-2V12ZM705 13h2v27h-2V13ZM708 11h2v29h-2V11ZM711 12h2v28h-2V12ZM714 13h2v27h-2V13ZM717 9h2v31h-2V9Z"
/>
</svg>
);

0 comments on commit e815d10

Please sign in to comment.