chore: 在 lint 中添加类型检查并新增加载图标
- 在 Makefile 的 lint 目标中增加 `pnpm typecheck` - 添加带渐变效果的旋转加载 SVG 图标
This commit is contained in:
parent
188fc464e2
commit
740afca05a
2
Makefile
2
Makefile
@ -115,7 +115,7 @@ test:
|
||||
# JS + Rust 一次性检查(不改动文件)。
|
||||
lint:
|
||||
@echo "==> Biome check (libs)"
|
||||
@cd libs && pnpm exec biome check .
|
||||
@cd libs && pnpm exec biome check . && pnpm typecheck
|
||||
@echo "==> Cargo clippy (Rust)"
|
||||
@cargo clippy --all-targets --all-features -- -D warnings
|
||||
|
||||
|
||||
14
public/icons/90-ring-with-gradient.svg
Normal file
14
public/icons/90-ring-with-gradient.svg
Normal file
@ -0,0 +1,14 @@
|
||||
<svg fill="hsl(228, 97%, 42%)" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><defs><linearGradient id="RadialGradient8932"><stop offset="0%" stop-color="currentColor" stop-opacity="1"/><stop offset="100%" stop-color="currentColor" stop-opacity="0.25"/></linearGradient></defs><style>@keyframes spin8932 {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
#circle8932 {
|
||||
transform-origin: 50% 50%;
|
||||
stroke: url(#RadialGradient8932);
|
||||
fill: none;
|
||||
animation: spin8932 .5s infinite linear;
|
||||
:
|
||||
|
||||
}</style><circle cx="10" cy="10" r="8" id="circle8932" stroke-width="2"/></svg>
|
||||
|
After Width: | Height: | Size: 685 B |
Loading…
x
Reference in New Issue
Block a user