React kit
The original developer package for React 18 + Vite + TypeScript, Tailwind 3.4 and shadcn/ui (“default”, cssVariables). No new libraries.
| File | What it is | Goes to |
|---|---|---|
| tokens/index.css | Every token, light (:root) and dark (.dark), with the Tailwind directives | src/index.css |
| tokens/tailwind.config.patch.md | Additions to theme.extend: text-positive, bg-pl-income, bg-cc-3… | tailwind.config.ts |
| tokens/fonts-index-html.md | Geist + Geist Mono link, title and meta | index.html <head> |
| lib/format.ts · test | The only number/date → text conversion: amounts, %, deltas, rates, dates, EN/IT | src/lib/ |
| lib/fx.ts · test | EUR/USD conversion at the month’s average rate (monthly_exchange_rates) | src/lib/ |
| components/Segmented.tsx | Month/Quarter/Year, EUR/USD, EN/IT, light/dark | src/components/layout/ |
| components/KpiCard.tsx | KPI card with deltas and optional sparkline | src/components/charts/ |
| components/Sparkline.tsx | Axis-less trend line | src/components/charts/ |
| components/pnl-structure.ts | P&L structure and the static colour classes per section | src/components/pnl/structure.ts |
| README.it.md | Original package notes (Italian) | |
| original/…dc.html | The original design-system page (needs support.js beside it) |
Reference screens
Where the screens and tokens/index.css disagree (e.g. the screen shows --background as pure white), tokens/index.css wins; it is what ships.





