mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-26 19:37:42 +02:00
- Add uload project with apps/web structure
- Reorganize from flat to monorepo structure
- Remove PocketBase binary and local data
- Update to pnpm and @uload/web namespace
- Add picture project to monorepo
- Remove embedded git repository
- Unify all package names to @{project}/{app} schema:
- @maerchenzauber/* (was @storyteller/*)
- @manacore/* (was manacore-*, manacore)
- @manadeck/* (was web, backend, manadeck)
- @memoro/* (was memoro-web, landing, memoro)
- @picture/* (already unified)
- @uload/web
- Add convenient dev scripts for all apps:
- pnpm dev:{project}:web
- pnpm dev:{project}:landing
- pnpm dev:{project}:mobile
- pnpm dev:{project}:backend
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
754 B
Markdown
38 lines
754 B
Markdown
# Text
|
|
|
|
Typography component with predefined text variants.
|
|
|
|
## Installation
|
|
\`\`\`bash
|
|
npx @memoro/ui add text
|
|
\`\`\`
|
|
|
|
## Usage
|
|
\`\`\`tsx
|
|
import { Text } from '@/components/ui/Text';
|
|
|
|
<Text variant="h1">Heading</Text>
|
|
<Text variant="body" color="#666">Body text</Text>
|
|
<Text variant="caption" weight="bold">Caption</Text>
|
|
\`\`\`
|
|
|
|
## Variants
|
|
- \`title\` - 44px, extra bold
|
|
- \`h1\` - 32px, bold
|
|
- \`h2\` - 28px, bold
|
|
- \`h3\` - 24px, semibold
|
|
- \`h4\` - 20px, semibold
|
|
- \`bodyLarge\` - 18px
|
|
- \`body\` (default) - 16px
|
|
- \`bodySmall\` - 14px
|
|
- \`caption\` - 12px
|
|
- \`label\` - 14px, medium
|
|
- \`button\` - 16px, semibold
|
|
|
|
## Weights
|
|
- \`regular\` - 400
|
|
- \`medium\` - 500
|
|
- \`semibold\` - 600
|
|
- \`bold\` - 700
|
|
|
|
See full documentation in component file.
|