Files
livewire-material/resources/svg/symbols/outlined-20/flourescent.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
2.2 KiB
XML

<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.875 12.625Q5.146 12.625 4.635 12.115Q4.125 11.604 4.125 10.875V9.229Q4.125 8.5 4.635 7.99Q5.146 7.479 5.875 7.479H14.125Q14.854 7.479 15.365 7.99Q15.875 8.5 15.875 9.229V10.875Q15.875 11.604 15.365 12.115Q14.854 12.625 14.125 12.625ZM10 4.188Q9.646 4.188 9.385 3.927Q9.125 3.667 9.125 3.312V2.542Q9.125 2.188 9.385 1.927Q9.646 1.667 10 1.667Q10.354 1.667 10.615 1.927Q10.875 2.188 10.875 2.542V3.312Q10.875 3.667 10.615 3.927Q10.354 4.188 10 4.188ZM14.958 5.938Q14.708 5.688 14.708 5.323Q14.708 4.958 14.958 4.708L15.25 4.417Q15.5 4.167 15.865 4.167Q16.229 4.167 16.479 4.417Q16.729 4.667 16.729 5.031Q16.729 5.396 16.479 5.646L16.167 5.958Q15.917 6.208 15.562 6.198Q15.208 6.188 14.958 5.938ZM10 18.333Q9.646 18.333 9.385 18.073Q9.125 17.812 9.125 17.458V16.688Q9.125 16.333 9.385 16.073Q9.646 15.812 10 15.812Q10.354 15.812 10.615 16.073Q10.875 16.333 10.875 16.688V17.458Q10.875 17.812 10.615 18.073Q10.354 18.333 10 18.333ZM15.25 15.667 14.938 15.375Q14.688 15.125 14.698 14.76Q14.708 14.396 14.958 14.146Q15.208 13.896 15.573 13.896Q15.938 13.896 16.188 14.146L16.479 14.458Q16.729 14.708 16.729 15.062Q16.729 15.417 16.479 15.667Q16.229 15.917 15.865 15.917Q15.5 15.917 15.25 15.667ZM3.833 5.938 3.521 5.646Q3.271 5.396 3.281 5.031Q3.292 4.667 3.542 4.417Q3.792 4.167 4.156 4.167Q4.521 4.167 4.771 4.417L5.062 4.729Q5.312 4.979 5.312 5.333Q5.312 5.688 5.062 5.938Q4.812 6.188 4.448 6.188Q4.083 6.188 3.833 5.938ZM3.542 15.667Q3.292 15.417 3.292 15.052Q3.292 14.688 3.542 14.438L3.833 14.146Q4.083 13.896 4.448 13.896Q4.812 13.896 5.062 14.146Q5.312 14.396 5.312 14.76Q5.312 15.125 5.062 15.375L4.75 15.688Q4.5 15.938 4.146 15.927Q3.792 15.917 3.542 15.667ZM5.875 10.875H14.125Q14.125 10.875 14.125 10.875Q14.125 10.875 14.125 10.875V9.229Q14.125 9.229 14.125 9.229Q14.125 9.229 14.125 9.229H5.875Q5.875 9.229 5.875 9.229Q5.875 9.229 5.875 9.229V10.875Q5.875 10.875 5.875 10.875Q5.875 10.875 5.875 10.875ZM5.875 10.875Q5.875 10.875 5.875 10.875Q5.875 10.875 5.875 10.875V9.229Q5.875 9.229 5.875 9.229Q5.875 9.229 5.875 9.229Q5.875 9.229 5.875 9.229Q5.875 9.229 5.875 9.229V10.875Q5.875 10.875 5.875 10.875Q5.875 10.875 5.875 10.875Z"/></svg>