Pivlu
Back to library
Bold contrastLight

Pool Blue Block

Pool blue blocks show lane assignments with the directness of a painted wall chart.

Download DESIGN.md

Screen previews

Pool Blue Block · Home
Home
Pool Blue Block · Detail & insights
Detail & insights
Pool Blue Block · Onboarding & paywall
Onboarding & paywall
Pool Blue Block · Settings
Settings

Semantic palette

Design specification

Pool Blue Block

Bold contrast · Light preview · pool-blue-block

Design intent

Pool blue blocks show lane assignments with the directness of a painted wall chart.

Design rule. Use type and a solid divider to show each change of assigned lane.

Semantic palette

The first column of HEX values drives the light preview. Use the dark column when the appearance changes.

TokenDefaultAlternateRole
background#B2EFFA#151524Screen canvas
surface#DCF8FF#222435Primary cards, fields and settings rows
text#172D4C#EBE7E8Body text, headings and key figures
muted#3F5B70#A8A7C0Supporting labels, axes and timestamps
accent#402682#9686B5Primary action, focus and current data
on_accent#FFFFFF#000000Action labels and icons on accent fills
secondary#9A9DEA#9BA6C0Supporting artwork, comparison series and selected fills
border#70B9CE#4C4D5BCard outlines, dividers and field boundaries

Type hierarchy

Display family "DejaVu Sans", "Noto Sans CJK SC", sans-serif. Interface family system-ui, "Noto Sans CJK SC", sans-serif. Font tracking is relative to the display size.

RoleSize / line heightWeightTreatment
Screen title34 / 35 px700Display, -0.07 em tracking
Section title19 / 24 px700Display, natural wrapping
Body and list15 / 22 px450Interface, sentence case
Caption and status12 / 16 px450Interface, pair states with labels
Metric48 / 48 px700Display, tabular lining figures

Shape and spacing

Use a 6 px spacing step, with 12 px between groups and 24 px horizontal screen insets. Feature cards use a 0 px radius. Nested input and icon containers use 0 px. Reserve at least 44 × 44 pt on iOS or 48 × 48 dp on Android for touch controls. The baseline is a 390 × 844 logical canvas.

Draw card outlines at 2 px and keep supporting rules thin. Anchor the headline to a short vertical rule and split the reading and its graphic into columns.

Core components

  • Home. Lead with “Pick a lane” and the key measure 04 (lanes reserved). Put Warm-up lane · Fast sets · Easy pace in the first list with a visible row label and trailing state.
  • Detail. Pair the chart with a readable summary. The warm-up lane is free until the next group arrives. Give the figure its unit, time window and a textual equivalent for users who skip the chart.
  • Upgrade. Build the section around “Schedule swim sets”. Present billing interval and price together, then a primary action and visible restore and dismissal controls.
  • Settings. Use a profile group, labeled settings rows and plain-language switch states. Place destructive actions in a separate group with confirmation.

Allocate the strongest accent to the primary action. Keep heavy rules and graphic blocks clear of text and preserve a clear focus outline.

Appearance and accessibility

Switch the complete token set on an appearance change. Preserve the hierarchy, spacing and chart labels. Verify 4.5:1 contrast for regular text and 3:1 for large text and focus indicators. If a chart series is hard to tell apart, add a point marker, dash or inline label. Test larger type, wrapping and reduced motion before shipping.

Originality checklist

  • Check that the first screen still communicates LANES's purpose when its title is hidden.
  • Keep one leading action in the first viewport and use the palette roles consistently.
  • Replace generic decorative marks with a visual that clarifies the task or data.
  • Check long labels, empty states and the dark appearance with real content.

Implementation

  • iOS SwiftUI. Define semantic colors in an asset catalog with two appearances. Use @ScaledMetric for type-linked spacing, ViewThatFits for crowded metric rows, and accessibilityLabel plus a summary for charts. Extend row hit areas with contentShape(Rectangle()).
  • Flutter. Use paired ThemeData values and a ThemeExtension for chart tokens. Define spacing and radius in the theme and let TextScaler drive text growth. Add Semantics for indicators and actions.
  • React Native. Map useColorScheme() to one semantic palette. Keep shared values in StyleSheet.create. Use FlatList for long lists, hitSlop to enlarge compact actions and meaningful accessibility roles and values.