feat: 添加图标和路由配置

- 新增多个 SVG 图标文件
- 添加 `/demo/icons` 路由配置,用于图标预览
This commit is contained in:
rd
2025-09-25 11:54:43 +08:00
parent e9a74c6b1e
commit 9e5bf07c1f
77 changed files with 410 additions and 8 deletions

View File

@ -0,0 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20 20C20.5523 20 21 20.4477 21 21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21C3 20.4477 3.44772 20 4 20H20Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1602 1.5C13.353 1.50002 14.7089 1.78156 15.7852 2.65332C16.899 3.55559 17.5684 4.97223 17.5684 6.92676C17.5683 8.92914 16.8345 10.1415 16.1123 10.9941C15.942 11.1952 15.7733 11.375 15.6328 11.5254C15.4851 11.6835 15.3754 11.8018 15.2861 11.9111C15.1225 12.1117 15.1269 12.1672 15.1299 12.1494C15.1299 12.2913 15.1323 12.4141 15.1328 12.5215H19.5C20.3284 12.5215 21 13.1931 21 14.0215V18C21 18.5523 20.5523 19 20 19H4C3.73478 19 3.4805 18.8946 3.29297 18.707C3.10542 18.5194 2.99985 18.2643 3 17.999L3.00195 14.0205C3.00338 13.1933 3.67475 12.5224 4.50195 12.5215H8.95801C8.95899 12.4352 8.96089 12.3386 8.96094 12.2285C8.93979 12.1966 8.89792 12.1381 8.82031 12.0479C8.72047 11.9318 8.6069 11.8114 8.45117 11.6426C8.30347 11.4825 8.13319 11.2943 7.95996 11.0811C7.24043 10.1954 6.51083 8.91981 6.51074 6.92676C6.51074 4.93586 7.26774 3.51982 8.44141 2.63281C9.56922 1.78048 10.9696 1.5 12.1602 1.5ZM12.1602 3.5C11.2407 3.5 10.3166 3.72284 9.64746 4.22852C9.02418 4.69955 8.51074 5.49702 8.51074 6.92676C8.51083 8.35361 9.00702 9.19795 9.5127 9.82031C9.64577 9.98409 9.78241 10.135 9.92188 10.2861C10.0532 10.4285 10.2071 10.5923 10.3369 10.7432C10.5607 11.0033 10.9619 11.4907 10.9619 12.1396C10.9619 12.5568 10.9711 13.065 10.875 13.4424C10.8192 13.6615 10.6987 13.971 10.4082 14.2119C10.1068 14.4618 9.76434 14.5214 9.50391 14.5215H5.00195L5.00098 17H19V14.5215H14.5205C14.4141 14.5215 14.0985 14.5232 13.792 14.3447C13.4182 14.1269 13.2713 13.7822 13.2109 13.5479C13.1568 13.3375 13.143 13.1076 13.1367 12.915C13.13 12.707 13.1299 12.4451 13.1299 12.1396C13.1299 11.4764 13.4631 10.9813 13.7363 10.6465C13.8755 10.476 14.0331 10.3087 14.1709 10.1611C14.316 10.0058 14.4517 9.85962 14.5859 9.70117C15.0827 9.11468 15.5683 8.34458 15.5684 6.92676C15.5684 5.46113 15.0889 4.66384 14.5264 4.20801C13.9261 3.72179 13.0773 3.50003 12.1602 3.5Z" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB