Design system

Components

The building blocks of the portfolio, inspired by shadcn/ui. All styles live in css/styles.css; icons are an inline SVG sprite used as <svg><use href="#i-name"/></svg>. Toggle the theme to check both modes.

Tokens

Colours are HSL channel triplets in CSS variables, used as hsl(var(--token)). Zinc neutrals, with one emerald --brand accent kept for health signals.

--background
--foreground
--muted
--muted-fg
--border
--primary
--brand
--brand-soft
Display · Geist 600
Section title
Card title

Body text, 16px / 1.6.

Muted small text, 14px.

Eyebrow · Geist Mono

Button

Variants: btn-default, btn-secondary, btn-outline, btn-ghost, btn-link. Sizes: btn-sm, btn-lg, btn-icon.

Link
<a class="btn btn-default btn-lg" href="#work">See my work <svg><use href="#i-arrow"/></svg></a>

Badge

Default Secondary Outline Current
<span class="badge badge-brand"><span class="dot"></span>Current</span>

Card

Card title

Card description in muted text.

Content area for lists, metrics or tags.

With tags

HL7 FHIRopenEHRNLP
<article class="card">
  <div class="card-header"><h3 class="card-title">…</h3><p class="card-description">…</p></div>
  <div class="card-content">…</div>
  <div class="card-footer">…</div>
</article>

Stat and metric

25M+
people onboarded in 12 months
28M+records processed

Tabs / filter

Segmented control. Uses aria-pressed for filters (or aria-selected with role="tab").

Accordion and disclosure

Native <details>, so it works without JavaScript and with the keyboard.

Is it accessible?
Yes. It uses native disclosure semantics.
Does it need JavaScript?
No.
Details

Inline disclosure used inside work cards.

Timeline

  1. Current role
    Organisation
    2026 to now
    • Highlight with a number.
  2. Previous role
    Organisation
    2024 to 2026

Alert

Heads up
A short callout with an icon, a title and a description.

Avatar, kbd, tooltip, toast

Dr. Mandela Kibiriti MK Press Tab to move focus

Icons