Periwinkle Drift
Playful & soft · Light preview · periwinkle-drift
Design intent
Soft violet waves visualize a bedtime routine as a gently moving sequence.
Design rule. Keep the evening sequence in reading order and let a single wave track progress.
Semantic palette
The first column of HEX values drives the light preview. Use the dark column when the appearance changes.
| Token | Default | Alternate | Role |
|---|---|---|---|
background | #F1ECFF | #181827 | Screen canvas |
surface | #F9F6FF | #27283A | Primary cards, fields and settings rows |
text | #342650 | #EEE9EB | Body text, headings and key figures |
muted | #614F7A | #AFACC7 | Supporting labels, axes and timestamps |
accent | #6440A5 | #A994C8 | Primary action, focus and current data |
on_accent | #FFFFFF | #000000 | Action labels and icons on accent fills |
secondary | #D7C6FF | #ADB1C5 | Supporting artwork, comparison series and selected fills |
border | #D7C9EC | #51515F | Card outlines, dividers and field boundaries |
Type hierarchy
Display family "Noto Sans", "Noto Sans CJK SC", sans-serif. Interface family "Noto Sans", "Noto Sans CJK SC", sans-serif. Font tracking is relative to the display size.
| Role | Size / line height | Weight | Treatment |
|---|---|---|---|
| Screen title | 40 / 41 px | 650 | Display, -0.04 em tracking |
| Section title | 19 / 24 px | 650 | Display, natural wrapping |
| Body and list | 15 / 22 px | 400 | Interface, sentence case |
| Caption and status | 12 / 16 px | 400 | Interface, pair states with labels |
| Metric | 54 / 54 px | 650 | Display, tabular lining figures |
Shape and spacing
Use a 7 px spacing step, with 14 px between groups and 24 px horizontal screen insets. Feature cards use a 26 px radius. Nested input and icon containers use 21 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.
Use one faint soft shadow for panels and keep list rows on a common plane. Align the metric and waveform on the bottom edge and preserve a reading zone for each.
Core components
- Home. Lead with “Settle in” and the key measure 27 (minutes winding down). Put Dim the lights · Warm socks · Open a book in the first list with a visible row label and trailing state.
- Detail. Pair the chart with a readable summary. The lights dimmed at the same time three nights running. Give the figure its unit, time window and a textual equivalent for users who skip the chart.
- Upgrade. Build the section around “Shape a bedtime”. 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.
Use illustration to convey the current task and progress. Keep control labels clear and preserve a distinct tap boundary around each control.
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 DRIFT'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
@ScaledMetricfor type-linked spacing,ViewThatFitsfor crowded metric rows, andaccessibilityLabelplus a summary for charts. Extend row hit areas withcontentShape(Rectangle()). - Flutter. Use paired
ThemeDatavalues and aThemeExtensionfor chart tokens. Define spacing and radius in the theme and letTextScalerdrive text growth. AddSemanticsfor indicators and actions. - React Native. Map
useColorScheme()to one semantic palette. Keep shared values inStyleSheet.create. UseFlatListfor long lists,hitSlopto enlarge compact actions and meaningful accessibility roles and values.



