Repository navigation
Brand the packages and set their identity metadata - #172
Merged
Merged
Conversation
Every package gets an icon from assets/branding (the base ticket; the NBP ticket for Nbp and Nbp.DependencyInjection, through OpenUrzednikPackageIcon), Authors and Company "Andrzej Ochodek" and a Copyright line as in LICENSE. The root READMEs get the header picture (light and dark). BRANDING.md, the design spec, and the provider icons for GUS, KRS and MF are committed but not wired (ADR-0010). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
assets/branding/branding.toml holds every definition (font pin, colors, geometry, the icons with their labels, headers, social cards), and generate.py (a uv script, locked) rebuilds every SVG and PNG from it; --check reports drift. A new institution's icon is one new entry. The script reproduces the committed SVGs byte for byte; the PNGs were re-encoded with identical pixels. Adds an English social preview, and LF rules for SVG, TOML and Python files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No provider uses them yet (ADR-0010); each provider gets its icon from a branding.toml entry when it becomes ready. The generator reproduces the remaining 12 files byte for byte on Windows and Linux. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Closes #105
Implements the issue's spec:
AuthorsandCompany=Andrzej Ochodek,Copyright=Copyright (c) 2026 Andrzej Ochodek(as inLICENSE), in the rootDirectory.Build.props.PackageIconplusOpenUrzednikPackageIcon(defaulticon.png);OpenUrzednik.NbpandOpenUrzednik.Nbp.DependencyInjectionseticon-nbp.png. The GUS, KRS and MF icons are not included: each provider gets its icon from abranding.tomlentry when it becomes ready (ADR-0010).version.jsonandnuget-pre-release.ymlalready list both packed PNGs (Publish previews only when package inputs change #97).assets/branding/:BRANDING.md(the design spec) and the SVG/PNG files.APPLY-BRANDING.mdisn't committed.BRANDING.md.Checks
icon.pngat the root and<icon>icon.png</icon>. The packed icon is byte-identical toicon-nbp.pngfor the two NBP packages and toicon.pngfor Core, Diagnostics and Extensions.Logging. The nuspecs have the new authors and copyright.dotnet build(0 warnings); net10.0 tests pass (run per project: the local SDKglobal.jsonblocksdotnet test);dotnet format --verify-no-changes.BRANDING.mdare stored as LF, without a BOM.BRANDING.md: the staleREADME.en.mdname;Httpis no longer listed as a package (it's internal shared source, ADR-0006); GUS/KRS/MF are marked "not wired until the provider is ready"; the icon rule covers the DI package too.Maintainer, after the merge
assets/branding/social-preview.pngin Settings → General → Social preview. There is no API for it.icon.pngas the avatar of the nuget.org profile or a GitHub organization.Generator (added after review)
assets/branding/branding.tomlis the one definitions file;uv run assets/branding/generate.pyrebuilds every SVG and PNG from it (pinned Cascadia Mono 2102.25 with SHA-256,fonttoolsandresvg-pylocked ingenerate.py.lock). A new institution's icon is one new entry.--checkreports drift; it gives the same bytes for every SVG and PNG on Windows and on Linux (Ubuntu 24.04).social-preview-en.png(".NET clients for Polish public APIs"); upload whichever card you prefer..gitattributes: SVG, TOML and Python files are LF, so--checkalso works on a fresh Windows clone.APPLY-BRANDING.mdwas deleted from disk (never committed).🤖 Generated with Claude Code