Files
livewire-material/resources/svg/symbols/filled/thumb_down_off.svg
T
Andreas Reinhold / reiniandClaude Opus 5 7a95449c82 Draw the 67 Material Symbols Google ships without a viewBox at every size
Google publishes 67 symbols per cut (auto_awesome, insights,
tips_and_updates, battery_50 ...) with width and height but no viewBox,
their paths in 24 units, or 20 in the 20 cut, where every other symbol
draws in `0 -960 960 960`. bin/fetch-symbols dropped the size so CSS
decides it, which left these with no coordinate system: `<x-icon>`
drew them at 1:1, whole only at exactly 24px and cut off or misplaced
at any other size, the 20 cut every small button uses included.
normalise() now turns a file's width and height into its viewBox when
it has none, before dropping them. The 268 files are regenerated from
Google's originals at the recorded SOURCE commit with the fixed step
(each shipped file matched the old step's output first; the other
16,272 do not change), and every path lies inside its new viewBox.
IconTest checks that each shipped symbol has a viewBox and that
`<x-icon name="auto_awesome">` renders in 20 units at size 16 and in 24
at size 32; both fail without the change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 04:18:10 +02:00

1 line
488 B
XML

<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 16q-.8 0-1.4-.6Q1 14.8 1 14v-2q0-.175.038-.375.037-.2.112-.375l3-7.05q.225-.5.75-.85T6 3h8q.825 0 1.413.587Q16 4.175 16 5v10.175q0 .4-.162.763-.163.362-.438.637l-5.425 5.4q-.375.35-.887.425-.513.075-.988-.175t-.688-.7q-.212-.45-.087-.925L8.45 16ZM20 3q.825 0 1.413.587Q22 4.175 22 5v9q0 .825-.587 1.412Q20.825 16 20 16q-.825 0-1.413-.588Q18 14.825 18 14V5q0-.825.587-1.413Q19.175 3 20 3Z"/></svg>