Phosphor Depot
Dark telemetry · Dark preview · phosphor-depot
Design intent
Phosphor green marks inventory reserves in a compact grid of warehouse bays.
Design rule. Keep each bay code adjacent to its available count and pair state tags with text.
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 | #1A2013 | #F5F6E8 | Screen canvas |
surface | #252F19 | #FDFEFA | Primary cards, fields and settings rows |
text | #F0F5E6 | #2A3222 | Body text, headings and key figures |
muted | #C6CDAF | #596554 | Supporting labels, axes and timestamps |
accent | #C7E45B | #596733 | Primary action, focus and current data |
on_accent | #000000 | #FFFFFF | Action labels and icons on accent fills |
secondary | #7D8E50 | #BBC0A8 | Supporting artwork, comparison series and selected fills |
border | #43512F | #D1D3CD | Card outlines, dividers and field boundaries |
Type hierarchy
Display family "DejaVu Sans Mono", "Noto Sans CJK SC", monospace. 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 | 37 / 38 px | 700 | Display, -0.055 em tracking |
| Section title | 19 / 24 px | 700 | Display, natural wrapping |
| Body and list | 15 / 22 px | 450 | Interface, sentence case |
| Caption and status | 12 / 16 px | 450 | Interface, pair states with labels |
| Metric | 51 / 51 px | 700 | Display, tabular lining figures |
Shape and spacing
Use a 5 px spacing step, with 10 px between groups and 24 px horizontal screen insets. Feature cards use a 1 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. Pair two lead items and place the full-width long label beneath them.
Core components
- Home. Lead with “Reserve bays” and the key measure 12 (open spaces). Put Receiving · Sorting · Outbound in the first list with a visible row label and trailing state.
- Detail. Pair the chart with a readable summary. Outbound bays freed up after the afternoon pickup. Give the figure its unit, time window and a textual equivalent for users who skip the chart.
- Upgrade. Build the section around “Review the depot log”. 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 tabular figures for metrics. Pair monitoring alerts with a state label and shape, and draw trend lines at least 2 px wide.
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 DEPOT'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
@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.



