@devpraxis/brand-assets
v0.1.2
Published
FlowChat brand assets (logo, favicon, mascot art) — versioned separately from @devpraxis/design-tokens.
Readme
@devpraxis/brand-assets
FlowChat's brand assets (logo mark, favicon source, mascot art) — kept in a separate package from @devpraxis/design-tokens because assets and design tokens have different lifecycles: tokens are stable values consumed by code on every install; assets are produced/updated by design work, versioned independently, and can be large binary files.
What's here
assets/mascot.png— 1024×1024 PNG, the current brand mark. Sourced from flowchat-landing, which carries the current/latest design. Known limitation inherited from the source: studio-gray (non-transparent) backdrop, no vector/dark/light variants. If/when brand provides a proper cutout or vector export, this is the file to replace.assets/mascot-hero.png— 1254×1254 transparent PNG prepared for large, decorative hero placement. Use this instead of locally removing the background frommascot.png; one canonical cutout keeps the silhouette and color treatment consistent across products.
Install
npm install @devpraxis/brand-assetsPublished to the public npm registry — no auth needed to install.
Usage
Assets are exposed via subpath exports — resolve the on-disk path at build
time (e.g. to copy into a Next.js static export's public/ directory, which
can't reference node_modules directly):
import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
require.resolve("@devpraxis/brand-assets/mascot.png");
require.resolve("@devpraxis/brand-assets/mascot-hero.png");Consumers should copy only the exported assets they render into their own build output. They must not commit altered or duplicated derivatives inside application repositories; new approved variants belong here and receive an explicit subpath export.
Versioning
Manual semver bump in package.json, in the same PR that changes/adds a
file under assets/. Publishing is idempotent (a push with an unchanged
version is a no-op), so bump the version whenever an asset changes — a
forgotten bump means the new file silently never reaches consumers.
