Search Sign in (opens in a new tab)

Directory

MTCC design system

Styleguide

Tokens and components used across the site, in left-to-right and right-to-left. Every colour pair below was measured against WCAG 2.2 AA.

Colour

Tokens live in src/css/mtcc.css (@theme). Use the tailwind utilities (bg-navy, text-ink).

  • navy

    rgb(0 47 118) #002F76
    Brand, links, primary buttons, headings accents. 12.6:1 on white.

  • ink

    rgb(16 16 15) #10100F
    Primary text. 19.0:1 on white.

  • night

    rgb(6 7 9) #060709
    Dark film/footer surfaces. White .72 text 10.3:1.

  • night-2

    rgb(7 8 10) #07080A
    Dark surface variant.

  • mist

    rgb(242 243 245) #F2F3F5
    Neutral panel. Muted text 5.6:1.

  • mist-2

    rgb(242 245 250) #F2F5FA
    Tinted panel, cards, alerts. Navy 11.5:1.

  • blue

    rgb(0 102 255) #0066FF
    Focus ring and graphics only (4.8:1 on white). Not for small text on tinted panels (4.4:1 on mist-2).

  • blue-text

    rgb(0 90 224) #005AE0
    Blue for text on light/tinted surfaces: 5.9:1 white, 5.4:1 mist-2.

  • cyan

    rgb(126 232 250) #7EE8FA
    Accent and focus ring on dark. 8.9:1 on navy, 14.2:1 on night.

  • amber

    rgb(255 196 61) #FFC43D
    Warning accent. Always with ink text (12.0:1); never white (1.6:1).

  • body

    rgb(53 54 51) #353633
    Body copy. 12.2:1 on white.

  • muted

    rgb(0 0 0 / .6) 60% black
    Secondary text. 5.7:1 on white, 5.6:1 on mist.

  • success

    rgb(21 115 71) #157347
    Success text and border. 5.9:1 on white.

  • danger

    rgb(179 38 30) #B3261E
    Errors. 6.5:1 on white, 6.0:1 on mist-2.

Contrast audit (WCAG 2.2 AA: text 4.5:1, large text and UI graphics 3:1)

Computed contrast ratios for token pairs
PairRatioResult
ink on white19.04:1AA pass
body on white12.16:1AA pass
body on mist-211.13:1AA pass
muted (60% black) on white5.74:1AA pass
muted on mist5.56:1AA pass
muted on mist-25.59:1AA pass
navy on white12.59:1AA pass
navy on mist-211.52:1AA pass
white on navy12.59:1AA pass
blue on white (focus ring, graphics)4.83:1AA pass
blue-text on mist-25.43:1AA pass
white on blue4.83:1AA pass
cyan on navy8.88:1AA pass
cyan on night14.21:1AA pass
white 72% on navy (on-dark muted)7.19:1AA pass
white 72% on night10.33:1AA pass
white 86% on navy9.65:1AA pass
ink on amber11.98:1AA pass
danger on white6.54:1AA pass
danger on mist-25.98:1AA pass
success on white5.87:1AA pass
white on amber (never use)1.59:1Fails AA: fixed or banned
blue text on mist-2 (before fix; replaced by blue-text)4.42:1Fails AA: fixed or banned
navy 60% on white (sector hover, before fix; now 85%)3.91:1Fails AA: fixed or banned

Type scale

Geist for Latin, Noto Sans Thaana for Dhivehi (no negative tracking, line height 1.7 or more).

Display hero clamp(40px, min(6vw, 8.2vh), 92px)

Display 1 clamp(44px, 6vw, 96px)

Display 2 clamp(28px, 2.7vw, 40px)

Section heading clamp(32px, 3.2vw, 48px)

Lede paragraph, 20px / 1.5. MTCC has served the Maldives since 1980.

Body copy, 18px / 1.6. Links in running text are underlined so they never rely on colour alone.

Eyebrow label

Spacing, layout and radii

Container 1440px, gutter clamp(24px, 4.44vw, 64px), section padding clamp(96px, 10vw, 224px). Breakpoints: sm 734, md 900, lg 1000, xl 1200, 2xl 1360.

  • 8px base unit

  • 24px card gap

  • 64px max gutter

  • Radius control 12px
  • Radius panel 14px
  • Radius card 20px

