Social profiles and code repositories: brand marks in one colour in the service select (Codeberg, Mastodon, Bluesky, Facebook, Instagram, YouTube) #905
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#905
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the service select for social profiles and code repositories (#867,
02de6eee6), each option draws its service's brand mark. Six of the marks are drawn in their owner's published colour: Mastodon violet, Bluesky blue, Facebook blue, Instagram pink, YouTube red and Codeberg blue. GitHub, Forgejo, SourceHut and ORCID are drawn in one colour (currentColor, black on the light page and white on the dark one). A list mixing four bright colours with black marks reads as a row of logos rather than a list of choices. All of them should be monochrome, in the option's text colour.Where
assets/brands.txt:bluesky,codeberg,facebook,instagram,mastodonandyoutubeare listed bare, which means mode brand.forgejo,github,orcidandsourcehutaresingle-colour, each with the page that allows it and a quotation.npm run sync:brands(scripts/sync-brands.mjs) writesstatic/brands/*.svgandNOTICE.txtfrom that list, and refuses a single-colour mark without its page and quotation.{% brand %}/{% option_brands %}(core/templatetags/postulo.py:134-195) draw the mark withdata-brand-mode. The stylesheet colourssingle-colourmarks.The rule this must keep
TRADEMARKS.md§ brand marks says a mark is unmodified. It may be drawn in one colour only where its owner's published guidelines allow a one-colour version in black and white, and the page saying so is recorded. So this is not a CSS override on the select. Each mark changes mode inassets/brands.txt, with its evidence:NOTICE.txt). Check Codeberg/Design for a monochrome logo and record it.If an owner's guidelines do not allow one colour, that service's option falls back to its generic Lucide icon, as LinkedIn and X do. The colour mark must not stay in the select, and the mark must not be recoloured.
What to do
assets/brands.txtassingle-colour <url> <quotation>, runnpm run sync:brands, and use the owner's own monochrome artwork where there is one. A mark whose owner forbids it goes to the Lucide-icon fallback.TRADEMARKS.md: update the row listing the marks and the examples under single colour.TRADEMARKS.mdand is not proposed.Done when
single-colourline inassets/brands.txtcarries its owner's page and quotation, andNOTICE.txtandTRADEMARKS.mdmatch.link_servicesis inbrandmode.Checked against
mainat75f31208b.Fixed in
7ff3fd2b5.