DESIGN.md · Analysis

Laravel

laravel.com · 20 Sept 2026 · 47 colors · InstrumentSans, IBM Plex Mono

Laravel

Laravel is a PHP framework for building modern web applications and AI agents with expressive syntax and batteries-included tooling. The design system emphasizes clarity, speed, and developer craftsmanship through a clean, minimalist aesthetic with strategic use of vibrant accent colors.

Colors

surface#ffffff
surface-dim#f9f9f8
surface-bright#ffffff
surface-container-lowest#fdfdfc
surface-container-low#f1f0ef
surface-container#e9e8e6
surface-container-high#e2e1de
surface-container-highest#dad9d6
on-surface#171923
on-surface-variant#63635e
inverse-surface#0d0e10
inverse-on-surface#f1f0ef
outline#8d8d86
outline-variant#bcbbb5
surface-tint#f53003
primary#f53003
on-primary#ffffff
primary-container#fff1f1
on-primary-container#8b1f0f
inverse-primary#ff6b4a
secondary#0057ff
on-secondary#ffffff
secondary-container#e0ecff
on-secondary-container#001a4d
tertiary#29a383
on-tertiary#ffffff
tertiary-container#d4f5eb
on-tertiary-container#0a3d2f
error#d40511
on-error#ffffff
error-container#ffd8d8
on-error-container#5a0008
primary-fixed#fff1f1
primary-fixed-dim#ffb3a3
on-primary-fixed#5a0f05
on-primary-fixed-variant#c23d1f
secondary-fixed#e0ecff
secondary-fixed-dim#b3d4ff
on-secondary-fixed#001a4d
on-secondary-fixed-variant#003fa3
tertiary-fixed#d4f5eb
tertiary-fixed-dim#a8e6d4
on-tertiary-fixed#0a3d2f
on-tertiary-fixed-variant#1a7d62
background#ffffff
on-background#171923
surface-variant#e9e8e6

Typography

display
fontFamily: InstrumentSans · fontSize: 72px · fontWeight: 400 · lineHeight: 80px · letterSpacing: -0.02em
headline-lg
fontFamily: InstrumentSans · fontSize: 48px · fontWeight: 400 · lineHeight: 56px · letterSpacing: -0.015em
headline-md
fontFamily: InstrumentSans · fontSize: 32px · fontWeight: 400 · lineHeight: 40px · letterSpacing: -0.01em
title-lg
fontFamily: InstrumentSans · fontSize: 24px · fontWeight: 400 · lineHeight: 32px
body-lg
fontFamily: InstrumentSans · fontSize: 18px · fontWeight: 400 · lineHeight: 28px
body-md
fontFamily: InstrumentSans · fontSize: 16px · fontWeight: 400 · lineHeight: 24px
label-md
fontFamily: InstrumentSans · fontSize: 14px · fontWeight: 500 · lineHeight: 20px · letterSpacing: 0.01em
label-sm
fontFamily: IBM Plex Mono · fontSize: 12px · fontWeight: 500 · lineHeight: 16px · letterSpacing: 0.05em

Design guidance

Overview

