Skip to content

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.

--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).

  • 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.

Rounded 16px, #17212b fill, hairline border. Agent avatar, name, subtitle, key numbers.

Compact pills for filters, statuses, quick actions. Cyan wash when active.

Messenger layout: bubbles with name, text, time. Entity = thread, updates = messages.

Sticky bottom input with send button. Text field + attachment + voice actions.

Blurred rgba(16,22,36,0.94), 3–4 tabs with icons + labels, active tab cyan.

  • 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.
  1. One primary action per screen.
  2. Dark theme only.
  3. Touch targets ≥ 44px.
  4. Instant feedback — optimistic UI, debounce saves with subtle indicators.
  5. No lorem ipsum in production — real data or honest empty states.