diff --git a/branding/README.md b/branding/README.md index 7bd9f27..4c71e0d 100644 --- a/branding/README.md +++ b/branding/README.md @@ -24,6 +24,14 @@ README badge and the social previews, so they read as one project. | `social-preview-.png` | One per repository, with that repository's address and a panel showing what it does. | | `favicon.svg` / `.png` | The small-size cut: at 16–32 px only the thickened tick remains. | | `badge-logo.svg` | The logo inside the README badge (below). | +| `status/.png` / `.svg` | The mark in a status colour, for the heading of a report: `passed`, `failed`, `warned`, `skipped`. Shown at 24 px. | +| `status/line-.png` / `.svg` | The same four without the tile, for one line of a report. Shown at 16 px. | + +The status marks keep the Ink tile and the commit on its history line; only +the verdict changes: a green tick, a red cross, an amber exclamation mark, a +grey dash. [commit-check-action](https://github.com/commit-check/commit-check-action) +links to the PNGs on `main` from every job summary and pull request comment, +so renaming or moving them breaks reports that are already posted. Upload a social preview per repository under **Settings → Social preview**; GitHub has no API for it, so nothing does that for you. diff --git a/branding/src/render.sh b/branding/src/render.sh index 91af15a..1a1a586 100755 --- a/branding/src/render.sh +++ b/branding/src/render.sh @@ -24,6 +24,12 @@ rsvg-convert -w 1024 -h 1024 "$out/avatar.svg" -o "$out/avatar.png" rsvg-convert -w 512 -h 512 "$out/logo-mark.svg" -o "$out/logo-mark.png" rsvg-convert -w 256 -h 256 "$out/favicon.svg" -o "$out/favicon.png" +# The status marks the Action's report shows: tiles at 4x of 24 px, line marks at 4x of 16 px. +for state in passed failed warned skipped; do + rsvg-convert -w 96 -h 96 "$out/status/$state.svg" -o "$out/status/$state.png" + rsvg-convert -w 64 -h 64 "$out/status/line-$state.svg" -o "$out/status/line-$state.png" +done + # The lockup, trimmed to its ink with an even margin. for theme in light dark; do name=logo; [ "$theme" = dark ] && name=logo-dark diff --git a/branding/status/failed.png b/branding/status/failed.png new file mode 100644 index 0000000..6c6f8e8 Binary files /dev/null and b/branding/status/failed.png differ diff --git a/branding/status/failed.svg b/branding/status/failed.svg new file mode 100644 index 0000000..1f90be9 --- /dev/null +++ b/branding/status/failed.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/branding/status/line-failed.png b/branding/status/line-failed.png new file mode 100644 index 0000000..e444e4b Binary files /dev/null and b/branding/status/line-failed.png differ diff --git a/branding/status/line-failed.svg b/branding/status/line-failed.svg new file mode 100644 index 0000000..2e7c4f1 --- /dev/null +++ b/branding/status/line-failed.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/branding/status/line-passed.png b/branding/status/line-passed.png new file mode 100644 index 0000000..abd8b66 Binary files /dev/null and b/branding/status/line-passed.png differ diff --git a/branding/status/line-passed.svg b/branding/status/line-passed.svg new file mode 100644 index 0000000..9eb0d5c --- /dev/null +++ b/branding/status/line-passed.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/branding/status/line-skipped.png b/branding/status/line-skipped.png new file mode 100644 index 0000000..678f7e5 Binary files /dev/null and b/branding/status/line-skipped.png differ diff --git a/branding/status/line-skipped.svg b/branding/status/line-skipped.svg new file mode 100644 index 0000000..c2c799e --- /dev/null +++ b/branding/status/line-skipped.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/branding/status/line-warned.png b/branding/status/line-warned.png new file mode 100644 index 0000000..2aae423 Binary files /dev/null and b/branding/status/line-warned.png differ diff --git a/branding/status/line-warned.svg b/branding/status/line-warned.svg new file mode 100644 index 0000000..73ac385 --- /dev/null +++ b/branding/status/line-warned.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/branding/status/passed.png b/branding/status/passed.png new file mode 100644 index 0000000..3eea3f7 Binary files /dev/null and b/branding/status/passed.png differ diff --git a/branding/status/passed.svg b/branding/status/passed.svg new file mode 100644 index 0000000..ba96428 --- /dev/null +++ b/branding/status/passed.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/branding/status/skipped.png b/branding/status/skipped.png new file mode 100644 index 0000000..a7c8a6c Binary files /dev/null and b/branding/status/skipped.png differ diff --git a/branding/status/skipped.svg b/branding/status/skipped.svg new file mode 100644 index 0000000..107692c --- /dev/null +++ b/branding/status/skipped.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/branding/status/warned.png b/branding/status/warned.png new file mode 100644 index 0000000..a0cf0d5 Binary files /dev/null and b/branding/status/warned.png differ diff --git a/branding/status/warned.svg b/branding/status/warned.svg new file mode 100644 index 0000000..bf2fa07 --- /dev/null +++ b/branding/status/warned.svg @@ -0,0 +1,7 @@ + + + + + + +