# Plum Queue

Minimal · Dark preview · `plum-queue`

## Design intent

Plum ink establishes a quiet order for planning a film night.

**Design rule.** Use one uncluttered viewing order and expose duration without opening a card.

## Semantic palette

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

| Token | Default | Alternate | Role |
| --- | --- | --- | --- |
| `background` | `#251D2B` | `#F7F2F1` | Screen canvas |
| `surface` | `#302437` | `#FEFDFD` | Primary cards, fields and settings rows |
| `text` | `#F6EAF5` | `#2D2B30` | Body text, headings and key figures |
| `muted` | `#CBB7CD` | `#5F5D67` | Supporting labels, axes and timestamps |
| `accent` | `#E5B2CA` | `#77616E` | Primary action, focus and current data |
| `on_accent` | `#000000` | `#FFFFFF` | Action labels and icons on accent fills |
| `secondary` | `#8E719A` | `#C1B6C2` | Supporting artwork, comparison series and selected fills |
| `border` | `#59455D` | `#D2D1D2` | Card outlines, dividers and field boundaries |

## Type hierarchy

Display family `system-ui, "Noto Sans CJK SC", sans-serif`. Interface family `system-ui, "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 | 500 | Display, -0.055 em tracking |
| Section title | 19 / 24 px | 500 | 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 | 500 | 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 20 px radius. Nested input and icon containers use 15 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 “Up next” and the key measure 03 (in tonight’s queue). Put The long winter · After the market · Two lamps in the first list with a visible row label and trailing state.
- **Detail.** Pair the chart with a readable summary. You usually leave the shortest film to the end. Give the figure its unit, time window and a textual equivalent for users who skip the chart.
- **Upgrade.** Build the section around “Curate a season”. 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 open spacing to group content and keep dividers on interactive list rows. Align trailing states when long labels wrap.

## 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 QUEUE'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.
