Files
livewire-material/resources/svg/symbols/outlined/workspaces_outline.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.3 KiB
XML

<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 21Q4.35 21 3.175 19.825Q2 18.65 2 17Q2 15.35 3.175 14.175Q4.35 13 6 13Q7.65 13 8.825 14.175Q10 15.35 10 17Q10 18.65 8.825 19.825Q7.65 21 6 21ZM12 11Q10.35 11 9.175 9.825Q8 8.65 8 7Q8 5.35 9.175 4.175Q10.35 3 12 3Q13.65 3 14.825 4.175Q16 5.35 16 7Q16 8.65 14.825 9.825Q13.65 11 12 11ZM18 21Q16.35 21 15.175 19.825Q14 18.65 14 17Q14 15.35 15.175 14.175Q16.35 13 18 13Q19.65 13 20.825 14.175Q22 15.35 22 17Q22 18.65 20.825 19.825Q19.65 21 18 21ZM12 9Q12.825 9 13.413 8.412Q14 7.825 14 7Q14 6.175 13.413 5.588Q12.825 5 12 5Q11.175 5 10.588 5.588Q10 6.175 10 7Q10 7.825 10.588 8.412Q11.175 9 12 9ZM6 19Q6.825 19 7.412 18.413Q8 17.825 8 17Q8 16.175 7.412 15.588Q6.825 15 6 15Q5.175 15 4.588 15.588Q4 16.175 4 17Q4 17.825 4.588 18.413Q5.175 19 6 19ZM18 19Q18.825 19 19.413 18.413Q20 17.825 20 17Q20 16.175 19.413 15.588Q18.825 15 18 15Q17.175 15 16.587 15.588Q16 16.175 16 17Q16 17.825 16.587 18.413Q17.175 19 18 19ZM12 7Q12 7 12 7Q12 7 12 7Q12 7 12 7Q12 7 12 7Q12 7 12 7Q12 7 12 7Q12 7 12 7Q12 7 12 7ZM6 17Q6 17 6 17Q6 17 6 17Q6 17 6 17Q6 17 6 17Q6 17 6 17Q6 17 6 17Q6 17 6 17Q6 17 6 17ZM18 17Q18 17 18 17Q18 17 18 17Q18 17 18 17Q18 17 18 17Q18 17 18 17Q18 17 18 17Q18 17 18 17Q18 17 18 17Z"/></svg>