Buttons and links

All controls are at least 44px tall; focus shows a 3px ring (cyan on dark surfaces).

Primary Secondary Learn more

Text link inside a sentence: read the policy. Standalone link: Read more.

Chips and tags

partials/chip.html takes (list label url active).

In progress

Cards

News, document, person and project cards from partials/card-*.html. Each card is one link (stretched), headings are h3.

Alerts

partials/alert.html takes (list tone title body). Errors use role=alert, the rest role=status.

Information

Informational message with a next step.

Success

Your application was submitted.

Warning

This tender closes in two days.

Form fields

partials/form-field.html takes (list id label type name value hint error success required). Errors are linked with aria-describedby and start with a visible prefix.

As on your ID card.

Error: Enter a valid email address.

Success: Number looks good.

Empty, loading and error states

Nothing to show yet

There is nothing here at the moment. Please check back later.

Back to home
Loading

Tables

Open tenders
ReferenceTitleClosingStatus
T-2026-014Sample dredging works12 Dec 2026Open
T-2026-011Sample vessel maintenance30 Nov 2026Closing soon

Content components (W5)

Listings, archives, schedules, investors, careers, projects and timeline components with inline sample data, in left-to-right and right-to-left.

Left-to-right

Filter chips and search (GET, no JS)

Archive card and document card (file type and size)

Schedule table (table on desktop, stacked cards under 640px)

Annual report 2025
RouteDeparts
Malé to Hulhumalé06:00
Malé to Villimalé06:30

Share ribbon

Apply stepper (static)

Project status chips and percent bar

  • Ongoing
  • Physically completed
  • Not started
  • Idle

62%

Timeline row (excerpt lines break one per line)

  1. 2008

    Merger of the two companies. First nationwide ferry network.

FAQ accordion

Who can use the portal?

Any registered customer can sign in with the account number on their bill.

Who can use the portal?

Any registered customer can sign in with the account number on their bill.

Right-to-left (Dhivehi sample text)

Filter chips and search (GET, no JS)

Archive card and document card (file type and size)

Schedule table (table on desktop, stacked cards under 640px)

އަހަރީ ރިޕޯޓު 2025
ރޫޓްފުރާ
މާލެ ން ހުޅުމާލެ06:00
މާލެ ން ވިލިމާލެ06:30

Share ribbon

Apply stepper (static)

Project status chips and percent bar

  • ކުރިއަށްދަނީ
  • ނިމިފައި
  • Not started
  • Idle

62%

Timeline row (excerpt lines break one per line)

  1. 2008

    ނަމޫނާ ފުރަތަމަ ސަތަރު. ނަމޫނާ ދެވަނަ ސަތަރު.

FAQ accordion

ސުވާލެއް؟

ޖަވާބު ނަމޫނާ

ސުވާލެއް؟

ޖަވާބު ނަމޫނާ

Accessibility and motion

  • Focus: every interactive element shows a 3px outline (blue on light, cyan on dark); anchors keep 112px scroll padding below the sticky bar.
  • Target size: all stand-alone controls and links are at least 24px; buttons and chips at least 40 to 48px.
  • Motion: durations 180, 280, 420, 640, 1100ms with the fluid ease; under prefers-reduced-motion, animations and transitions drop to 1ms and reveal and parallax effects are disabled.
  • Colour is never the only cue: errors carry a text prefix and icon, links in text are underlined, status chips carry text.
  • Forced-colours mode keeps a system highlight focus outline.

Right-to-left (Dhivehi) sample

The block below is rendered with dir="rtl" lang="dv". Sample text only; final copy is supplied by MTCC.

ނަމޫނާ

އެމްޓީސީސީ ވެބްސައިޓް

މިއީ ދިވެހި ބަހުން ޓައިޕްސެޓް ބެލުމަށް ބޭނުންކުރާ ނަމޫނާ ޢިބާރާތެކެވެ. ލިންކެއް

ނޯޓް

މިއީ ނަމޫނާ މެސެޖެކެވެ.

Error: ނަން ލިޔުއްވާ