Pivlu
Back to library
EditorialDark

Midnight Leaflet

A two-column night program treats cinema listings as intimate announcements.

Download DESIGN.md

Screen previews

Midnight Leaflet · Home
Home
Midnight Leaflet · Detail & insights
Detail & insights
Midnight Leaflet · Onboarding & paywall
Onboarding & paywall
Midnight Leaflet · Settings
Settings

Semantic palette

Design specification

Midnight Leaflet

Editorial · Dark preview · midnight-leaflet

Design intent

A two-column night program treats cinema listings as intimate announcements.

Design rule. Set the screening time outside the title column and preserve program order for assistive reading.

Semantic palette

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

TokenDefaultAlternateRole
background#151F30#F9F4EDScreen canvas
surface#1C2B41#FFFDFCPrimary cards, fields and settings rows
text#F9EEE5#302E2BBody text, headings and key figures
muted#C6C4D0#616060Supporting labels, axes and timestamps
accent#F5C5A0#7F6A5APrimary action, focus and current data
on_accent#000000#FFFFFFAction labels and icons on accent fills
secondary#7386A6#B7BDC6Supporting artwork, comparison series and selected fills
border#445570#D4D2D0Card outlines, dividers and field boundaries

Type hierarchy

Display family "Nimbus Roman", "Noto Serif CJK SC", serif. Interface family "Noto Sans", "Noto Sans CJK SC", sans-serif. Font tracking is relative to the display size.

RoleSize / line heightWeightTreatment
Screen title52 / 53 px400Display, -0.05 em tracking
Section title19 / 24 px400Display, natural wrapping
Body and list15 / 22 px400Interface, sentence case
Caption and status12 / 16 px400Interface, pair states with labels
Metric66 / 66 px400Display, tabular lining figures

Shape and spacing

Use a 8 px spacing step, with 16 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.

Use solid fills to separate panels and transparent borders at rest. Anchor the headline to a short vertical rule and split the reading and its graphic into columns.

Core components

  • Home. Lead with “The late show” and the key measure 21:30 (doors open). Put Stairs at dusk · The rain shelf · Slow frame in the first list with a visible row label and trailing state.
  • Detail. Pair the chart with a readable summary. The latest screening still starts before the last tram. Give the figure its unit, time window and a textual equivalent for users who skip the chart.
  • Upgrade. Build the section around “Plan your screenings”. 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.

Set a distinct leading rhythm for headlines and captions. Label one chart baseline and let list rows grow to fit their text.

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 LEAFLET'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 light 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.