Serve black and white hoplite SVGs for sign-in buttons #8

Merged
exler merged 2 commits from camila/monochrome-icons into main 2026-10-18 11:45:52 +02:00
Collaborator

Summary

  • Publish transparent, literal black and white hoplite SVGs through the existing public embedded static files.
  • Preserve the original paths/viewBox and existing colored logo/UI.
  • Document /static/thermopylae-hoplite-black.svg and /static/thermopylae-hoplite-white.svg for external icon URLs (an <img> cannot inherit currentColor).

Verification

  • go vet ./... and go test ./...: pass.
  • git diff --check: pass.
  • Both variants have identical geometry to the original and only the intended literal fill.
  • Browser asset composite checked on yellow and near-black backgrounds.
  • Local go test -race ./... cannot execute: Raspberry Pi ThreadSanitizer reports unsupported 47-bit VMA (requires 48). CI passed on the initial asset commit; the latest test-removal commit is awaiting its CI result.

These URLs become available after merge and deployment; this PR does not change Forgejo settings.

Visual verification

Asset composite (not a production sign-in screen): black on yellow; white on near-black.

Monochrome variants

The redundant static-icon Go test was removed; the final change contains only the two SVG assets and README documentation. go test ./... passes after removal.

## Summary - Publish transparent, literal black and white hoplite SVGs through the existing public embedded static files. - Preserve the original paths/viewBox and existing colored logo/UI. - Document `/static/thermopylae-hoplite-black.svg` and `/static/thermopylae-hoplite-white.svg` for external icon URLs (an `<img>` cannot inherit `currentColor`). ## Verification - `go vet ./...` and `go test ./...`: pass. - `git diff --check`: pass. - Both variants have identical geometry to the original and only the intended literal fill. - Browser asset composite checked on yellow and near-black backgrounds. - Local `go test -race ./...` cannot execute: Raspberry Pi ThreadSanitizer reports unsupported 47-bit VMA (requires 48). CI passed on the initial asset commit; the latest test-removal commit is awaiting its CI result. These URLs become available after merge and deployment; this PR does not change Forgejo settings. ## Visual verification Asset composite (not a production sign-in screen): black on yellow; white on near-black. ![Monochrome variants](https://git.marut.network/attachments/90ffd477-6852-4067-86d8-07bc2d7be1b3) The redundant static-icon Go test was removed; the final change contains only the two SVG assets and README documentation. `go test ./...` passes after removal.
Serve black and white hoplite SVGs for sign-in buttons
All checks were successful
Push Docker Image / test (pull_request) Successful in 1m0s
Push Docker Image / push (pull_request) Has been skipped
5092680b26
Remove redundant static icon test
All checks were successful
Push Docker Image / test (pull_request) Successful in 58s
Push Docker Image / push (pull_request) Has been skipped
Push Docker Image / test (push) Successful in 1m0s
Push Docker Image / push (push) Successful in 50s
da5730074b
exler merged commit da5730074b into main 2026-10-18 11:45:52 +02:00
exler deleted branch camila/monochrome-icons 2026-10-18 11:45:52 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
exler/thermopylae!8
No description provided.