Laravel is a PHP framework designed for developers who value craftsmanship and speed. The design system embodies "Minimalist Pragmatism"—a philosophy that strips away unnecessary ornamentation while maintaining visual warmth and approachability. The aesthetic is deliberately clean: expansive white space, restrained typography in InstrumentSans (a geometric sans-serif that conveys precision), and strategic deployment of a vibrant red-orange accent (#f53003) that signals action, energy, and the framework's forward momentum. The UI evokes confidence and clarity, inviting developers to focus on their code rather than the interface. Voice: direct, encouraging, and unpretentious. Laravel's tone avoids hype; instead, it speaks with the quiet authority of a tool that has earned trust through reliability. Example sentence: "Deploy on Cloud—your app is live in seconds."

Colors

The color palette is anchored in a clean white surface (#ffffff) with a carefully calibrated sand-neutral scale for secondary surfaces and text hierarchy. The primary accent is a bold red-orange (#f53003), used exclusively for call-to-action buttons, focus states, and key interactive elements—this color appears in the NProgress loading bar (box-shadow: 0 0 10px #f53003, 0 0 5px #f53003) and all primary CTAs, creating a consistent visual thread of urgency and brand identity. Secondary accent (#0057ff, a saturated blue) supports technical or secondary actions, while tertiary (#29a383, a muted teal) is reserved for success states and confirmatory UI. The on-surface text color is a near-black (#171923, oklch(0.205 0 0)) that maintains 16:1 contrast against white for accessibility. Surface vari

Typography

The type system is built on InstrumentSans, a geometric sans-serif that conveys both technical precision and human warmth—essential for a developer tool. Display (72px, 400 weight, -0.02em tracking) is reserved for hero headlines and sets the tone of clarity and confidence. Headline-lg (48px) and headline-md (32px) establish visual hierarchy in section titles without excessive weight variation; the framework relies on size and spacing rather than bold weights to create distinction. Body text (16px, 400 weight, 24px line-height) is set at a generous leading to ensure readability in dense documentation. Labels and UI text use label-md (14px, 500 weight, 0.01em tracking) for buttons and form labels, while monospace code snippets use IBM Plex Mono (12px, 500 weight) with increased letter-spaci

Layout

The page layout follows a fluid 12-column grid with a max-width container of 1280px, ensuring the design scales gracefully from mobile to desktop. White-space is generous and intentional: the hero section uses lg spacing (40px) between the headline and supporting copy, and xl spacing (64px) separates major sections. The gutter between columns is 24px (md spacing), maintaining visual breathing room. Container max-widths vary by section (800px for narrow content, 880px for wider layouts) to optimize reading and scanning. The spacing scale is semantic: xs (4px) for micro-interactions and icon spacing, sm (12px) for form field padding and tight grouping, md (24px) for standard component padding and section margins, lg (40px) for section separation, and xl (64px) for major layout breaks. This h

Elevation & Depth

Depth is conveyed through subtle shadows and surface color shifts rather than dramatic layering. Level 1 (Base): the white surface (#ffffff) with no shadow. Level 2 (Cards and Inputs): box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) paired with a 1px border in outline-variant (#bcbbb5), creating a soft, defined edge. Level 3 (Modals and Elevated Cards): box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) with a 1px border, lifting the element further. Hover states on interactive elements intensify the shadow to md (0 3px 8px rgba(0, 0, 0, 0.15)), signaling interactivity without overwhelming the interface. Th

Shapes

The shape language is "Geometric Clarity"—rounded corners are used sparingly and purposefully to soften hard edges while maintaining the technical, precise feel of a developer tool. Buttons use md radius (8px), creating a subtle roundness that feels approachable without being playful. Cards and containers use lg radius (12px) for slightly more breathing room. Input fields use DEFAULT radius (6px) for a tighter, more utilitarian appearance. Modals and elevated surfaces use xl radius (16px) to signal importance and separation from the base layer. The full radius (9999px) is reserved for badges a

Components

Action Elements Buttons are the primary call-to-action mechanism. The button-primary component uses backgroundColor: {colors.primary} (#f53003), textColor: {colors.on-primary} (#ffffff), rounded: {rounded.md} (8px), padding: 12px 24px, and height: 48px. On hover, the background shifts to #e62800 with a box-shadow: 0 3px 8px rgba(245, 48, 3, 0.25) to signal interactivity and depth. The active state darkens further to #cc2400. Button-secondary uses a transparent background with a 1px border in outline-variant (#bcbbb5), maintaining the clean aesthetic while offering a lower-priority action. On hover, the background becomes surface-container-low (#f1f0ef). All buttons use body-md typography (16px, 400 weight) and maintain a minimum height of 48px for touch accessibility.

Containers &

Do's and Don'ts

**Do**

  • Do use the primary red-orange (#f53003) exclusively for high-priority CTAs, focus states, and loading indicators—this creates a consistent visual language that users learn to recognize as "action."
  • Do maintain generous white-space: use lg (40px) and xl (64px) spacing between sections to create visual breathing room and reduce cognitive load.
  • Do apply the full InstrumentSans type scale (display, headline-lg, headline-md, body-md) to establish clear hierarchy; avoid mixing weights—rely on size and spacing instead.
  • Do use the sand-neutral surface scale (surface-container-low through surface-container-highest) for secondary surfaces and hover states to create depth without shadows.
  • Do ensure all interactive elements have a clear focus state with a 3px box-shadow in primary color (rgba(245, 48, 3, 0.1)) for keyboard accessibility.

**Don't**

  • Don't use the primary red (#f53003) for body text, backgrounds, or non-interactive elements—reserve it exclusively for actions and focus states to maintain visual clarity.
  • Don't apply multiple shadow layers or use drop-shadows beyond md (0 3px 8px rgba(0, 0, 0, 0.15))—the design system prioritizes clarity over depth.
  • Don't mix InstrumentSans with other sans-serifs in the same context; use IBM Plex Mono only for code snippets and monospace content.
  • Don't use border-radius values outside the defined scale (sm, DEFAULT, md, lg, xl, full)—this ensures consistency and reduces visual noise.
  • Don't apply color to text for emphasis; instead, use typography weight, size, or the primary accent color for interactive elements.

Made by Sokosumi: AI coworkers for marketing

This tool is free. Sokosumi gives marketing teams AI coworkers that deliver finished work as files: research, briefings, reports and content.

Start free

*No Credit Card required