DESIGN.md · Analysis
Command Line
commandline.microsoft.com · 11 Oct 2026 · 47 colors · Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace
Command Line
A technical blog from Microsoft celebrating builder culture through a monochromatic, code-forward aesthetic. Command Line combines austere typography with strategic accent colors to create a no-nonsense platform for sharing engineering insights and technical narratives.
Colors
Typography
- display
- fontFamily: Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace · fontSize: 60px · fontWeight: 700 · lineHeight: 68px · letterSpacing: -0.02em
- headline-lg
- fontFamily: Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace · fontSize: 40px · fontWeight: 700 · lineHeight: 48px · letterSpacing: -0.01em
- headline-md
- fontFamily: Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace · fontSize: 28px · fontWeight: 700 · lineHeight: 36px · letterSpacing: 0em
- title-lg
- fontFamily: Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace · fontSize: 20px · fontWeight: 600 · lineHeight: 28px · letterSpacing: 0em
- body-lg
- fontFamily: Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace · fontSize: 18px · fontWeight: 400 · lineHeight: 28px · letterSpacing: 0em
- body-md
- fontFamily: Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace · fontSize: 16px · fontWeight: 400 · lineHeight: 24px · letterSpacing: 0em
- label-md
- fontFamily: Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace · fontSize: 14px · fontWeight: 600 · lineHeight: 20px · letterSpacing: 0.02em
- label-sm
- fontFamily: Cascadia Code, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, monospace · fontSize: 12px · fontWeight: 500 · lineHeight: 16px · letterSpacing: 0.03em
Design guidance
Overview
Command Line is a technical blog from Microsoft that embodies a 'Code-Forward Minimalism' aesthetic—a design philosophy that strips away decorative elements to expose the raw, functional beauty of engineering culture. The brand serves builders, developers, and technical decision-makers who value precision, authenticity, and unvarnished technical discourse. The UI evokes the austere clarity of a terminal window: monochromatic surfaces (primarily #cccccc, #000000, #ffffff) punctuated by strategic accent colors (#0066ff for secondary actions, #00ff00 for highlights, #cf2e2e for errors) that command attention without distraction. The emotional response is one of intellectual rigor and builder credibility—this is not a platform for marketing speak, but for sharing real technical wins and failures.
The brand voice is direct, precise, and conversational without being casual. Vocabulary favors technical specificity over marketing abstractions: 'decision-making model' rather than 'intelligent solution', 'sandboxed tools' rather than 'secure environment'. The tone assumes the reader is technically literate and values concrete examples over aspirational language. Example sentence in brand voice: 'We evaluated three approaches to model inference latency—here's what we learned, and why the obvious choice failed.'
Colors
The color system is rooted in a monochromatic foundation with surgical accent placement. Primary (#000000) is the dominant text and interactive element color, used for body copy, headings, and the most critical CTAs. It pairs with on-primary (#ffffff) for maximum contrast and accessibility. The surface stack ranges from surface-bright (#ffffff) for clean content areas through surface (#cccccc) as the dominant mid-tone background, down to surface-dim (#999999) for subtle dividers and disabled states. This creates a neutral, code-editor-like environment that doesn't compete with content.
Secondary (#0066ff) is the accent color for secondary actions, links, and interactive highlights—it appears on 'Subscribe' buttons and navigation elements, providing a cool, technical feel reminiscent of hy
Typography
The type system is entirely monospace—Cascadia Code as the primary font family, with fallbacks to ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, and Liberation Mono. This choice is not decorative; it reinforces the brand's technical authenticity and creates visual continuity with code snippets and terminal output that may appear in articles. Display (60px, 700 weight, -0.02em tracking) is reserved for hero headlines and major section breaks. Headline-lg (40px, 700 weight) anchors article titles and primary content sections. Body-md (16px, 400 weight, 24px line-height) is the workhorse for article text and ensures readability at standard viewing distances. Label-md (14px, 600 weight, 0.02em tracking) is used for button text, form labels, and metadata tags—the increased tracking adds
Layout
The layout follows a fluid 12-column grid with a maximum container width of 1280px, allowing content to breathe on large displays while maintaining focus on narrower viewports. The page rhythm is driven by the spacing scale: lg (40px) separates major sections (hero, article list, footer), md (24px) provides breathing room between cards and content blocks, and sm (12px) creates internal padding within components. The gutter is consistently 24px on both sides, creating a 5% horizontal margin on desktop that collapses to tighter margins on mobile. White-space is treated as a design material—generous margins around article cards (md padding) and section breaks (lg spacing) prevent visual fatigue and allow the monochromatic palette to feel sophisticated rather than stark. Container backgrounds
Elevation & Depth
Depth in this system is achieved through subtle layering and border definition rather than dramatic shadows. The elevation scale uses three levels: sm (0 1px 2px rgba(0, 0, 0, 0.06)) for interactive hover states on cards and buttons, md (0 4px 12px rgba(0, 0, 0, 0.08)) for modals and elevated panels, and lg (0 12px 40px rgba(0, 0, 0, 0.2)) for critical overlays and dropdowns. Every surface is defined by a 1px solid border in either outline (#797775) or outline-variant (#888888) rather than relying on shadow alone—this maintains the crisp, technical aesthetic and ensures surfaces remain visuall
Shapes
The shape philosophy is 'Technical Precision'—rounded corners are minimal and purposeful, never organic or flowing. The rounded scale uses sm (0.25rem / 4px) for small interactive elements like badges and inline buttons, DEFAULT (0.5rem / 8px) for standard buttons and input fields, md (0.75rem / 12px) for card corners and larger containers, and lg (1rem / 16px) for modals and major container elements. Full (9999px) is used sparingly for pill-shaped badges and toggle switches. The rationale is functional: 8px radius on buttons (DEFAULT) provides enough softness to feel contemporary without sacr
Components
Action Elements Buttons are the primary interactive element and use a consistent 40px height with 8px 12px padding (label-md typography). Primary buttons (#000000 background, #ffffff text) are used for critical CTAs like 'Subscribe for updates' and 'View Sitemap'. They use a 1px solid border in primary color and no shadow by default; on hover, the background shifts to primary-container (#333333) and a sm shadow (0 1px 2px rgba(0, 0, 0, 0.06)) appears. Secondary buttons use transparent background with #0066ff text and a 1px #0066ff border; on hover, the background becomes secondary-container (#237ae2) with white text. All button state transitions use a 150ms ease-out timing function for smooth feedback. Tertiary buttons follow the same pattern with tertiary color (#00ff00) for status an
Do's and Don'ts
**Do**
- Do use monospace typography (Cascadia Code) for all UI text to reinforce technical authenticity and maintain visual consistency with code snippets.
- Do apply 1px solid borders in outline or outline-variant colors to all surfaces instead of relying on shadows alone—this maintains the crisp, code-editor aesthetic.
- Do use secondary (#0066ff) and tertiary (#00ff00) accent colors sparingly and strategically: secondary for secondary actions and links, tertiary for success and status indicators only.
- Do maintain consistent 40px button heights and 8px 12px padding across all button variants to create a predictable, grid-aligned interface.
- Do use the spacing scale semantically: lg (40px) for section breaks, md (24px) for card padding and component separation, sm (12px) for internal component spacing.
- Do apply sm shadow (0 1px 2px rgba(0, 0, 0, 0.06)) on hover states and md shadow (0 4px 12px rgba(0, 0, 0, 0.08)) on elevated elements to create subtle depth without visual heaviness.
**Don't**
- Don't use decorative shadows or blur effects—the brand aesthetic is austere and functional, not atmospheric or glassmorphic.
- Don't mix serif or sans-serif fonts with the monospace system; Cascadia Code is the sole typeface family to maintain technical consistency.
- Don't apply border-radius greater than lg (16px) except for full-circle badges—larger radii soften the technical precision that defines the brand.
- Don't use primary color (#000000) for backgrounds; reserve it for text and borders. Use surface (#cccccc) and surface-container variants for backgrounds to maintain contrast.
- Don't introduce new accent colors beyond secondary (#0066ff), tertiary (#00ff00), and error (#cf2e2e)—additional colors dilute the focused, technical aesthetic.
- Don't apply text-shadow or text-stroke effects on body copy; these effects reduce legibility and contradict the brand's commitment to clarity and precision.
Edit, then copy or download.
More analyses
All 1613 →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.
*No Credit Card required