docs(agents): add @bytelyst/ui and @bytelyst/design-tokens to AGENTS.md
This commit is contained in:
parent
f5dc7332cb
commit
a611180537
@ -150,6 +150,7 @@ learning_ai_clock/
|
||||
| **Backend** | Platform-service (Fastify 5, port 4003) in sibling repo `learning_ai_common_plat` |
|
||||
| **Database** | Azure Cosmos DB via `@bytelyst/cosmos` (`productId: "chronomind"`) |
|
||||
| **Tests** | Vitest (web, 373 tests), XCTest (iOS, 129 tests), JUnit5 (Android, 30 tests) |
|
||||
| **Design system** | `@bytelyst/design-tokens` (CSS custom properties), `@bytelyst/ui` (shared React components) |
|
||||
|
||||
## 4. Coding Conventions
|
||||
|
||||
@ -162,6 +163,9 @@ learning_ai_clock/
|
||||
- Android engine in `android/app/.../engine/` — pure Kotlin, no Android framework deps
|
||||
- Theme tokens use `--cm-*` CSS custom properties (web) or `ChronoMindTheme` (native)
|
||||
- Commit messages: `type(scope): description` — types: `feat`, `fix`, `docs`, `refactor`, `test`, `chore`
|
||||
- Use `@bytelyst/ui` components (Button, Card, Badge, Toast, etc.) — never build custom equivalents
|
||||
- All web colors via `--cm-*` CSS custom properties from `@bytelyst/design-tokens` — never hardcode hex values
|
||||
- Every interactive element must have `aria-label` or visible text label
|
||||
|
||||
### MUST NOT do
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user