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>
2 lines
3.7 KiB
XML
2 lines
3.7 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path d="m 950.3677,301.98155 c -40.45962,0 -73.22375,33.23643 -73.22375,74.14736 0,4.66372 0.4664,9.26841 1.28258,13.696 L 689.12913,505.9458 552.53419,236.2171 c 30.60706,-15.82125 51.59476,-47.99506 51.59476,-85.18682 0,-52.835883 -42.3252,-95.694942 -94.50296,-95.694942 -52.17775,0 -94.50294,42.859059 -94.50294,95.694942 0,38.78569 22.79497,72.08117 55.5008,87.07592 L 343.76487,505.9458 148.46265,387.28642 c 0.5247,-3.66013 0.93279,-7.32027 0.93279,-11.09848 0,-40.96996 -32.82244,-74.14735 -73.223756,-74.14735 -40.401324,0 -73.340354,33.17739 -73.340354,74.14735 0,36.12912 25.535036,66.17769 59.290253,72.78956 l 82.085227,413.65486 c 8.04529,63.58477 43.31361,109.33254 84.2423,109.33254 h 570.80715 c 40.92602,0 76.13872,-45.74777 84.2423,-109.33254 l 82.08522,-413.891 c 33.17224,-7.08414 58.00772,-36.89657 58.00772,-72.55342 0.058,-40.96996 -32.76417,-74.20639 -73.2238,-74.20639 z M 680.67576,864.76789 H 345.80534 c -22.62008,0 -40.98432,-21.05375 -40.98432,-46.98664 0,-25.93289 18.36424,-46.98665 40.98432,-46.98665 h 334.87042 c 22.61779,0 40.98431,21.05376 40.98431,46.98665 0,25.93289 -18.36075,46.98664 -40.98431,46.98664 z" fill="#fc7032" /><path d="M 878.01844,390.06105 689.12913,505.9458 552.53419,236.2171 c 30.60706,-15.82125 51.59476,-47.99506 51.59476,-85.18682 0,-52.835883 -42.3252,-95.694942 -94.50296,-95.694942 -52.17775,0 -94.50294,42.859059 -94.50294,95.694942 0,38.78569 22.79497,72.08117 55.5008,87.07592 L 343.76487,505.9458 148.46265,387.28642 c 0.5247,-3.6011 0.93279,-7.32027 0.93279,-11.09848 0,-40.96996 -32.82244,-74.14735 -73.223756,-74.14735 -40.459623,0 -73.2237557,33.23643 -73.2237557,74.14735 0,36.12912 25.5350357,66.17769 59.2902537,72.78956 l 82.085228,413.65486 c 8.04529,63.58477 43.30989,109.33254 84.24229,109.33254 h 369.32524 c 169.18418,-180.95783 280.4773,-350.96082 280.4773,-573.16674 -0.11661,-2.89269 -0.2915,-5.78538 -0.3498,-8.73711 z M 680.67576,864.76789 H 345.80534 c -22.62008,0 -40.98432,-21.05375 -40.98432,-46.98664 0,-25.93289 18.36424,-46.98665 40.98432,-46.98665 h 334.87042 c 22.61779,0 40.98431,21.05376 40.98431,46.98665 0,25.93289 -18.36075,46.98664 -40.98431,46.98664 z M 877.96014,386.45995 c -0.1166,-5.90346 -0.17489,-11.86595 -0.46639,-17.71036 -0.2332,2.47946 -0.3498,4.9589 -0.3498,7.43835 0,3.48303 0.3498,6.90703 0.81619,10.27201 z" fill="#ff7e3e" /><path d="m 324.00144,778.01304 c 3.21091,-2.35768 6.70765,-4.15942 10.37726,-5.34699 140.67589,-74.18944 253.60138,-199.30282 316.21468,-342.87477 l -98.0009,-193.51514 c 30.60706,-15.82125 51.59476,-47.99507 51.59476,-85.18681 0,-52.835898 -42.32519,-95.694957 -94.50294,-95.694957 -52.17776,0 -94.50296,42.859059 -94.50296,95.694957 0,38.78567 22.79498,72.08114 55.50081,87.07591 L 343.82316,506.00484 148.46265,387.28642 c 0.5247,-3.6011 0.93279,-7.32027 0.93279,-11.09848 0,-40.96996 -32.82244,-74.14735 -73.223756,-74.14735 -40.459623,0 -73.2237557,33.23643 -73.2237557,74.14735 0,36.12912 25.5350357,66.17769 59.2902537,72.78956 l 71.707978,361.35028 c 66.92745,-6.848 130.82333,-2.5053 190.05528,-32.31474 z" fill="#ff9552" /><path d="m 534.16995,58.759342 c -7.81209,-2.125243 -16.03227,-3.364969 -24.54396,-3.364969 -52.17775,0 -94.50294,42.859059 -94.50294,95.694957 0,38.78567 22.79497,72.08114 55.5008,87.07591 l -18.42253,38.90375 C 491.90305,211.12743 520.00325,137.39331 534.16995,58.759342 Z M 148.46265,387.28642 c 0.5247,-3.6011 0.93279,-7.32027 0.93279,-11.09848 0,-40.96996 -32.82244,-74.14735 -73.223756,-74.14735 -40.459623,0 -73.2237557,33.23643 -73.2237557,74.14735 0,36.12912 25.5350357,66.17769 59.2902537,72.78956 L 84.508464,561.08405 C 154.05441,540.90524 219.67547,508.81894 278.52809,466.21558 Z" fill="#ffa56a" /></svg>
|