App Styles
Design patterns for ANUKA applications. Reference implementation: dashboard.anuka.pro (anuka-monitor-app/src/tg.css).
All ANUKA apps share the Design System foundations (colors, typography). This page documents app-level patterns: layout, navigation, components.
Tokens
Section titled “Tokens”--tg-bg: #0a0f1e; /* page */--tg-card: #17212b; /* cards */--tg-card-2: #1c2733; /* elevated cards */--tg-surface: rgba(255,255,255,0.03);--tg-text: #ffffff;--tg-hint: #9aa7b8;--tg-accent: #00d4ff;--tg-separator: rgba(255,255,255,0.07);--tg-border: rgba(255,255,255,0.08);--tg-tabbar: rgba(16,22,36,0.94);--tg-success: #34d399;--tg-warn: #fbbf24;--tg-danger: #f87171;--tg-radius: 16px;Typography: Plus Jakarta Sans (UI), JetBrains Mono (code/IDs).
Layout
Section titled “Layout”- Mobile-first. Max width ~480px centered (
tg-phone), desktop shows the phone frame. - Tabs, not pages. Bottom tab bar: Team / Chats / Activity. No deep navigation stacks.
- Sheets over modals. Bottom sheets with drag handle for details, creation, menus.
- No empty screens. Every screen has a populated state or a meaningful placeholder.
Components
Section titled “Components”Cards (.tg-agent-card)
Section titled “Cards (.tg-agent-card)”Rounded 16px, #17212b fill, hairline border. Agent avatar, name, subtitle, key numbers.
Chips (.tg-chip)
Section titled “Chips (.tg-chip)”Compact pills for filters, statuses, quick actions. Cyan wash when active.
Chat (.tg-bubble)
Section titled “Chat (.tg-bubble)”Messenger layout: bubbles with name, text, time. Entity = thread, updates = messages.
Composer (.tg-composer)
Section titled “Composer (.tg-composer)”Sticky bottom input with send button. Text field + attachment + voice actions.
Tab bar
Section titled “Tab bar”Blurred rgba(16,22,36,0.94), 3–4 tabs with icons + labels, active tab cyan.
Patterns
Section titled “Patterns”- Swipe & sheets: carousels for switchers, swipeable rows, drag-to-dismiss sheets.
- Choices as buttons: compact grids, not long forms. Minimum text fields.
- Unread badges: counts on tabs and chat threads.
- Smart time: relative timestamps («2m ago»), full date on tap.
- Auth: all apps use the shared login dialog via auth.anuka.pro.
- One primary action per screen.
- Dark theme only.
- Touch targets ≥ 44px.
- Instant feedback — optimistic UI, debounce saves with subtle indicators.
- No lorem ipsum in production — real data or honest empty states.