macl-design-system
v1.1.0
Published
Universal MACL Multi-App Design System with AeroUI integration, strict consistency, and multi-agent support (Claude, Codex, Antigravity).
Maintainers
Readme
✈️ MACL Universal Multi-App Design System
The Single Source of Truth & Enterprise UI Framework for Maldives Airports Company Limited (MACL).
Powering Velana International Airport (VIA) digital infrastructure across 8 distinct application archetypes. Designed so any human engineer or AI coding agent can build new apps in one shot with zero re-polishing.
🛫 Quickstart Runway (Choose Your Flight Path)
1. Equip Any AI Agent (Install Skill in 3 Seconds)
Teach your local agent all MACL design tokens, AeroUI components, and invariant rules:
# In your project:
npx macl-design-system install-skill
# Or globally on your computer:
npx macl-design-system install-skill --globalWorks seamlessly with Google Antigravity, Claude Code (~/.claude/skills/), and Cursor (.cursor/rules/).
2. Scaffold a New App in One Shot (Zero Re-Polishing)
npx macl-design-system create-app --id fuel-hub --name "MACL Fuel Operations" --primary "#D97706"Generates the theme JSON, compiles CSS custom properties, verifies Google Labs DESIGN.md, and creates a ready-to-run React screen with <AppShell>, KPI metrics, and data tables.
3. Add to Any Existing React / Next.js Project
npm install macl-design-systemIn your code:
import { AppShell, Button, Table, Badge, StatsCard, Dialog } from 'macl-design-system';
import 'macl-design-system/styles/tailwind-v4.css';
import 'macl-design-system/styles/themes.css';
export function AirportApp() {
return (
<AppShell appName="Terminal Operations" themeId="macl-corporate">
{/* Pre-styled with sidebar, top search bar, breadcrumbs & 4px grid rhythm */}
</AppShell>
);
}4. Zero-Dependency Shell Installer (Linux / macOS / WSL)
curl -fsSL https://raw.githubusercontent.com/anax/macl-design-system/main/install.sh | bash🧭 The 3-Tier Multi-App Architecture
┌─────────────────────────────────────────────────────────────┐
│ Tier 1: Global Invariant Foundations │
│ • Inter Font Only (Max Weight 500) • Zero Uppercase │
│ • 4px Spacing Grid (p-1 to p-10) • Standard Radii Scale │
└──────────────────────────────┬──────────────────────────────┘
│
┌──────────────────────────────▼──────────────────────────────┐
│ Tier 2: Semantic Token Contract │
│ • bg-primary, bg-base, bg-subtle, text-base, border-base │
│ • Components NEVER consume raw hex codes │
└──────────────────────────────┬──────────────────────────────┘
│
┌──────────────────────────────▼──────────────────────────────┐
│ Tier 3: App-Specific Themes (data-theme="<app-id>") │
│ • Corporate: #001222 (Midnight) & #00B2E3 (Turquoise) │
│ • Halo HRIS: #F05E25 (Operational Coral) & Sky Blue │
│ • FIDS Matrix: #0891B2 (Cyan) on Jet Black │
│ • Centra IAM: #2563EB (Cobalt Blue) & Deep Slate │
│ • Commercial: #059669 (Palm Emerald) & Warm Amber │
│ • Cargo: #001222 (Midnight) & Logistics Amber │
└─────────────────────────────────────────────────────────────┘🏛 Official Google Specification Verified (@google/design.md)
This design system conforms strictly to the official open-source specification maintained by Google Labs:
- Repository: google-labs-code/design.md
- Official Linter:
@google/design.md(design.md)
# Lint the master DESIGN.md
npm run lint:google
# Lint all 8 app-specific DESIGN.md exports
npm run lint:google:all
# Full lint suite (Google Specification + MACL Invariant Guidelines)
npm run lint🤖 AI Agent Implementation Directives
When any AI coding assistant works on this repository or downstream MACL applications, it follows these 5 non-negotiable guardrails:
- Inter Font Family Only: Never import Geist, Roboto, or Arial.
- Strict Font Weight $\le 500$: Headings use
font-medium(500). Body usesfont-normal(400). Weights 600+ (font-bold,font-semibold) are strictly prohibited. - No Uppercase Transforms: Never apply
uppercaseto buttons, table headers, badges, or titles. - Semantic Tokens Only: Always use
bg-primary,bg-base,text-base,border-border-base. Never use hardcoded hex codes. - Reuse AeroUI Primitives: Always reuse
AppShell,Button,Input,Select,Card,Badge,Table,Tabs,Dialog,StatsCard,Alert.
💻 Local Showcase & Live Playground
Explore all 8 application themes, AeroUI components, and token inspectors interactively:
git clone [email protected]:anax/macl-design-system.git
cd macl-design-sytem
npm install
npm run devOpen http://localhost:5180 in your browser to test the interactive Runway Onboarding Flight Deck and live app previews.
📄 License & Ownership
Copyright © 2026 Maldives Airports Company Limited (MACL). All rights reserved.
Maintained by the MACL Airport Digital Technology Team.
