Repository navigation
feat(admin): brand the Payload admin with Clark's logo, colours and fonts - #55
Merged
Merged
Conversation
✅ Deploy Preview for clarksbowlingclub ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
maxitect
force-pushed
the
feat/44-clark-s-branding-for-the-payload-admin
branch
from
November 13, 2026 01:12
c4a2b15 to
20ffeb2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Clark's Bowling Club branding for
/admin, using only Payload's CSS variables and documented component slots. No behaviour change.Changes
public/svg/favicon.svg), throughadmin.components.graphicscustom.scss: site palette on Payload's variables, slate-950 dark theme, red for errors and the light focus ring, orange for the dark focus ring and the welcome panel, Blanch Caps on h1 and h2admin.metadocs/admin-guide.md)Acceptance criteria
/admingit diff main -- package.json pnpm-lock.yamlis emptyCloses
Closes #44
Notes
admin.themeleft atall), because the criteria ask for both themes..btn--style-primary, which the ticket rules out, and that override also hid the disabled state (an unmodified Save looked enabled). Focus rings are red in light and orange in dark: orange on white fails the 3:1 non-text contrast.--theme-elevation-350to550) carry hints and labels and failed AA (2.4:1 to 3.9:1). They are darkened in light and lightened in dark; borders that use them move with them.previewhad nodemosbucket. The bucket now exists there (private, with Neon's default CORS rule), and a door with an MP3 was created, read back and deleted through the admin UI.Post-merge (production, not branding): Neon
mainhas nodemosbucket yet, so door uploads on production will fail until #50's post-merge steps 1 and 2 are done: create the privatedemosbucket onmain, then allow PUT fromhttps://clarksbowlingclub.comin its CORS rule.Framing 'https://app.netlify.com/'CSP console error on previews is Netlify's own deploy toolbar. TheRoute "/admin/[[...segments]]" ... runtime data in generateMetadata()dev warning comes from Payload's own metadata, not this change.previewdatabase and removed. Test rows (tour date, song, media, carousel row, door) were deleted through the UI.Review
Verdict: ALL CLEAR
Rounds: 2
.btn--style-primaryoverride (internal class name) made a disabled Save look enabledpriorityprop on the login logo image (Next 16 usespreload)Re-verified: AC1 (browser: login, dashboard, door form, light and dark) PASS, AC3 (browser: contrast scan of 8 admin pages, both themes, 0 visible failures) PASS, AC4 (deploy: tour date, song, carousel photo and door CRUD on the rebased preview; tour date and song on the final tree locally) PASS, AC2 (deploy) PASS, AC5 (deploy: public CSS byte-identical to production, admin font only under
/admin, no CSP violations) PASS · check.sh PASSEvidence
AC1
Screenshots (scratchpad
t44/):dash-light-1280.png,dash-dark-390.png,cal-dark-1280.png,p-login-light.png,p-dash-light.png,p-door-edit-dark.png, plus tour/calendar pages in both themes at 1280 and 390. The login page shows the ball and "Clark's Bowling Club" in Blanch Caps on slate-950; the dashboard shows the bilingual welcome panel with an orange edge. The colour picker (calendar door) renders as a swatch plus hex field in both themes.AC2
AC3
DOM scan of every text node (computed colour against nearest opaque background; 3:1 for large text, 4.5:1 otherwise) on the dashboard, tour date create, calendar settings, media create, About page and the tour date list, in light and dark, including the validation errors after an empty submit:
Light error text
#c14627on white is about 5:1; dark error text#ee7a60on#020618is about 7:1.AC4
All on the deploy preview, through the admin UI, read back with
/api/*:AC5