#B5120D#FF716BThis page documents the visual language and interaction rules actually used across prakharux.com. The system prioritizes legibility, authentic product evidence, consistent responsive behavior, and project identity without sacrificing accessibility.
The production system separates semantic page roles from project accents. Global surfaces, text, borders, focus, motion, and presentation typography are shared. Project colors remain scoped to their case studies.
Semantic Light and Dark tokens drive page, surface, text, border, interaction, feedback, and focus roles.
Instrument Serif carries display hierarchy. Inter carries body, metadata, navigation, controls, and presentation labels. JetBrains Mono is reserved for literal technical content.
Product screenshots, videos, prototypes, and captured UI keep their original internal typography and geometry.
These are the canonical semantic values used by production routes in Light Mode.
--ds-page#FAFAF8Page background
--ds-surface#FFFFFFElevated surface
--ds-surface-2#F1F0ECSecondary surface
--ds-surface-3#E3E2DCTertiary surface
--ds-text#0A0A09Primary text
--ds-text-2#343430Secondary text
--ds-text-3#555550Supporting text
--ds-muted#696965Muted presentation text
--ds-border#A6A49CStrong border
--ds-divider#D7D5CFDivider and subtle border
--ds-focus#2563EBFocus outline
--ds-success#14633ASuccess
--ds-warning#7A4A00Warning
--ds-error#9F1D20Error
--ds-link#173B63Link
Dark Mode is not a simple inversion. Surfaces, text levels, borders, focus, and feedback colors are tuned independently.
--ds-page#11110FPage background
--ds-surface#181816Elevated surface
--ds-surface-2#20201DSecondary surface
--ds-surface-3#2A2925Tertiary surface
--ds-text#F4F1EAPrimary text
--ds-text-2#DDD9D0Secondary text
--ds-text-3#C0BCB3Supporting text
--ds-muted#A29E95Muted presentation text
--ds-border#77736BStrong border
--ds-divider#3A3934Divider and subtle border
--ds-focus#79A8FFFocus outline
--ds-success#79D9A0Success
--ds-warning#F7C46CWarning
--ds-error#FF9A9DError
--ds-link#A9CCFFLink
Each public case study has a vivid divider accent plus accessible Light and Dark eyebrow text accents. These values are the same tokens used by the production case studies.
#B5120D#FF716B#49604C#A8C0AA#8A5200#FFB548#5141C0#9A8CF2#745A1B#E4C779#3D4FC4#8F9AF4#4C1D95#F4C7FF#173B63#8AB8E8#065F46#6BCBBB#14675C#8FE0D3#1E3A8A#FFC627#92400E#FFC8A6#0D4864#74D9E6#1F4C6B#9CC6E4#14532D#A4E8BCThe V128 presentation scale removes unnecessary 8 to 11 px labels while keeping display and body hierarchy stable. Product UI inside evidence remains untouched.
| Token | Family | Size | Weight | Line height | Tracking |
|---|---|---|---|---|---|
display XL | Instrument Serif | 46 to 98 px fluid | 400 | .96 | negative optical |
display L | Instrument Serif | 44 to 76 px fluid | 400 | .96 | negative optical |
heading XL | Instrument Serif | 34 to 52 px fluid | 400 | 1.08 | negative optical |
heading M | Inter | 24 px | 600 | 1.2 | 0 |
body L | Inter | 17 px | 400 | 1.7 | 0 |
body | Inter | 15 px | 400 | 1.7 | 0 |
body S | Inter | 14 px | 400 | 1.55 | 0 |
micro label | Inter | 12.5 px desktop · 12 mobile | 600 to 650 | 1.35 | .055em |
meta | Inter | 12 px desktop · 11.5 mobile | 500 to 650 | 1.4 | .04em |
caption | Inter | 12.5 px desktop · 12 mobile | 400 to 600 | 1.45 | .04em |
navigation | Inter | 13 px · 12.5 mobile | 500 | 1 | 0 |
control | Inter | 13 px · 12 mobile | 600 | 1 | 0 |
The shared scale covers common inline, card, grid, and section rhythm. Existing optical exceptions remain where they are visually justified.
Layouts use a 1280 px page cap, a 1176 px Work content width at desktop, responsive gutters, constrained editorial measure, and route specific grids that collapse before content becomes cramped.
1280 px
Primary portfolio content cap.
1176 px
Observed Work filter and grid width at 1440.
52 · 28 · 20 px
Desktop, tablet, and mobile system gutters.
~720 px
Narrative text remains readable rather than full width.
16 px
Default Work and utility grid rhythm.
60 · 58 px
Desktop and compact navigation heights. Sticky Work filters reference this token.
The portfolio has accumulated route specific media thresholds over time. V128 documents them instead of pretending the codebase uses a generic framework scale. Primary layout transitions remain concentrated around 1100, 1024, 900, 820, 768, 700, 640, 520, and 480 px.
220px340px350px360px380px390px391px420px430px480px520px540px560px600px620px640px700px701px720px760px761px767px768px769px780px800px820px821px860px861px900px901px960px961px980px981px999px1000px1024px1025px1050px1051px1080px1100px1101px1180px1181px1200px1280px1300px1400px1439px1440pxCards and controls use modest radii and restrained borders. Surfaces create hierarchy without adding decorative depth that the portfolio does not otherwise use.
3 · 10 · 16 · 999 px
Small, medium, card, and pill roles.
1 px
Standard, strong, divider, and focus roles use semantic color tokens.
page · elevated · secondary · tertiary
Each role has independent Light and Dark values.
0 20px 44px
Reserved for true elevation such as overlay navigation surfaces. Cards remain mostly border defined.
2 px outline · 3 px offset
Shared across links, buttons, filters, and form controls.
0 1px 0 divider
Appears when the Work filter controller is pinned.
Motion is used to explain hover, media playback, state change, and navigation. Reduced Motion removes nonessential animation while preserving content and controls.
| Role | Value | Use |
|---|---|---|
| Fast | 160 ms | Filter, hover, small control feedback |
| Standard | 220 ms | Shared UI transitions |
| Slow | 500 ms | Card media and larger visual transitions |
| Easing | cubic-bezier(.22,1,.36,1) | Primary portfolio easing |
| Reduced motion | prefers-reduced-motion | Disables nonessential animation and media motion |
These examples use the same semantic tokens, type sizes, borders, focus treatment, and radii as the portfolio. They are documentation examples, not a parallel component library.
Home cards privilege editorial sequence. Work cards privilege scanability and consistent metadata. Case study media frames preserve source fidelity. Work filters remain one sticky controller in normal document flow, pinned directly below navigation.
Project identity, question, statement, metadata, and action stay distinct without requiring miniature type.
Category, year, title, description, and CTA keep consistent rhythm across selected and filtered results.
Wrapped pills remain in document flow, become sticky under the nav, keep an opaque page surface, and release before the footer.
Presentation text targets at least 12 px on desktop and 11.5 px on mobile, normal text targets 4.5 to 1 contrast, focus remains visible, keyboard controls preserve semantics, Dark Mode has explicit values, and product evidence is never globally scaled to fake readability.
Normal presentation text uses a minimum 4.5 to 1 target against its rendered surface.
2 px semantic focus color with a 3 px offset across links, buttons, filters, and fields.
Native links and buttons remain semantic. Work filters preserve aria pressed state and history behavior.
Motion is suppressed when the platform preference requests it, without hiding content.
Presentation labels retain readable minimum sizes through tablet and mobile layouts.
Text embedded inside screenshots, recordings, and prototypes remains authentic to the product source.
Desktop uses the full editorial grid. Tablet collapses dense two column structures before metadata becomes cramped. Mobile wraps filters and cards into one column while preserving readable labels and the 58 px navigation offset.
| Range | Behavior |
|---|---|
| Desktop · above 900 px | Full card grids, 60 px navigation, 12.5 px micro labels, 13 px controls. |
| Tablet · 701 to 900 px | Reduced gutters, wrapped filter group, 12 px micro labels, card grids collapse where required. |
| Mobile · 700 px and below | Single column structures, wrapped sticky filters, 58 px navigation, 11.5 px minimum metadata, static hover media where touch behavior applies. |
These rules are intentionally specific to this portfolio and its evidence heavy product design work.