TorbatYar/frontend/shared/theme/README.md
Mortezakoohjani 6f4a484051 Migrate Beauty, Healthcare, and Accounting frontend to modular src/modules architecture.
Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 22:28:27 +03:30

24 lines
695 B
Markdown

# `shared/theme/`
## Purpose
White-label theming: CSS variable application, tenant brand loading, dark mode integration.
## Legacy source (not moved)
- `lib/theme.ts``applyTheme`, tenant theme fetch
- `styles/globals.css` — CSS custom properties (`--color-primary`, `--beauty-accent`, `--health-accent`)
- `public/theme.config.json` — default brand
- `tailwind.config.ts` — token mapping to CSS vars
- `components/ThemeProvider.tsx`, `components/providers/ColorModeProvider.tsx`
## Planned contents
- Theme loader and applier
- Token definitions (TypeScript)
- Tailwind preset export
## Status
📁 Scaffold only — theme code remains in legacy paths.