Pivlu
Back to library
Playful & softLight

Sherbet Shelf

Mint ice tones give each book lent to a friend a small distinct place on the shelf.

Download DESIGN.md

Screen previews

Sherbet Shelf · Home
Home
Sherbet Shelf · Detail & insights
Detail & insights
Sherbet Shelf · Onboarding & paywall
Onboarding & paywall
Sherbet Shelf · Settings
Settings

Semantic palette

Design specification

Sherbet Shelf

Playful & soft · Light preview · sherbet-shelf

Design intent

Mint ice tones give each book lent to a friend a small distinct place on the shelf.

Design rule. The book title and borrower are sufficient for a row. Place due date in a compact trailing field.

Semantic palette

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

TokenDefaultAlternateRole
background#E2F7F6#101C21Screen canvas
surface#F2FCFC#1C2D32Primary cards, fields and settings rows
text#1B4246#E8ECE6Body text, headings and key figures
muted#446267#9FB4BASupporting labels, axes and timestamps
accent#116866#679D99Primary action, focus and current data
on_accent#FFFFFF#000000Action labels and icons on accent fills
secondary#A4E6DD#9EBABCSupporting artwork, comparison series and selected fills
border#B1DFDB#475558Card outlines, dividers and field boundaries

Type hierarchy

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

RoleSize / line heightWeightTreatment
Screen title40 / 41 px800Display, -0.055 em tracking
Section title19 / 24 px800Display, natural wrapping
Body and list15 / 22 px500Interface, sentence case
Caption and status12 / 16 px500Interface, pair states with labels
Metric54 / 54 px800Display, 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 24 px radius. Nested input and icon containers use 19 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 a 2 px edge and a 3 px hard offset shadow on primary cards. Stack content and actions vertically and pair the lead reading with a small graphic.

Core components

  • Home. Lead with “Out on loan” and the key measure 06 (books with friends). Put Under bridges · A blue bowl · Five maps in the first list with a visible row label and trailing state.
  • Detail. Pair the chart with a readable summary. The first book due back is due on Sunday. Give the figure its unit, time window and a textual equivalent for users who skip the chart.
  • Upgrade. Build the section around “Share another shelf”. 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 SHELF'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.