| name | SQL Browser | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| description | A precise, calm, ClickHouse-native workspace for querying, investigation, operations, and dashboards. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| colors |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typography |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| rounded |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| spacing |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| components |
|
Creative North Star: "The Focused Workbench"
SQL Browser is a dense professional tool that disappears behind the work. Its visual system uses quiet neutral planes, fine structural borders, compact controls, and one ClickHouse-blue accent to keep attention on SQL, schemas, results, and operational evidence. It should feel as approachable and restrained as Notion while retaining the precision expected by DBAs and analysts.
Complexity is revealed contextually. Stable navigation and inspection controls remain immediately available; configuration appears only when the chosen task requires it. The system explicitly rejects Grafana-style configuration density, IDE-like complexity, decorative dashboards, and generic database chrome that competes with the data.
Key Characteristics:
- Restrained neutral surfaces with ClickHouse Blue reserved for action and state.
- Compact, consistent controls built for sustained professional use.
- Sans-serif interface language paired with monospace SQL, values, and technical metadata.
- Structural borders and tonal layers before shadows.
- Responsive behavior that changes the workspace structure, not its typographic identity.
The palette pairs ClickHouse Blue with Porcelain light surfaces and Graphite dark surfaces. Semantic colors communicate state; they are never decorative.
- ClickHouse Blue (
#0079AD): primary actions, current selections, focus, sort state, and purposeful links. - Deep ClickHouse Blue (
#005F8A): pressed or strengthened accent treatment; never a second competing accent.
- Porcelain Canvas (
#FAFAFA) and Porcelain Surface (#FFFFFF): light-mode workspace and foreground planes. - Warm-Gray Subtle (
#F5F5F4) and Stone Chip (#EEECE8): toolbars, table headers, inactive controls, and grouping surfaces. - Light Ink (
#1A1A1F), Light Muted (#57575E), and Light Faint (#94949C): primary, supporting, and tertiary light-mode text. - Graphite Canvas (
#0E0E10), Graphite Surface (#131316), and Graphite Raised (#1A1A20): dark-mode workspace, chrome, inputs, and overlays. - Dark Ink (
#E6E6E8), Dark Muted (#A0A0A8), and Dark Faint (#6B6B74): primary, supporting, and tertiary dark-mode text. - Light Border (
#E5E3DE) and Dark Border (#1F1F26): structural separation without card-like decoration.
- Numeric Teal (
#0F766Elight /#92E1D8dark): numeric table values, separating data from labels without relying on weight. - Error Red (
#B91C1Clight /#F87171dark): failures and destructive outcomes. - Warning Amber (
#B45309light /#FBBF24dark): degraded, incomplete, or cautionary states.
The One Accent Rule. ClickHouse Blue is the only general-purpose accent and occupies no more surface than the active task requires.
The Evidence Rule. Error, warning, log-level, and numeric colors encode meaning. Never use them as decoration, and never rely on color alone.
Display Font: Inter with the system sans-serif fallback stack
Body Font: Inter with the system sans-serif fallback stack
Label/Mono Font: JetBrains Mono with SF Mono and system monospace fallbacks
Character: One restrained sans-serif family keeps the product familiar and calm. Monospace marks SQL, values, shortcuts, identifiers, timings, and technical metadata as evidence rather than interface prose.
- Title (700,
16px, 1.25): dashboard/library titles and the strongest persistent workspace headings. - Headline (600,
14–19px, 1.25): dialogs, login headings, drawer titles, and local section identity. - Body (400,
12.5–13px, 1.5): descriptions, Markdown panels, messages, and explanatory content; prose should stay within 65–75 characters when layout permits. - Label (500,
11–12px, 1.3): buttons, tabs, field names, table headers, and compact navigation. - Data (400,
11.5–12.5px, 1.45): SQL, result cells, schema types, timings, counts, parameters, and diagnostics.
The Evidence Typeface Rule. Use monospace only for content the user reads as code, data, identity, or measurement. Interface actions remain sans-serif.
The Compact Scale Rule. Product hierarchy comes from weight, placement, and surface structure. Never introduce oversized display typography into the application shell.
The system is flat and structurally layered. Background shifts and one-pixel borders define the persistent shell, panels, tables, and dashboard tiles. Shadows are reserved for temporary surfaces that physically overlap the workspace: menus, popovers, dialogs, detached overlays, and side drawers.
- Micro Lift (
0 1px 2px rgba(0,0,0,.12–.15)): selected segmented controls only. - Popover (
0 8px 28px rgba(0,0,0,.4)): menus and compact floating choices. - Dialog (
0 20px 60px rgba(0,0,0,.45–.5)): blocking overlays. - Drawer (
-8px 0 28px rgba(0,0,0,.35)): the cell-detail side drawer.
The Flat-by-Default Rule. Persistent surfaces never receive decorative drop shadows. If a surface does not overlap another surface, use tone and borders instead.
The Structural Elevation Rule. Shadow direction and strength must explain physical placement: downward for popovers, broad for modal depth, lateral for drawers.
- Shape: compact, gently curved edges (
5–9pxradius), sized to their context rather than forced into pills. - Primary: ClickHouse Blue with white text; the login primary is
42pxhigh with16pxhorizontal padding. - Hover / Focus: slight brightness or neutral hover fill; keyboard focus uses the accent border and a three-pixel low-opacity accent ring.
- Quiet / Ghost: transparent at rest, muted text, optional one-pixel border; hover reveals a neutral background and stronger text.
- Disabled: reduced opacity with the action cursor removed; loading communicates ongoing work without changing the button vocabulary.
- Style: compact tonal grouping using the chip surface, muted text,
5–8pxradius, and minimal padding. - State: selection uses the content surface, stronger text, or ClickHouse Blue; semantic chips use their assigned state color and accompanying text/icon.
- Corner Style:
8pxfor dashboard tiles and grouped controls; up to12pxfor dialogs and login containers. - Background: foreground surface token for the active theme.
- Shadow Strategy: none for persistent tiles; follow the elevation vocabulary for overlays.
- Border: one-pixel structural border using the theme border token.
- Internal Padding: compact and purpose-specific (
8–20px); data regions usually extend to edges under a distinct header.
- Style: surface background, one-pixel border,
5–8pxradius,11–13pxtext, and compact vertical sizing. - Focus: ClickHouse Blue border plus a
3pxtranslucent focus ring on form fields; editor focus remains integrated with the workspace. - Error / Disabled: semantic text/background/border tokens for errors; opacity and cursor changes for disabled controls.
- Table, JSON, panel types, query tabs, schema/library modes, and dashboard layout choices share one quiet tab/segmented-control vocabulary. Inactive items use muted text on transparent or subtle surfaces; active items gain ink, a tonal surface, a structural border, or the accent. Mobile replaces the split workspace with a bottom navigation for Tables, Editor, and Results at
768pxand below.
- Sticky headers and row numbers preserve context during two-axis scrolling.
- JetBrains Mono at
11.5pxmakes values align and scan reliably. - Rows are separated by faint borders; hover uses a neutral tint, not a card treatment.
- Numeric values use Numeric Teal and right alignment. Long text truncates and opens in the detail drawer.
- Column resizing and sorting expose direct manipulation without permanent configuration UI.
- CodeMirror occupies a flat editor plane using the monospace stack and
22pxline height. - The caret and meaningful selection/search states use ClickHouse Blue.
- Completion and hover surfaces use the same overlay elevation, neutral palette, and compact density as the rest of the application.
- Tiles use an
8pxradius, one-pixel border, and no shadow. - Header, body, and footer are structurally distinct; the visualization receives the largest uninterrupted area.
- Arrange and Report layouts change topology without changing component styling.
- Do keep ClickHouse Blue (
#0079AD) scarce and meaningful: action, selection, focus, and links. - Do use
1pxborders and tonal surface changes to organize persistent workspace regions. - Do keep controls compact, consistent, and close to the content they affect.
- Do use progressive disclosure for configuration and advanced ClickHouse features.
- Do pair every semantic color with text, iconography, position, or another non-color signal.
- Do preserve keyboard access, visible focus, responsive structure, and reduced-motion behavior to the WCAG 2.2 AA baseline.
- Don't introduce Grafana-style configuration density or permanent option panels for contextual settings.
- Don't reproduce IDE-like complexity, competing toolbars, or generic database features that dilute ClickHouse focus.
- Don't build decorative dashboards; every color, tile, metric, and visualization must serve investigation or monitoring.
- Don't add generic database chrome that competes with SQL, schemas, results, or operational evidence.
- Don't use persistent card shadows, glass effects, gradient text, oversized radii, or ornamental motion.
- Don't replace familiar controls with novel affordances merely to make the interface distinctive.