mirror of
https://github.com/luxfi/brand.git
synced 2026-10-30 17:01:27 +00:00
One family. Font stacks name Zen and fall back to the native faces, tokens name the role rather than a face, and the packages that used to supply a face now point at @hanzo/font. Self-hosted @font-face blocks are removed rather than renamed: rewriting the family in one would leave a src pointing at a file this repo no longer ships. @hanzo/font carries the binaries and declares the faces, so the local copies go with the declaration that used them. Comments naming a face we no longer use are deleted, not reworded.
1.4 KiB
1.4 KiB
@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.