Skip to main content
Mernel Tusoy

Design systems

Systems that scale with the product

Compare the live system behind this portfolio with broader libraries designed for product teams. Each version keeps its own purpose, rules, and source of truth.

On this page

Color

Colors follow the Primitive → Brand → Semantic architecture from @mt/tokens. Primitives are the raw ramps; semantic tokens map a role to a brand/primitive value per theme, so the same token resolves differently in light and dark. Toggle the theme switcher to see the semantic swatches update live.

Neutral

sand-0

#FFFFFF · hsl(0, 0%, 100%)

sand-50

#FAF9F7 · hsl(40, 23%, 97%)

sand-100

#F3F1ED · hsl(40, 20%, 94%)

sand-200

#E7E2D9 · hsl(39, 23%, 88%)

sand-300

#D5CEC0 · hsl(40, 20%, 79%)

sand-400

#A39C8C · hsl(42, 11%, 59%)

sand-500

#83786C · hsl(31, 10%, 47%)

sand-600

#665F52 · hsl(39, 11%, 36%)

sand-700

#4C463C · hsl(38, 12%, 27%)

sand-800

#35312A · hsl(38, 12%, 19%)

sand-900

#24211C · hsl(38, 13%, 13%)

sand-950

#17151F · hsl(252, 19%, 10%)

sand-1000

#000000 · hsl(0, 0%, 0%)

Accent

indigo-50

#EEF0FF · hsl(233, 100%, 97%)

indigo-100

#E0E4FF · hsl(232, 100%, 94%)

indigo-200

#C7CCFF · hsl(235, 100%, 89%)

indigo-300

#A5AAFC · hsl(237, 94%, 82%)

indigo-400

#8184F8 · hsl(238, 89%, 74%)

indigo-500

#5B5CF6 · hsl(240, 90%, 66%)

indigo-600

#4B45E4 · hsl(242, 75%, 58%)

indigo-700

#3A34C0 · hsl(243, 57%, 48%)

indigo-800

#2E2A96 · hsl(242, 56%, 38%)

indigo-900

#272373 · hsl(243, 53%, 29%)

Success

50
100
200
300
400
500
600
700
800
900

Warning

50
100
200
300
400
500
600
700
800
900

Error

50
100
200
300
400
500
600
700
800
900

Semantic tokens

Swatches render via var(--mt-color-*) — live-updating with the theme toggle. Light / dark values and the brand/primitive each token references come from @mt/tokens/metadata.

SwatchTokenLightDarkReferences
--mt-color-background-canvas#FAF9F7#17151Fbrand.color.neutral.50
--mt-color-background-surface#FFFFFF#24211Cbrand.color.neutral.0
--mt-color-background-surface-subtle#F3F1ED#35312Abrand.color.neutral.100
--mt-color-background-inverse#24211C#FAF9F7brand.color.neutral.900
--mt-color-background-disabled#F3F1ED#35312Abrand.color.neutral.100
--mt-color-background-transparentrgba(0, 0, 0, 0)rgba(0, 0, 0, 0)color.transparent
--mt-color-text-primary#24211C#FAF9F7brand.color.neutral.900
--mt-color-text-secondary#665F52#D5CEC0brand.color.neutral.600
--mt-color-text-tertiary#665F52#A39C8Cbrand.color.neutral.600
--mt-color-text-disabled#A39C8C#665F52brand.color.neutral.400
--mt-color-text-inverse#FFFFFF#17151Fbrand.color.neutral.0
--mt-color-text-link#5B5CF6#8184F8brand.color.accent-strong
--mt-color-text-on-accent#FFFFFF#17151Fbrand.color.neutral.0
--mt-color-text-on-inverse#FFFFFF#24211Cbrand.color.neutral.0
--mt-color-border-default#E7E2D9#35312Abrand.color.neutral.200
--mt-color-border-subtle#F3F1ED#35312Abrand.color.neutral.100
--mt-color-border-strong#D5CEC0#4C463Cbrand.color.neutral.300
--mt-color-border-focus#5B5CF6#8184F8brand.color.accent.500
--mt-color-action-primary#5B5CF6#8184F8brand.color.accent-strong
--mt-color-action-primary-hover#4B45E4#A5AAFCbrand.color.accent-strong-hover
--mt-color-action-primary-pressed#3A34C0#C7CCFFbrand.color.accent-strong-pressed
--mt-color-action-on-primary#FFFFFF#17151Fbrand.color.neutral.0
--mt-color-action-secondary#F3F1ED#35312Abrand.color.neutral.100
--mt-color-action-secondary-hover#E7E2D9#4C463Cbrand.color.neutral.200
--mt-color-action-on-secondary#24211C#FAF9F7brand.color.neutral.900
--mt-color-action-destructive#B42318#F97066color.red.700
--mt-color-action-destructive-hover#912018#FDA29Bcolor.red.800
--mt-color-action-on-destructive#FFFFFF#17151Fbrand.color.neutral.0
--mt-color-action-accent-subtle#EEF0FF#272373brand.color.accent.50
--mt-color-action-on-accent-subtle#3A34C0#C7CCFFbrand.color.accent.700
--mt-color-feedback-success#027A48#32D583color.green.700
--mt-color-feedback-success-surface#D1FADF#054F31color.green.100
--mt-color-feedback-on-success#05603A#D1FADFcolor.green.800
--mt-color-feedback-warning#B54708#FDB022color.amber.700
--mt-color-feedback-warning-surface#FEF0C7#7A2E0Ecolor.amber.100
--mt-color-feedback-on-warning#93370D#FEF0C7color.amber.800
--mt-color-feedback-error#B42318#F97066color.red.700
--mt-color-feedback-error-surface#FEE4E2#7A271Acolor.red.100
--mt-color-feedback-on-error#912018#FEE4E2color.red.800
--mt-color-feedback-info#175CD3#53B1FDcolor.blue.700
--mt-color-feedback-info-surface#D1E9FF#194185color.blue.100
--mt-color-feedback-on-info#1849A9#D1E9FFcolor.blue.800
--mt-color-focus-ring#5B5CF6#8184F8brand.color.accent.500
--mt-color-overlay-scrimrgba(15, 23, 42, 0.5)rgba(0, 0, 0, 0.7)—
--mt-color-shadow-colorrgba(15, 23, 42, 0.12)rgba(0, 0, 0, 0.5)—

