Files
livewire-material/resources/svg/symbols/filled/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
1.4 KiB
XML

<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 15.05Q6.175 15.05 5.588 14.462Q5 13.875 5 13.05V11.05Q5 10.225 5.588 9.637Q6.175 9.05 7 9.05H17Q17.825 9.05 18.413 9.637Q19 10.225 19 11.05V13.05Q19 13.875 18.413 14.462Q17.825 15.05 17 15.05ZM12 5Q11.575 5 11.288 4.712Q11 4.425 11 4V3Q11 2.575 11.288 2.287Q11.575 2 12 2Q12.425 2 12.713 2.287Q13 2.575 13 3V4Q13 4.425 12.713 4.712Q12.425 5 12 5ZM18 7.1Q17.725 6.825 17.725 6.4Q17.725 5.975 18 5.7L18.4 5.3Q18.675 5.025 19.1 5.025Q19.525 5.025 19.8 5.3Q20.075 5.575 20.075 6Q20.075 6.425 19.8 6.7L19.4 7.1Q19.125 7.375 18.7 7.375Q18.275 7.375 18 7.1ZM12 22Q11.575 22 11.288 21.712Q11 21.425 11 21V20Q11 19.575 11.288 19.288Q11.575 19 12 19Q12.425 19 12.713 19.288Q13 19.575 13 20V21Q13 21.425 12.713 21.712Q12.425 22 12 22ZM18.4 18.8 18 18.4Q17.725 18.125 17.725 17.7Q17.725 17.275 18 17Q18.275 16.725 18.7 16.725Q19.125 16.725 19.4 17L19.8 17.4Q20.075 17.675 20.075 18.1Q20.075 18.525 19.8 18.8Q19.525 19.075 19.1 19.075Q18.675 19.075 18.4 18.8ZM4.6 7.1 4.2 6.7Q3.925 6.425 3.925 6Q3.925 5.575 4.2 5.3Q4.475 5.025 4.9 5.025Q5.325 5.025 5.6 5.3L6 5.7Q6.275 5.975 6.275 6.4Q6.275 6.825 6 7.1Q5.725 7.375 5.3 7.375Q4.875 7.375 4.6 7.1ZM4.2 18.8Q3.925 18.525 3.925 18.1Q3.925 17.675 4.2 17.4L4.6 17Q4.875 16.725 5.3 16.725Q5.725 16.725 6 17Q6.275 17.275 6.275 17.7Q6.275 18.125 6 18.4L5.6 18.8Q5.325 19.075 4.9 19.075Q4.475 19.075 4.2 18.8Z"/></svg>