mirror of
https://github.com/luxfi/brand.git
synced 2026-10-30 17:01:27 +00:00
main
The index re-exported favicon, lx and LuxWordmark from a version of @luxfi/logo that never shipped them: 1.0.8 predates the favicon helpers, the LX wordmark and the LuxWordmark alias, so three imports were type errors and runtime undefineds. 1.0.11 carries all three. The jsDelivr pins move with the dependency, as assets.mjs insists. Co-authored-by: Hanzo Dev <[email protected]>
@luxfi/brand
Brand assets, design tokens, and runtime config for Lux.
Install
pnpm add @luxfi/brand
Usage
import { brand, colors, typography, logos, applyTheme } from '@luxfi/brand'
// Runtime brand config (from brand.json)
brand.brand.name // "Lux Exchange"
brand.brand.shortName // "LUX"
brand.brand.appDomain // "lux.exchange"
// Design tokens
colors.primary // "#000000"
typography.fontFamily // "Geist, Geist Sans, sans-serif"
// Apply theme to document
applyTheme('dark')
Brand Config (brand.json)
Single source of truth for all brand strings, URLs, and metadata. Loaded at runtime by all Lux apps. White-label products override with their own brand package.
White-Label
The platform uses ▼ as the universal default mark. When no brand is configured, apps show "▼ Exchange", "▼ Wallet", etc. Brand packages provide the override:
| Org | Package | Name |
|---|---|---|
| Lux | @luxfi/brand |
Lux Exchange |
| Zoo | @zooai/brand |
Zoo Exchange |
| Hanzo | @hanzoai/brand |
Hanzo |
White-label users of the OSS Lux brand system bring their own brand package; the Lux repo lists only Lux ecosystem brands.
Font
Logo
The ▼ triangle mark is in @luxfi/logo. This package re-exports it via logos.
License
All rights reserved.
Languages
TypeScript
75%
JavaScript
10.4%
HTML
8%
CSS
6.6%