Craft DESIGN.md

Brands

Modern document editor with a clean, minimal aesthetic — white canvas, soft brand blue, and content-first UI.

Raw DESIGN.md

At a glance

Group
Brands
Main color
#007affBlue design systems
Fonts
New YorkSF Pro TextSF Mono

Colors in this file

  • #1a1a1a

    Unnamed

  • #007aff

    Unnamed

  • #f3f4f6

    background

  • #ffffff

    background

  • #e8e8e8

    Unnamed

  • #6b6b6b

    Unnamed

  • #005ec4

    Unnamed

  • #f8f8f8

    Unnamed

  • #f0f0f0

    Unnamed

  • #aaaaaa

    Unnamed

Modern document editor with a clean, minimal aesthetic — white canvas, soft brand blue, and content-first UI.

1. Visual Theme & Atmosphere

Craft is a beautiful document and notes app that treats writing as an art form. The interface is exceptionally clean — a white or near-white canvas that recedes to put the reader's focus entirely on the content. Soft blue accents mark interactive elements without competing with the writing. The UI supports nesting, blocks, and rich media while maintaining a serene, magazine-quality feel. It bridges journaling, note-taking, and document creation in one polished surface.

2. Color Palette & Roles

TokenHexRole
--color-primary#007AFFBrand blue, CTAs, links, active states
--color-primary-dark#005EC4Hover/active
--color-primary-dimrgba(0,122,255,0.1)Selection, highlight backgrounds
--color-bg-base#FFFFFFPage/canvas background
--color-bg-surface#F8F8F8Sidebar, panel backgrounds
--color-bg-block#F3F4F6Block/card surfaces
--color-border#E8E8E8Default borders
--color-border-subtle#F0F0F0Block separators
--color-text-primary#1A1A1ABody text, headings
--color-text-secondary#6B6B6BLabels, placeholders
--color-text-muted#AAAAAATimestamps, disabled
--color-text-link#007AFFInline links
--color-success#34C759Complete, published
--color-error#FF3B30Error states
--color-tag#FF9500Tag highlights

3. Typography Rules

css--font-text: 'New York', 'Georgia', serif;
--font-sans: 'SF Pro Text', 'Inter', -apple-system, sans-serif;
--font-mono: 'SF Mono', 'JetBrains Mono', monospace;
--font-size-xs: 11px;
--font-size-sm: 13px;
--font-size-base: 16px;
--font-size-md: 18px;
--font-size-h3: 20px;
--font-size-h2: 24px;
--font-size-h1: 30px;
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-weight-bold: 700;
--line-height-tight: 1.3;
--line-height-base: 1.6;
--line-height-body: 1.75;
ElementSizeWeightLine Height
H130px7001.25
H224px7001.3
H320px6001.35
Body16px4001.75
Sidebar Label13px4001.4
Caption12px4001.4

4. Component Stylings

css/* Document Canvas */
.document-canvas {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 40px;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.75;
  color: #1A1A1A;
}

/* Block Container */
.block {
  position: relative;
  padding: 4px 0;
  border-radius: 6px;
  transition: background 0.1s;
}
.block:hover { background: rgba(0,122,255,0.04); }
.block--selected { background: rgba(0,122,255,0.08); }

/* Card Block */
.card-block {
  background: #F3F4F6;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 8px 0;
  border: 1px solid #E8E8E8;
  cursor: pointer;
  transition: box-shadow 0.15s;
}
.card-block:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.card-block__title {
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  font-family: var(--font-sans);
}
.card-block__preview {
  font-size: 13px;
  color: #6B6B6B;
  margin-top: 4px;
  font-family: var(--font-sans);
}

/* Document List Item */
.doc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #1A1A1A;
  font-family: var(--font-sans);
  transition: background 0.08s;
}
.doc-item:hover { background: #F3F4F6; }
.doc-item--active { background: rgba(0,122,255,0.1); color: #007AFF; }
.doc-item__emoji { font-size: 16px; flex-shrink: 0; }
.doc-item__name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Tag Pill */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  background: rgba(255,149,0,0.1);
  color: #D4760A;
}

/* Inline Code */
.inline-code {
  background: #F3F4F6;
  border-radius: 4px;
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: #1A1A1A;
}

/* Toolbar Popup */
.toolbar-popup {
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.toolbar-btn {
  width: 32px; height: 32px;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: #1A1A1A;
  transition: background 0.1s;
}
.toolbar-btn:hover { background: #F3F4F6; }
.toolbar-btn--active { background: rgba(0,122,255,0.1); color: #007AFF; }

5. Layout Principles

TokenValueUsage
--canvas-max-width700pxDocument content column
--canvas-padding-h40pxHorizontal canvas padding
--canvas-padding-v60pxVertical canvas padding
--sidebar-width260pxDocument navigator
--spacing-xs4pxBlock gaps
--spacing-sm8pxSidebar item spacing
--spacing-md16pxCard padding
--spacing-lg24pxSection gaps
--radius-sm4pxInline code
--radius-md6pxBlocks
--radius-lg10pxCards, popups

6. Depth & Elevation

css.shadow-toolbar { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.shadow-card { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.shadow-modal { box-shadow: 0 16px 48px rgba(0,0,0,0.14); }

7. Do's and Don'ts

Do:

  • Keep the document canvas at max 700px, centered, with generous padding
  • Use emoji as document icons throughout the sidebar
  • Blue (#007AFF) is the only accent — selection, links, active items
  • Toolbar appears on text selection as a floating popup

Don't:

  • Don't add heavy UI chrome around the canvas — white space IS the design
  • Don't use serif font in the sidebar — only in the document body
  • Don't color headings — they should remain dark (#1A1A1A) for a premium feel

8. Responsive Behavior

BreakpointMin WidthBehavior
Mobile320pxFull-screen canvas; sidebar hidden
Tablet768pxNarrow sidebar + canvas
Desktop1024pxSidebar + canvas
Wide1440pxSidebar + canvas + backlinks panel

9. Agent Prompt Guide

You are designing for Craft — modern document editor.
Use a white canvas (#FFFFFF) with the document centered at max 700px and 40px horizontal padding.
iOS blue (#007AFF) is the single accent color — links, active sidebar items, text selection.
Document sidebar shows emoji + document name for each item; active item has a soft blue background.
Card blocks are rounded (10px) with a light gray background and subtle border.
The text selection toolbar is a floating popup with rounded buttons and a white background.
Tone is minimal, elegant, writing-first, and Apple-adjacent.

Use it with your agent

Save the file as DESIGN.md in your project root, then ask your agent to follow it for UI work. Or let the agent fetch it over MCP.

Download

curl -o DESIGN.md https://www.uiskillbook.com/design-md/craft.md

MCP server

https://www.uiskillbook.com/mcp

MCP tool call

get_design_md({ "slug": "craft" })