Context
InstaAstro's user and astrologer apps kept growing, screen by screen.
Each new flow brought its own buttons, colours and spacing,
and developers ended up rebuilding the same pieces again and again.
Goal
Build one system of reusable components, patterns, tokens and guidelines,
clear enough that a designer and a developer read it the same way.
What it is, and why it matters
- Reusable components and patterns
- Design tokens: colour, type, spacing, radius, shadow
- Usage rules for touch, motion, layering and accessibility
- A shared language for design and development
- Consistent mobile UI across every flow
- Faster design delivery
- Better developer handoff
- Clear component usage
- An app experience that scales
Colour
Two brand colours lead. Orange for action, yellow for highlight. Green, red and blue carry meaning (success, error, info), and a 13-step neutral ramp does the rest.
Typography
Euclid Circular A, a geometric sans that stays readable from 12 to 32px, in four weights. Eight styles cover every screen.
Spacing, radius & elevation
A spacing scale from 2 to 48, negatives for overlaps, eight padding steps and ten radius steps. Radius grows with the surface: 8 for buttons, 12 for inputs, 8–16 for cards, 12–24 top corners for sheets.
Card 1px · Input 1.5px · Focus ring 2px + 4px halo · Divider 1px dashed
Layout grid
A stretch grid of 4 columns, 16px margins and 16px gutters, designed at 360 × 800 and checked on the most common Android and iPhone widths.
Buttons
Five sizes from 52 to 28px tall, three emphasis levels and every state designed. The fill is an orange gradient, labels are Medium, and disabled is the same button at 40% opacity. Build any button below and read its spec.
Inputs & controls
Fields show default, focused, filled, error and disabled. Focus always gets a 1.5px orange border with a 4px halo, and errors say what to fix.
Feedback & states
Floating pill toasts report status at the top, black snackbars offer an action at the bottom, and loaders match the wait. Trigger them on the phone.
- One line60 characters at most
- Auto-dismiss3s, or 5s with an action
- PlacementTop for status, bottom for undoable actions
- One at a timeOnly one visible at once
- SpinnerIndeterminate wait under 2s
- Progress barDeterminate wait over 2s
- SkeletonMimic the layout on first paint
- Shimmer1.2s ease-in-out, infinite
Come back in a bit or browse offline profiles.
Start your first conversation with an astrologer.
Your payment couldn't be processed. Try again.
Check your connection and try again.
Dropdowns & navigation
App bars in light and primary, a five-item bottom tab with an underline on the active item, four back buttons, and a dropdown that confirms the choice with a tick.
How the app behaves
Rules create consistency in how the app behaves across screens: touch comfort, CTA priority, layering, motion, accessibility and dark mode.
Rule: One primary CTA per screen. Sticky at 44–52px height.
Haptics: light on tap · success on payment · error on failure
bg #0F1020 · surface #1A1C33 · text #E7E9FB · border #2A2E52Bringing it together
Tokens feed components, components follow rules, and every new InstaAstro screen starts from the same place.
"Design it once, use it everywhere."
Impact
The system made our work faster. Every designer on the team now builds with it, so all screens share the same elements, typography and spacing, whoever designed them.
Design deliverystart from ready components
Designers use itone source for the whole team
Shared languagesame elements on every screen
The system in numbers
Colour ramps58 tokens from dark to light
Type stylesdisplay to caption, 4 weights
Componentseach with every state
What I learned
A button is five buttons: default, pressed, disabled, loading and error. Designing all of them up front saves every later screen.
Touch, motion and layering rules kept new screens consistent even when they needed a new component.
Exact values (heights, radius, durations) made handoff a lookup instead of a conversation.