Typography

Every role below is rendered at its actual @mt/tokens (Brand A) size — this is what it looks like in the product, not a scaled-down mockup.

text-display

Plus Jakarta Sans · 700 · 56px / 1.1 lh · -0.02 tracking

Ag — Designing with intent

text-h1

Plus Jakarta Sans · 700 · 40px / 1.1 lh · -0.01 tracking

Ag — Designing with intent

text-h2

Plus Jakarta Sans · 700 · 32px / 1.25 lh · -0.01 tracking

Ag — Designing with intent

text-h3

Plus Jakarta Sans · 600 · 24px / 1.25 lh · 0 tracking

Ag — Designing with intent

text-h4

Plus Jakarta Sans · 600 · 20px / 1.25 lh · 0 tracking

Ag — Designing with intent

text-body-lg

Inter · 400 · 18px / 1.5 lh · 0 tracking

Ag — Designing with intent

text-body

Inter · 400 · 16px / 1.5 lh · 0 tracking

Ag — Designing with intent

text-body-sm

Inter · 400 · 14px / 1.5 lh · 0 tracking

Ag — Designing with intent

text-label

Inter · 500 · 14px / 1.25 lh · 0 tracking

Ag — Designing with intent

text-caption

Inter · 500 · 13px / 1.25 lh · 0 tracking

Ag — Designing with intent

text-overline

Inter · 600 · 12px / 1.25 lh · 0.08 tracking

Ag — Designing with intent

text-code

IBM Plex Mono · 400 · 14px / 1.5 lh · 0 tracking

Ag — Designing with intent

Spacing & grid

Spacing

Semantic spacing roles from @mt/tokens (density-scaled per brand). Layout composition still uses Tailwind's native 4px scale; these roles back component padding and gaps.

space-none0px
space-2xs4px
space-xs8px
space-sm12px
space-md16px
space-lg24px
space-xl32px
space-2xl48px
space-3xl64px

Radius

radius-control16px
radius-field12px
radius-card20px
radius-container16px
radius-dialog16px
radius-pill9999px

Elevation

elevation-surface
elevation-raised
elevation-overlay
elevation-modal

Components

The component library this site runs on — grouped by category, each built on the same tokens and live-rendered from its real source file.

Buttons & actions

Button

primary · secondary · tertiary · danger · ghost · link
HoverFocus

Icon button

ghost / secondary / primary · requires aria-label
Ghost
Secondary
Primary

Button group

Joined related actions

Segmented control

Compact single-select (radiogroup)

Toolbar

@radix-ui/react-toolbar · roving focus

Input & form controls

Text input

border-border-default · focus-ring · aria-invalid:border-feedback-error

Textarea

Form field

label + hint + error + required

Used only for role inquiries.

Enter a valid email address.

Search field

Select

@radix-ui/react-select

Combobox / Autocomplete

Radix Popover + cmdk

Checkbox · Radio · Switch

Checkbox
Radio
Switch (off / on)

Slider

@radix-ui/react-slider

Date picker

react-day-picker in a Popover

File upload

Click or drag & drop

Feedback & status

Inline alert

role=alert · feedback surface + icon per status

Toast / Snackbar

@radix-ui/react-toast · Toaster mounted app-wide

Progress · Spinner · Skeleton

Progress (60%)
LoadingSpinner
Skeleton

Empty state

No projects yet

When you add case studies they'll appear here.

Badge

Status label (distinct from Tag)
NeutralAccentSuccessWarningError

Tooltip

@radix-ui/react-tooltip

Dialog / Modal

@radix-ui/react-dialog · patterns · sizes · scrolling body

Content & layout

Card

bg-background-surface · border-border-default · shadow-raised → shadow-overlay

Default elevation

Hovered elevation

Tag

bg-background-surface-subtle / bg-action-accent-subtle · text-overline
NeutralAccent

Iconography

Lucide

lucide-react — generic set

Material

material-symbols (outlined)