feat(icons): split built-in sprite into per-icon SVG sources and add ticket icon

Move the 114 built-in sprite icons out of assets/js/runtime/svg-icon.js into
assets/icons/sprite/{key}.svg and generate svg-icon.js with
tools/build-svg-sprite.mjs. Add ticket-color and use it for the user center
ticket entry. Update sidebar contract tests for the creator card labels.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-10-28 23:59:06 +08:00
1 parent 794d981260
commit 54ea83b262
120 files changed
+326 -108

No files matched your search

+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path d="M630.093 487.772L450.318 314.694c-14.382-13.851-35.955-13.851-50.336 0-14.382 13.842-14.382 34.614 0 48.465l118.647 114.228H173.461c-21.573 0-35.955 13.842-35.955 34.614s14.382 34.614 35.955 34.614h345.168L399.99 660.843c-14.382 13.851-14.382 34.623 0 48.465 7.192 6.93 14.382 10.386 25.164 10.386 10.792 0 17.982-3.465 25.173-10.386l179.775-176.535s0-3.465 3.6-3.465c10.782-10.386 10.782-31.149-3.6-41.535z"></path><path d="M170.99 269.693c21.573 0 35.955-13.851 35.955-34.614v-69.237c0-20.763 14.382-34.614 35.955-34.614h611.235c21.573 0 35.955 13.851 35.955 34.614v692.317c0 20.763-14.382 34.614-35.955 34.614H242.9c-21.573 0-35.955-13.851-35.955-34.614v-69.237c0-20.764-14.382-34.614-35.955-34.614s-35.955 13.851-35.955 34.614v69.237c0 58.842 46.736 103.842 107.865 103.842h611.235c61.119 0 107.865-45 107.865-103.842V165.842C962 107 915.253 62 854.135 62H242.9c-61.128 0-107.865 45-107.865 103.842v69.237c0 20.764 14.382 34.614 35.955 34.614z"></path></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB