🎨 refine(stats): rebalance summary badge styling
Ubuntu System Information / show-system-info (push) Successful in 0s
Ubuntu System Information / show-system-info (push) Successful in 0s
This commit is contained in:
@@ -44,7 +44,8 @@ test -f "${readme_path}" || fail "renderer should create root README.md"
|
||||
grep -q '<svg' "${output_dir}/total-lines.svg" || fail "svg badges should contain svg markup"
|
||||
grep -q '2,120' "${output_dir}/total-lines.svg" || fail "total-lines badge should include formatted total code"
|
||||
grep -q 'Python' "${output_dir}/python-lines.svg" || fail "language badge should include display name"
|
||||
! grep -q 'fill="#555555"' "${output_dir}/python-lines.svg" || fail "language badge should not use the heavy gray label background"
|
||||
! grep -q 'fill="#555555"' "${output_dir}/total-lines.svg" || fail "summary badge should not use the heavy gray label background"
|
||||
grep -q 'fill="#555555"' "${output_dir}/python-lines.svg" || fail "language badge should keep the split label style"
|
||||
grep -q '\./badges/total-lines.svg' "${readme_path}" || fail "README should reference badges via relative svg paths"
|
||||
grep -q '\./badges/python-lines.svg' "${readme_path}" || fail "README should reference language badges via relative svg paths"
|
||||
! grep -q '^!\[总代码\](\./badges/total-lines.svg)$' "${readme_path}" || fail "README should not duplicate summary badges above the table"
|
||||
|
||||
Reference in New Issue
Block a user