Aurora Layerbox
Craft utility · Dark preview · aurora-layerbox
Design intent
Muted aurora tones separate compositing tools from the artwork they affect.
Design rule. Every translucency control includes a numeric opacity and previews its effect on a fixed background.
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 | #191B34 | #F2F7F2 | Screen canvas |
surface | #272846 | #FCFEFE | Primary cards, fields and settings rows |
text | #F0EEFC | #253332 | Body text, headings and key figures |
muted | #C1BDD8 | #54676A | Supporting labels, axes and timestamps |
accent | #A5EDDD | #4B6B65 | Primary action, focus and current data |
on_accent | #000000 | #FFFFFF | Action labels and icons on accent fills |
secondary | #8178B7 | #BCB8CC | Supporting artwork, comparison series and selected fills |
border | #464867 | #CFD3D3 | 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 8 px spacing step, with 16 px between groups and 24 px horizontal screen insets. Feature cards use a 25 px radius. Nested input and icon containers use 20 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 about 80% opacity for card fills and tint the borders lightly with the accent. Give the feature card poster-like proportions with the copy and graphic on separate sides.
Core components
- Home. Lead with “Stack layers” and the key measure 08 (visible layers). Put Base wash · Mid tones · Thin glints in the first list with a visible row label and trailing state.
- Detail. Pair the chart with a readable summary. The middle tones carry most of the scene contrast. Give the figure its unit, time window and a textual equivalent for users who skip the chart.
- Upgrade. Build the section around “Store a composition”. 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.
Limit translucency to floating controls and artwork. Use opaque surfaces in high-contrast and reduced-effects modes.
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 LAYERBOX'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.



