mirror of
https://github.com/luxfi/market.git
synced 2026-09-24 00:25:57 +00:00
CHAIN_INFO carried a `color` per chain — five hexes lifted wholesale from
GitHub's dark-syntax palette: #7ee787 (entity green), #d2a8ff (entity),
#ffa657 (variable — the literal tan the owner called out), #ff7b72 (keyword),
plus a cyan #55ccff for Lux itself. They were painted as inline
`style={{ color }}` in seven places on a surface whose every other pixel is
achromatic, and an inline hex is unreachable by white-label-by-hostname no
matter what value it holds.
Deleted rather than re-tokenised: the field existed to make five chains
distinguishable and the chain NAME already does that. The active chip in the
header was `text-black` over that hex, which stopped meeting contrast the
moment the fill stopped being a light pastel — it is the accent pair
(bg-primary/text-primary-foreground) now, which flips correctly with the mode.
@luxfi/ui 7.4.5 -> 7.4.9, which is also what un-breaks this app: two physical
copies of @tanstack/react-query left it rendering "Application error: a
client-side exception has occurred" with "No QueryClient set, use
QueryClientProvider to set one" in the console, on every route.
After: warm 0%, tinted-neutral 0.009%, mean chroma 0.448 at 1440x900 and
390x844, light and dark.
Co-authored-by: Hanzo Dev <[email protected]>
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "@luxfi/market",
|
|
"version": "1.0.3",
|
|
"description": "Lux NFT Marketplace - Genesis NFTs, trading, and NFT AMM",
|
|
"private": true,
|
|
"license": "GPL-3.0-or-later",
|
|
"scripts": {
|
|
"dev": "next dev --port 3100",
|
|
"build": "next build",
|
|
"start": "next start --port 3100",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/gui": "^7.3.0",
|
|
"@hanzo/iam": "^0.13.8",
|
|
"@luxfi/ui": "7.4.9",
|
|
"@radix-ui/react-dialog": "^1.1.0",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.0",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@tanstack/react-query": "5.77.2",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.0",
|
|
"next": "15.5.0",
|
|
"next-themes": "^0.4.0",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4",
|
|
"react-native-web": "^0.21.0",
|
|
"tailwind-merge": "^2.3.0",
|
|
"viem": "2.43.3",
|
|
"wagmi": "2.15.5"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.2.1",
|
|
"@types/node": "22.13.1",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"tailwindcss": "4.1.18",
|
|
"typescript": "5.8.3"
|
|
},
|
|
"packageManager": "[email protected]"
|
|
}
|