8.4 KiB
name, colors, typography, rounded, spacing
| name | colors | typography | rounded | spacing | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Soundbox Ops |
|
|
|
|
Brand & Style
The design system is engineered for the high-stakes environment of fintech operations. The brand personality is Precise, Reliable, and Proactive, focusing on the seamless bridge between digital ledgers and physical IoT soundboxes.
The chosen style is Corporate / Modern with a heavy emphasis on Data-Centricity. This is achieved through a structured information hierarchy that prioritizes rapid scanning of transaction states and device health. The interface utilizes high-density layouts, subtle tonal layering to separate operational controls from data displays, and a functional aesthetic that avoids unnecessary decoration in favor of utility and speed.
Key visual principles:
- Clarity over Flourish: Every pixel must serve a functional purpose in the monitoring workflow.
- Immediate Feedback: Use of distinct semantic colors to highlight system anomalies or successful settlements.
- Operational Efficiency: Minimizing clicks through the use of drawers and context-aware action bars.
Colors
The palette is anchored by Primary Blue (#2563EB) to evoke trust and established financial authority. The neutral foundation is built exclusively on the Slate scale, providing a cool, professional backdrop that allows semantic alerts to stand out.
Usage Guidance:
- Primary: Actionable elements, active navigation states, and primary buttons.
- Semantic Colors: Reserved strictly for status indicators (Success for 'Settled', Warning for 'Degraded', Danger for 'Offline/Failed').
- Neutrals:
Slate-900for primary headings,Slate-700for body text, andSlate-100/200for borders and subtle backgrounds. - Background: The
F8FAFCbase provides a low-strain environment for long-duration operational shifts.
Typography
This design system employs a dual-font strategy. Plus Jakarta Sans is used for headings to provide a modern, clean fintech feel, while Inter is used for all body and functional text for maximum legibility at small sizes.
Tabular Numbers:
Crucial for a platform dealing with currency (IDR) and device IDs, all metric-related typography must have font-variant-numeric: tabular-nums enabled. This ensures that columns of numbers align perfectly in data tables and KPI cards, facilitating easier comparison.
Scale and Hierarchy:
- Headlines use Semibold (
600) to anchor page sections. - Body text remains Regular (
400) for extended reading in audit logs. - Labels use Medium (
500) with slight letter spacing for specialized metadata.
Layout & Spacing
The system follows a 12-column fluid grid for the main content area, allowing the platform to scale from large monitoring displays to standard laptops.
Key Layout Rules:
- Fixed Infrastructure: The topbar is locked at
72pxand the sidebar remains visible for Admin/Merchant portals to provide persistent global context. - Density: We utilize a "Comfortable-Compact" rhythm. Page margins are set to
24px, but internal card components and data tables use tighter spacing to maximize information density without sacrificing touch/click targets. - Vertical Rhythm: A base
4px/8pxgrid governs all spacing. Data tables utilize a consistent52pxrow height to accommodate status chips and action buttons comfortably.
Elevation & Depth
To maintain a "fast and clean" feel, the system avoids heavy drop shadows. Instead, it utilizes Tonal Layers and Low-Contrast Outlines.
- Level 0 (Surface):
#F8FAFC(Background) - The lowest layer. - Level 1 (Cards/Container):
#FFFFFFwith a1pxborder ofSlate-200. This is the primary surface for all data widgets. - Level 2 (Interactive): Elements that require focus (like drawers or modals) use a very soft, diffused shadow (
0 10px 15px -3px rgb(0 0 0 / 0.1)) to lift them above the data grid. - Depth via Border: Sticky headers in tables use a
1pxbottom border inSlate-200rather than a shadow to indicate they are "above" the scrolling content while maintaining a flat, professional profile.
Shapes
The design system adopts a Soft shape language. A 0.25rem (4px) base radius is used for most UI elements, which maintains a professional, structured look while appearing modern.
- Components: Buttons, Input fields, and KPI cards use the base
rounded(4px) orrounded-lg(8px). - Status Chips: Use
rounded-full(pill-shaped) to distinguish them from interactive buttons. - Icons: Should follow the same geometric principles—no sharp 90-degree corners, but not overly rounded or "bubbly."
Components
KPI Cards
Standardized containers for top-level metrics. They include a label-md for title, a metric-lg for the value, and a bottom section for metric-sm trend indicators (e.g., +12% vs last month).
Data Tables
- Sticky Header: Background remains white with a
Slate-200bottom border during scroll. - Numeric Alignment: Amounts and percentages are right-aligned using tabular numbers.
- Row Hover: Use
Slate-50background on hover to facilitate line scanning.
Status Chips
Pill-shaped badges with low-opacity backgrounds and high-contrast text:
- Active/Online/Settled: Green (Success)
- Pending/Retrying: Orange (Warning)
- Failed/Offline: Red (Danger)
- Default/Inactive: Slate-500 (Neutral)
Vertical Timelines
Used for transaction history and device lifecycle. Dots represent states; solid lines represent completed paths, and dashed lines represent pending/future steps.
Audit Blocks (Raw Payload Viewer)
Monospaced font (Courier Prime or JetBrains Mono as an alternative), contained in a Slate-900 box with a 'Copy' action always present in the top-right corner.
Detail Drawers
Standardized side-panel that slides from the right. It allows for "quick inspection" of a merchant or device without losing the context of the main list.