Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions branding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ README badge and the social previews, so they read as one project.
| `social-preview-<repo>.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/<state>.png` / `.svg` | The mark in a status colour, for the heading of a report: `passed`, `failed`, `warned`, `skipped`. Shown at 24 px. |
| `status/line-<state>.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.
Expand Down
6 changes: 6 additions & 0 deletions branding/src/render.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added branding/status/failed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions branding/status/failed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added branding/status/line-failed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions branding/status/line-failed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added branding/status/line-passed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions branding/status/line-passed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added branding/status/line-skipped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions branding/status/line-skipped.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added branding/status/line-warned.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions branding/status/line-warned.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added branding/status/passed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions branding/status/passed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added branding/status/skipped.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions branding/status/skipped.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added branding/status/warned.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions branding/status/warned.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading