Pivlu
Back to library
Craft utilityDark

Titanium Keycase

A dark titanium key list stays readable during quick access checks.

Download DESIGN.md

Screen previews

Titanium Keycase · Home
Home
Titanium Keycase · Detail & insights
Detail & insights
Titanium Keycase · Onboarding & paywall
Onboarding & paywall
Titanium Keycase · Settings
Settings

Semantic palette

Design specification

Titanium Keycase

Craft utility · Dark preview · titanium-keycase

Design intent

A dark titanium key list stays readable during quick access checks.

Design rule. Use dummy identifiers in examples and leave equal row heights for entries with hidden fields.

Semantic palette

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

TokenDefaultAlternateRole
background#202329#F3F4F5Screen canvas
surface#2C333B#FDFDFFPrimary cards, fields and settings rows
text#ECF2FA#272E37Body text, headings and key figures
muted#BFC9D4#566070Supporting labels, axes and timestamps
accent#B2C8FF#5F6C87Primary action, focus and current data
on_accent#000000#FFFFFFAction labels and icons on accent fills
secondary#788AAB#B9BFC8Supporting artwork, comparison series and selected fills
border#4B5868#D0D2D5Card 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.

RoleSize / line heightWeightTreatment
Screen title37 / 38 px700Display, -0.055 em tracking
Section title19 / 24 px700Display, natural wrapping
Body and list15 / 22 px450Interface, sentence case
Caption and status12 / 16 px450Interface, pair states with labels
Metric51 / 51 px700Display, 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 11 px radius. Nested input and icon containers use 6 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 an inset highlight and a lower edge shadow for the tactile rim. Stack content and actions vertically and pair the lead reading with a small graphic.

Core components

  • Home. Lead with “Shared access” and the key measure 06 (keys in the case). Put Workshop drawer · Side gate · Storage unit in the first list with a visible row label and trailing state.
  • Detail. Pair the chart with a readable summary. The storage unit key was the only one updated today. Give the figure its unit, time window and a textual equivalent for users who skip the chart.
  • Upgrade. Build the section around “Organize shared keys”. 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 KEYCASE'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.