# #057 — Warm Editorial Notes

> Warm snow-and-linen Markdown notes app with nested #tag sidebar, serif reading canvas, and crimson editorial accents.

## Metadata

- **Index**: #057
- **Slug**: `warm-editorial-notes`
- **Kind**: `style`
- **Family**: Minimalist Utility & Craft Software
- **Theme**: `light`
- **Mobile Strength**: `native-first`
- **Tags**: `notes-app`, `markdown`, `warm-paper`, `editorial`, `nested-tags`, `craft-software`
- **Best For**: Personal knowledge bases and Markdown note apps, Long-form journaling and research notebooks, Editorial drafting and wiki workspaces
- **Real-World Inspiration**: [Bear](https://bear.app/)
- **Detail Page**: https://templates.michaelpitts.net/t/warm-editorial-notes
- **Live Demo**: https://templates.michaelpitts.net/demos/warm-editorial-notes.html
- **JSON API**: https://templates.michaelpitts.net/api/templates/warm-editorial-notes

## Why This Aesthetic Is Unique

Brings tactile bookish warmth to daily note-taking through linen-tinted sidebars, nested inline #tags, and a signature crimson highlight that feels like a red editor's pencil.

## Color Palette

| Role | Name | Hex |
|------|------|-----|
| `canvas` | Warm Snow | `#FCFAF8` |
| `surface` | Sidebar Linen | `#F4EFEA` |
| `ink` | Espresso Ink | `#231F1D` |
| `accent` | Bear Crimson | `#D94136` |
| `muted` | Warm Stone | `#7C726B` |

## Typography

- **Display**: `Lora`
- **Body**: `Plus Jakarta Sans`
- **Mono**: `IBM Plex Mono`
- **Scale Notes**: Warm Lora serif titles and rendered reading prose (17px/1.75) balanced by crisp 13-14px sans sidebar navigation and mono Markdown editing.
- **Google Fonts**: https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Lora:ital,wght@0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap
  ```html
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Lora:ital,wght@0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap">
  ```

## Layout Architecture

Classic three-column craft notes layout (Nested #tag tree, searchable note excerpt list, focused Reading/Markdown editor) separated by soft warm-linen hairlines.

## Interaction & Micro-Motion Rules

Filter notes by root or nested #tags, search in real time, create new notes with one click, and switch seamlessly between rendered Reading view and live Markdown source.

## Mobile & Responsive Rules

Transforms cleanly into a 3-tab mobile switcher (Tags / Notes / Editor) with 44px touch targets so writing feels native on 390px screens.

## Agent Guardrails

### DO
- Step background tones gently across columns (#F4EFEA -> #FAF6F2 -> #FCFAF8) for effortless spatial hierarchy
- Reserve crimson (#D94136) for active tags, blockquote rules, and inline code accents
- Keep the reading column capped around 700px for comfortable long-form legibility

### DON'T
- Do not use cold blue-gray surfaces that fight the warm editorial palette
- Do not squeeze all three columns side-by-side on mobile viewports

## Complete Standalone Starter Code

File: `demos/warm-editorial-notes.html`

```html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Kodiak — Warm Editorial Markdown Notes</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Lora:ital,wght@0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap" rel="stylesheet">
  <style>
    :root {
      --canvas: #FCFAF8;
      --sidebar: #F4EFEA;
      --list-bg: #FAF6F2;
      --ink: #231F1D;
      --accent: #D94136;
      --accent-soft: #FCECEB;
      --muted: #7C726B;
      --border: #E8DFD7;
      --font-serif: 'Lora', Georgia, serif;
      --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
    }
    *, *::before, *::after { box-sizing: border-box; }
    html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      background: var(--canvas);
      color: var(--ink);
      font-family: var(--font-sans);
      overflow-x: hidden;
    }
    button, input, textarea { font-family: inherit; }

    .app-shell {
      display: grid;
      grid-template-columns: 230px 290px 1fr;
      min-height: 100vh;
    }

    /* Mobile top bar */
    .mobile-bar {
      display: none;
      position: sticky;
      top: 0;
      z-index: 20;
      background: var(--sidebar);
      border-bottom: 1px solid var(--border);
      padding: 8px 12px;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .mobile-tabs {
      display: flex;
      gap: 6px;
      width: 100%;
    }
    .mobile-tabs button {
      flex: 1;
      min-height: 44px;
      border-radius: 8px;
      border: 1px solid transparent;
      background: transparent;
      color: var(--muted);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
    }
    .mobile-tabs button.active {
      background: var(--canvas);
      color: var(--accent);
      border-color: var(--border);
    }

    /* Column 1: Tag Sidebar */
    .tag-col {
      background: var(--sidebar);
      border-right: 1px solid var(--border);
      padding: 22px 14px;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }
    .logo-row {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0 8px;
    }
    .logo-mark {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      background: var(--accent);
      display: grid;
      place-items: center;
      color: #fff;
      flex-shrink: 0;
    }
    .logo-title {
      font-family: var(--font-serif);
      font-weight: 600;
      font-size: 18px;
      letter-spacing: -0.01em;
    }
    .nav-section-label {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--muted);
      padding: 0 10px;
      margin-bottom: 4px;
    }
    .tag-list {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
    .tag-btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      min-height: 44px;
      padding: 8px 10px;
      border: none;
      border-radius: 8px;
      background: transparent;
      color: var(--ink);
      font-size: 14px;
      text-align: left;
      cursor: pointer;
      transition: background 0.14s;
    }
    .tag-btn:hover { background: rgba(217, 65, 54, 0.07); }
    .tag-btn.active {
      background: var(--accent-soft);
      color: var(--accent);
      font-weight: 600;
    }
    .tag-btn.nested { padding-left: 26px; font-size: 13px; }
    .tag-count {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--muted);
    }
    .tag-btn.active .tag-count { color: var(--accent); }

    /* Column 2: Note List */
    .list-col {
      background: var(--list-bg);
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
    }
    .list-header {
      padding: 16px;
      border-bottom: 1px solid var(--border);
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .search-input {
      flex: 1;
      min-height: 44px;
      padding: 0 12px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: var(--canvas);
      color: var(--ink);
      font-size: 14px;
    }
    .search-input:focus {
      outline: 2px solid rgba(217, 65, 54, 0.25);
      border-color: var(--accent);
    }
    .new-btn {
      min-width: 44px;
      min-height: 44px;
      border-radius: 8px;
      border: 1px solid var(--accent);
      background: var(--accent);
      color: #fff;
      font-size: 20px;
      line-height: 1;
      cursor: pointer;
    }
    .note-cards {
      overflow-y: auto;
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .note-card {
      text-align: left;
      width: 100%;
      padding: 14px;
      border-radius: 10px;
      border: 1px solid transparent;
      background: transparent;
      cursor: pointer;
      transition: background 0.14s, border-color 0.14s;
    }
    .note-card:hover { background: rgba(255,255,255,0.65); }
    .note-card.active {
      background: var(--canvas);
      border-color: var(--border);
      box-shadow: 0 2px 8px rgba(35, 31, 29, 0.05);
    }
    .note-card-title {
      font-family: var(--font-serif);
      font-weight: 600;
      font-size: 15px;
      color: var(--ink);
      margin-bottom: 5px;
    }
    .note-card-excerpt {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.45;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 8px;
    }
    .note-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      color: var(--muted);
      font-family: var(--font-mono);
    }
    .inline-tag {
      color: var(--accent);
      background: var(--accent-soft);
      padding: 2px 6px;
      border-radius: 4px;
    }

    /* Column 3: Editorial Editor / Reader */
    .editor-col {
      display: flex;
      flex-direction: column;
      background: var(--canvas);
    }
    .editor-toolbar {
      padding: 12px 28px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }
    .mode-switch {
      display: inline-flex;
      background: var(--sidebar);
      padding: 3px;
      border-radius: 8px;
      border: 1px solid var(--border);
    }
    .mode-switch button {
      min-height: 38px;
      padding: 0 14px;
      border: none;
      border-radius: 6px;
      background: transparent;
      color: var(--muted);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
    }
    .mode-switch button.active {
      background: var(--canvas);
      color: var(--ink);
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }
    .word-stats {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--muted);
    }
    .editor-canvas {
      max-width: 700px;
      width: 100%;
      margin: 0 auto;
      padding: 36px 28px 64px;
      flex: 1;
    }
    .doc-title-input {
      width: 100%;
      border: none;
      background: transparent;
      font-family: var(--font-serif);
      font-size: clamp(26px, 3.2vw, 34px);
      font-weight: 600;
      color: var(--ink);
      margin-bottom: 14px;
      padding: 0;
    }
    .doc-title-input:focus { outline: none; }
    .doc-tags-row {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-bottom: 24px;
    }
    .doc-tag-pill {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--accent);
      background: var(--accent-soft);
      padding: 4px 10px;
      border-radius: 999px;
    }
    .markdown-area {
      width: 100%;
      min-height: 380px;
      border: none;
      background: transparent;
      color: var(--ink);
      font-family: var(--font-mono);
      font-size: 14px;
      line-height: 1.75;
      resize: vertical;
      padding: 0;
    }
    .markdown-area:focus { outline: none; }
    .rendered-doc {
      font-family: var(--font-serif);
      font-size: 17px;
      line-height: 1.75;
      color: var(--ink);
    }
    .rendered-doc h2 {
      font-size: 21px;
      margin: 26px 0 10px;
      color: var(--ink);
    }
    .rendered-doc p { margin: 0 0 16px; }
    .rendered-doc blockquote {
      margin: 18px 0;
      padding: 4px 0 4px 18px;
      border-left: 3px solid var(--accent);
      color: var(--muted);
      font-style: italic;
    }
    .rendered-doc ul {
      padding-left: 20px;
      margin: 0 0 18px;
    }
    .rendered-doc li { margin-bottom: 6px; }
    .rendered-doc code {
      font-family: var(--font-mono);
      font-size: 13px;
      background: var(--sidebar);
      padding: 2px 6px;
      border-radius: 4px;
      color: var(--accent);
    }

    @media (max-width: 900px) {
      .app-shell {
        grid-template-columns: 1fr;
        min-height: auto;
      }
      .mobile-bar { display: flex; }
      .tag-col, .list-col, .editor-col {
        display: none;
        border-right: none;
        min-height: calc(100vh - 61px);
      }
      .tag-col.m-show, .list-col.m-show, .editor-col.m-show {
        display: flex;
      }
      .editor-toolbar { padding: 12px 16px; }
      .editor-canvas { padding: 24px 16px 48px; }
    }
  </style>
</head>
<body>
  <div class="mobile-bar">
    <div class="mobile-tabs" role="tablist">
      <button data-pane="tags">Tags</button>
      <button data-pane="list">Notes</button>
      <button class="active" data-pane="editor">Editor</button>
    </div>
  </div>

  <div class="app-shell">
    <aside class="tag-col" id="paneTags">
      <div class="logo-row">
        <div class="logo-mark" aria-hidden="true">
          <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
            <path d="M5 17c0-4 3-9 7-9s7 5 7 9"/>
            <circle cx="8" cy="7" r="2.2"/><circle cx="16" cy="7" r="2.2"/>
          </svg>
        </div>
        <span class="logo-title">Kodiak Notes</span>
      </div>

      <div>
        <div class="nav-section-label">Library</div>
        <div class="tag-list" id="tagList"></div>
      </div>
    </aside>

    <section class="list-col" id="paneList">
      <div class="list-header">
        <input type="search" class="search-input" id="searchInput" placeholder="Search notes or #tags...">
        <button class="new-btn" id="newNoteBtn" aria-label="Create new note">+</button>
      </div>
      <div class="note-cards" id="noteCards"></div>
    </section>

    <main class="editor-col m-show" id="paneEditor">
      <div class="editor-toolbar">
        <div class="mode-switch" role="tablist">
          <button class="active" data-mode="preview">Reading</button>
          <button data-mode="edit">Markdown</button>
        </div>
        <div class="word-stats" id="wordStats">142 words · 1 min read</div>
      </div>
      <article class="editor-canvas">
        <input class="doc-title-input" id="docTitle" aria-label="Note title">
        <div class="doc-tags-row" id="docTags"></div>
        <div class="rendered-doc" id="renderedDoc"></div>
        <textarea class="markdown-area" id="markdownArea" hidden aria-label="Markdown editor"></textarea>
      </article>
    </main>
  </div>

  <script>
    const NOTES = [
      {
        id: 'n1',
        title: 'Notes on Warm Typography for Long-Form Software',
        tags: ['#craft', '#craft/type'],
        updated: 'Today, 09:42',
        body: `Good writing software should feel like heavy cotton paper in morning light, never like a fluorescent spreadsheet.\n\n## Three Tactile Principles\n- Keep line lengths between 60 and 68 characters so the eye glides effortlessly.\n- Use a warm off-white canvas like \`#FCFAF8\` instead of harsh clinical white.\n- Reserve crimson accents strictly for active tags, headings, and inline emphasis.\n\n> "When the interface steps back by two shades, the writer steps forward."`
      },
      {
        id: 'n2',
        title: 'Autumn Reading List & Marginalia',
        tags: ['#reading', '#craft'],
        updated: 'Yesterday',
        body: `Books worth annotating slowly with a soft pencil.\n\n## Current Shelf\n- The Elements of Typographic Style — Robert Bringhurst\n- A Pattern Language — Christopher Alexander\n- How Buildings Learn — Stewart Brand\n\n> Every durable tool ages with grace when its structure remains legible.`
      },
      {
        id: 'n3',
        title: 'Nested Tag Taxonomy for Field Research',
        tags: ['#craft/type', '#journal'],
        updated: 'Nov 28',
        body: `Folders force every thought into a single drawer. Nested tags like \`#craft/type\` let a single note belong to both design critique and personal essays.\n\n## Naming Rules\n- Keep root tags singular and lowercase.\n- Limit depth to two levels so navigation stays calm on mobile screens.`
      },
      {
        id: 'n4',
        title: 'Kyoto Coffee Roasters & Paper Shops',
        tags: ['#journal'],
        updated: 'Nov 21',
        body: `Morning walk along the Kamo River before opening hours.\n\n## Stops to Remember\n- Weekenders Coffee Tominokoji — washed Ethiopian pour-over.\n- Kakimori & Takeo Paper — sample books of uncoated cream stock.`
      }
    ];

    const TAG_TREE = [
      { key: 'all', label: 'All Notes', nested: false },
      { key: '#craft', label: '#craft', nested: false },
      { key: '#craft/type', label: '#craft/type', nested: true },
      { key: '#reading', label: '#reading', nested: false },
      { key: '#journal', label: '#journal', nested: false }
    ];

    let activeTag = 'all';
    let activeNoteId = 'n1';
    let mode = 'preview';
    let query = '';

    const $ = id => document.getElementById(id);

    function countForTag(tag) {
      if (tag === 'all') return NOTES.length;
      return NOTES.filter(n => n.tags.some(t => t === tag || t.startsWith(tag + '/'))).length;
    }

    function renderTags() {
      $('tagList').innerHTML = TAG_TREE.map(t => `
        <button class="tag-btn ${t.nested ? 'nested' : ''} ${activeTag === t.key ? 'active' : ''}" data-tag="${t.key}">
          <span>${t.label}</span>
          <span class="tag-count">${countForTag(t.key)}</span>
        </button>
      `).join('');
      $('tagList').querySelectorAll('.tag-btn').forEach(btn => {
        btn.addEventListener('click', () => {
          activeTag = btn.dataset.tag;
          renderTags();
          renderList();
          showMobilePane('list');
        });
      });
    }

    function filteredNotes() {
      return NOTES.filter(n => {
        const matchTag = activeTag === 'all' || n.tags.some(t => t === activeTag || t.startsWith(activeTag + '/'));
        const q = query.trim().toLowerCase();
        const matchQ = !q || n.title.toLowerCase().includes(q) || n.body.toLowerCase().includes(q) || n.tags.join(' ').toLowerCase().includes(q);
        return matchTag && matchQ;
      });
    }

    function renderList() {
      const list = filteredNotes();
      if (list.length && !list.some(n => n.id === activeNoteId)) {
        activeNoteId = list[0].id;
        renderEditor();
      }
      $('noteCards').innerHTML = list.map(n => `
        <button class="note-card ${n.id === activeNoteId ? 'active' : ''}" data-id="${n.id}">
          <div class="note-card-title">${n.title}</div>
          <div class="note-card-excerpt">${n.body.replace(/[#>*`]/g, '')}</div>
          <div class="note-card-meta">
            <span class="inline-tag">${n.tags[0] || '#note'}</span>
            <span>${n.updated}</span>
          </div>
        </button>
      `).join('') || `<div style="padding:20px;color:var(--muted);font-size:14px;">No notes match this filter.</div>`;

      $('noteCards').querySelectorAll('.note-card').forEach(card => {
        card.addEventListener('click', () => {
          activeNoteId = card.dataset.id;
          renderList();
          renderEditor();
          showMobilePane('editor');
        });
      });
    }

    function mdToHtml(md) {
      const esc = s => s.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
      const inline = s => esc(s).replace(/`([^`]+)`/g, '<code>$1</code>');
      const lines = md.split('\n');
      let out = '', inList = false;
      for (const raw of lines) {
        const line = raw.trim();
        if (!line) {
          if (inList) { out += '</ul>'; inList = false; }
          continue;
        }
        if (line.startsWith('- ')) {
          if (!inList) { out += '<ul>'; inList = true; }
          out += `<li>${inline(line.slice(2))}</li>`;
        } else {
          if (inList) { out += '</ul>'; inList = false; }
          if (line.startsWith('## ')) out += `<h2>${inline(line.slice(3))}</h2>`;
          else if (line.startsWith('> ')) out += `<blockquote>${inline(line.slice(2))}</blockquote>`;
          else out += `<p>${inline(line)}</p>`;
        }
      }
      if (inList) out += '</ul>';
      return out;
    }

    function updateStats(text) {
      const words = text.trim() ? text.trim().split(/\s+/).length : 0;
      const mins = Math.max(1, Math.round(words / 200));
      $('wordStats').textContent = `${words} words · ${mins} min read`;
    }

    function renderEditor() {
      const note = NOTES.find(n => n.id === activeNoteId) || NOTES[0];
      $('docTitle').value = note.title;
      $('docTags').innerHTML = note.tags.map(t => `<span class="doc-tag-pill">${t}</span>`).join('');
      $('markdownArea').value = note.body;
      $('renderedDoc').innerHTML = mdToHtml(note.body);
      $('renderedDoc').hidden = mode !== 'preview';
      $('markdownArea').hidden = mode !== 'edit';
      updateStats(note.title + ' ' + note.body);
    }

    $('docTitle').addEventListener('input', e => {
      const note = NOTES.find(n => n.id === activeNoteId);
      if (note) { note.title = e.target.value; renderList(); updateStats(note.title + ' ' + note.body); }
    });

    $('markdownArea').addEventListener('input', e => {
      const note = NOTES.find(n => n.id === activeNoteId);
      if (note) {
        note.body = e.target.value;
        $('renderedDoc').innerHTML = mdToHtml(note.body);
        renderList();
        updateStats(note.title + ' ' + note.body);
      }
    });

    $('searchInput').addEventListener('input', e => {
      query = e.target.value;
      renderList();
    });

    $('newNoteBtn').addEventListener('click', () => {
      const id = 'n' + (NOTES.length + 1);
      const tag = activeTag === 'all' ? '#journal' : activeTag;
      NOTES.unshift({
        id,
        title: 'Untitled Field Note',
        tags: [tag],
        updated: 'Just now',
        body: 'Begin writing in plain Markdown.\n\n- Capture an observation\n- Link it with a nested tag'
      });
      activeNoteId = id;
      mode = 'edit';
      document.querySelectorAll('[data-mode]').forEach(b => b.classList.toggle('active', b.dataset.mode === 'edit'));
      renderTags();
      renderList();
      renderEditor();
      showMobilePane('editor');
    });

    document.querySelectorAll('[data-mode]').forEach(btn => {
      btn.addEventListener('click', () => {
        mode = btn.dataset.mode;
        document.querySelectorAll('[data-mode]').forEach(b => b.classList.toggle('active', b === btn));
        renderEditor();
      });
    });

    function showMobilePane(pane) {
      $('paneTags').classList.toggle('m-show', pane === 'tags');
      $('paneList').classList.toggle('m-show', pane === 'list');
      $('paneEditor').classList.toggle('m-show', pane === 'editor');
      document.querySelectorAll('[data-pane]').forEach(b => b.classList.toggle('active', b.dataset.pane === pane));
    }
    document.querySelectorAll('[data-pane]').forEach(btn => {
      btn.addEventListener('click', () => showMobilePane(btn.dataset.pane));
    });

    renderTags();
    renderList();
    renderEditor();
  </script>
</body>
</html>
```
