Design system

Clay, glass & soft light.

Kargonaut uses three surface languages on purpose. Clay is for objects you press, glass is for panels that float over context, and neumorphism is for controls you adjust. Each one has a job, so they never fight.

The three styles side by side

01

Claymorphism

Puffy, tactile and friendly. Used for cards, stat tiles and primary calls to action.

Express Road Card lifts and tilts on hover.
.clay {
  background: linear-gradient(145deg,
    var(--clay-from), var(--clay-to));
  border-radius: 30px;
  box-shadow:
    14px 16px 32px rgba(0,0,0,.5),
    inset -8px -10px 18px rgba(0,0,0,.35),
    inset 8px 8px 16px rgba(255,255,255,.09);
}
02

Glassmorphism

Frosted, translucent panels that keep the colourful context visible. Used for navigation, overlays and data panels.

KGN-77520-AE

In customs · Bengaluru

.glass {
  background: rgba(22,27,58,.55);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.08);
}
03

Neumorphism

Soft, extruded or pressed into the surface. Used only for controls: inputs, switches, segments and dials.

Insurance on
.neu { background: var(--neu-bg);
  box-shadow: 7px 7px 16px var(--neu-dark),
    -6px -6px 14px var(--neu-light); }
.neu-in { box-shadow:
  inset 5px 5px 11px var(--neu-dark),
  inset -4px -4px 10px var(--neu-light); }
Together

One widget, three languages.

A load-planning card: the glass shell floats, the clay readout pops, and the neumorphic dial is the control.

64%LOAD

Use arrow keys to fine-tune.

Space left on a 32-ft truck — — Efficient
Tokens

Colour & type.

Every colour is a CSS custom property, so the whole site switches between dark and light by swapping one attribute. Values below update live with the theme toggle.

Displayclamp(2.4rem, 7vw, 4.6rem) / 850
Headingclamp(1.9rem, 4.6vw, 3rem) / 800
Title1.2rem / 750
Body text for paragraphs and labels1rem / 400 · line-height 1.6
KGN-48213-INmonospace, IDs and numbers

Use clay when…

the element is a thing: a service, a plan, a stat, a primary button.

Use glass when…

a surface sits on top of rich context: the nav bar, panels, toasts, tooltips.

Use neumorphism when…

the element is adjustable: inputs, switches, steppers, segments and dials.