Files
Marcos Paulo 5e8020aa38
ci / ci (macos-latest) (push) Has been cancelled
ci / ci (ubuntu-latest) (push) Has been cancelled
ci / ci (windows-latest) (push) Has been cancelled
feat: Obsidian basics, editor previews, graph rework, query blocks, stacked tabs, pop-out windows
Editor previews (colour swatches, arrows, embeds), the 18 obsidian-basics tasks (find and replace
with regex, back/forward, auto-pair, footnotes, folding, search operators, split view, PDF/audio/
video embeds, spelling, drag and drop, pinned tabs, settings) and round 2: ```query blocks, stacked
tabs, pop-out windows, tasks ticked inside embeds, text around an embed, embeds that follow edits,
block menu shortcut. New crates: notescraft-regex (linear-time engine) and notescraft-syntax.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 11:21:19 -03:00

89 KiB

AI UI Implementation Spec: Explorer / Large vault (egui)

1. Mandatory Enforcement Rules

  • MUST NOT use position: absolute (or Tailwind absolute) on in-flow children (107 flow nodes under root)
  • MUST use token --canvas (or tokens::CANVAS) instead of hardcoded hex #11111b on Explorer / Large vault (#60)
  • MUST use row auto-layout on Explorer / Large vault (#60) with gap 8px and padding [8px, 8px, 8px, 8px]
  • MUST use token --bg (or tokens::BG) instead of hardcoded hex #1e1e2e on Sidebar (#61)
  • MUST use column auto-layout on Sidebar (#61) with gap 8px and padding [16px, 12px, 16px, 12px]
  • MUST use row auto-layout on Vault Header (#62) with gap 8px and padding [0px, 4px, 0px, 4px]
  • MUST use row auto-layout on Vault Switcher (#63) with gap 8px and padding [0px, 0px, 0px, 0px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on Vault Name (#64)
  • MUST include exact text string "big-vault" for Vault Name (#64)
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Search (#71)
  • MUST use row auto-layout on Search (#71) with gap 8px and padding [8px, 12px, 8px, 12px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Placeholder (#75)
  • MUST include exact text string "Search notes" for Placeholder (#75)
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Hint (#76)
  • MUST include exact text string "Cmd K" for Hint (#76)
  • MUST use row auto-layout on Explorer Toolbar (#77) with gap 4px and padding [0px, 0px, 0px, 0px]
  • MUST use row auto-layout on Filter (#78) with gap 8px and padding [4px, 8px, 4px, 8px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Placeholder (#83)
  • MUST include exact text string "Filter files" for Placeholder (#83)
  • MUST use row auto-layout on Action / Collapse all (#84) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Action / Reveal active (on) (#88)
  • MUST use row auto-layout on Action / Reveal active (on) (#88) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use row auto-layout on Action / Pinned (#96) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface (or tokens::SURFACE) instead of hardcoded hex #181825 on Pinned Folders (#100)
  • MUST use column auto-layout on Pinned Folders (#100) with gap 4px and padding [8px, 8px, 8px, 8px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Section Label (#101)
  • MUST include exact text string "PINNED" for Section Label (#101)
  • MUST use row auto-layout on Pinned / f12 (#102) with gap 8px and padding [0px, 0px, 0px, 0px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on f12 / sub3 (#105)
  • MUST include exact text string "f12 / sub3" for f12 / sub3 (#105)
  • MUST use row auto-layout on Pinned / f3 (#106) with gap 8px and padding [0px, 0px, 0px, 0px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on f3 (#109)
  • MUST include exact text string "f3" for f3 (#109)
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Sticky Breadcrumb (#110)
  • MUST use row auto-layout on Sticky Breadcrumb (#110) with gap 4px and padding [4px, 8px, 4px, 8px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on f12 (#114)
  • MUST include exact text string "f12" for f12 (#114)
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on sub3 (#117)
  • MUST include exact text string "sub3" for sub3 (#117)
  • MUST use row auto-layout on Tree Viewport (#118) with gap 4px and padding [0px, 0px, 0px, 0px]
  • MUST use column auto-layout on Rows (#119) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use row auto-layout on Row / Folder f12 (#120) with gap 8px and padding [0px, 8px, 0px, 8px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on f12 (#125)
  • MUST include exact text string "f12" for f12 (#125)
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Count Badge (#126)
  • MUST include exact text string "200" for Count Badge (#126)
  • MUST use row auto-layout on Row / Folder sub3 (#127) with gap 8px and padding [0px, 8px, 0px, 32px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on sub3 (#132)
  • MUST include exact text string "sub3" for sub3 (#132)
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Count Badge (#133)
  • MUST include exact text string "40" for Count Badge (#133)
  • MUST use row auto-layout on Row / Note a (#134) with gap 8px and padding [0px, 8px, 0px, 68px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on note-2381 (#141)
  • MUST include exact text string "note-2381" for note-2381 (#141)
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Row / Note current (#142)
  • MUST use row auto-layout on Row / Note current (#142) with gap 8px and padding [0px, 8px, 0px, 68px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on note-2382 (#149)
  • MUST include exact text string "note-2382" for note-2382 (#149)
  • MUST use row auto-layout on Row / Note b (#150) with gap 8px and padding [0px, 8px, 0px, 68px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on note-2383 (#157)
  • MUST include exact text string "note-2383" for note-2383 (#157)
  • MUST use row auto-layout on Row / Note c (#158) with gap 8px and padding [0px, 8px, 0px, 68px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on note-2384 (#165)
  • MUST include exact text string "note-2384" for note-2384 (#165)
  • MUST use row auto-layout on Row / Folder sub4 (collapsed) (#166) with gap 8px and padding [0px, 8px, 0px, 32px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on sub4 (#171)
  • MUST include exact text string "sub4" for sub4 (#171)
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Count Badge (#172)
  • MUST include exact text string "40" for Count Badge (#172)
  • MUST use row auto-layout on Row / Folder sub5 (collapsed) (#173) with gap 8px and padding [0px, 8px, 0px, 32px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on sub5 (#178)
  • MUST include exact text string "sub5" for sub5 (#178)
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Count Badge (#179)
  • MUST include exact text string "40" for Count Badge (#179)
  • MUST use row auto-layout on Row / Folder f13 (collapsed) (#180) with gap 8px and padding [0px, 8px, 0px, 8px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on f13 (#185)
  • MUST include exact text string "f13" for f13 (#185)
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Count Badge (#186)
  • MUST include exact text string "200" for Count Badge (#186)
  • MUST use row auto-layout on Row / Folder f14 (collapsed) (#187) with gap 8px and padding [0px, 8px, 0px, 8px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on f14 (#192)
  • MUST include exact text string "f14" for f14 (#192)
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Count Badge (#193)
  • MUST include exact text string "200" for Count Badge (#193)
  • MUST use token --surface (or tokens::SURFACE) instead of hardcoded hex #181825 on Scrollbar Track (#194)
  • MUST use column auto-layout on Scrollbar Track (#194) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Scrollbar Thumb (#195)
  • MUST use column auto-layout on Scrollbar Thumb (#195) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface (or tokens::SURFACE) instead of hardcoded hex #181825 on Index Status (#196)
  • MUST use column auto-layout on Index Status (#196) with gap 8px and padding [12px, 12px, 12px, 12px]
  • MUST use row auto-layout on Index Status Header (#197) with gap 8px and padding [0px, 0px, 0px, 0px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on Indexing 1,240 / 5,000 (#207)
  • MUST include exact text string "Indexing 1,240 / 5,000" for Indexing 1,240 / 5,000 (#207)
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Progress Track (#211)
  • MUST use row auto-layout on Progress Track (#211) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --accent (or tokens::ACCENT) instead of hardcoded hex #cba6f7 on Progress Fill (#212)
  • MUST use column auto-layout on Progress Fill (#212) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Search and file names work now (#213)
  • MUST include exact text string "Search and file names work now. Backlinks fill in as notes are read." for Search and file names work now (#213)
  • MUST use row auto-layout on Workspace (#214) with gap 8px and padding [0px, 0px, 0px, 0px]
  • MUST use token --bg (or tokens::BG) instead of hardcoded hex #1e1e2e on Note Card (#215)
  • MUST use column auto-layout on Note Card (#215) with gap 24px and padding [24px, 32px, 24px, 32px]
  • MUST use row auto-layout on Tab Bar (#216) with gap 8px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Item / Open note (#217)
  • MUST use row auto-layout on Item / Open note (#217) with gap 8px and padding [8px, 12px, 8px, 12px]
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on note-2382 (#224)
  • MUST include exact text string "note-2382" for note-2382 (#224)
  • MUST use token --surface (or tokens::SURFACE) instead of hardcoded hex #181825 on Indexing Chip (#225)
  • MUST use row auto-layout on Indexing Chip (#225) with gap 4px and padding [4px, 8px, 4px, 8px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Indexing 25% (#235)
  • MUST include exact text string "Indexing 25%" for Indexing 25% (#235)
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on Title (#236)
  • MUST include exact text string "note-2382" for Title (#236)
  • MUST use token --text (or tokens::TEXT) instead of hardcoded hex #cdd6f4 on Body (#237)
  • MUST include exact text string "Opened instantly: this note was read first because it is the one on screen. The rest of the vault is read in the background, newest notes first." for Body (#237)
  • MUST use token --bg (or tokens::BG) instead of hardcoded hex #1e1e2e on Right Card (#238)
  • MUST use column auto-layout on Right Card (#238) with gap 16px and padding [16px, 16px, 16px, 16px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Section Label (#239)
  • MUST include exact text string "BACKLINKS" for Section Label (#239)
  • MUST use column auto-layout on Skeleton / Row 1 (#240) with gap 8px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Frame (#241)
  • MUST use column auto-layout on Frame (#241) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface (or tokens::SURFACE) instead of hardcoded hex #181825 on Frame (#242)
  • MUST use column auto-layout on Frame (#242) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use column auto-layout on Skeleton / Row 2 (#243) with gap 8px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface-2 (or tokens::SURFACE_2) instead of hardcoded hex #313244 on Frame (#244)
  • MUST use column auto-layout on Frame (#244) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --surface (or tokens::SURFACE) instead of hardcoded hex #181825 on Frame (#245)
  • MUST use column auto-layout on Frame (#245) with gap 0px and padding [0px, 0px, 0px, 0px]
  • MUST use token --text-muted (or tokens::TEXT_MUTED) instead of hardcoded hex #a6adc8 on Skeleton Note (#246)
  • MUST include exact text string "Still reading 3,760 notes. This list updates by itself." for Skeleton Note (#246)

2. Design Tokens & Variables

  • --accent: #cba6f7
  • --bg: #1e1e2e
  • --border: #45475a
  • --callout-abstract: #94e2d5
  • --callout-bug: #f38ba8
  • --callout-danger: #f38ba8
  • --callout-example: #cba6f7
  • --callout-failure: #f38ba8
  • --callout-info: #74c7ec
  • --callout-note: #89b4fa
  • --callout-question: #f9e2af
  • --callout-quote: #a6adc8
  • --callout-success: #a6e3a1
  • --callout-tip: #94e2d5
  • --callout-todo: #89b4fa
  • --callout-warning: #fab387
  • --canvas: #11111b
  • --danger: #f38ba8
  • --heat-1: #232336
  • --heat-2: #2d2d47
  • --heat-3: #3d3d63
  • --highlight: #4a4a45
  • --link: #89b4fa
  • --link-unresolved: #f38ba8
  • --on-accent: #11111b
  • --success: #a6e3a1
  • --surface: #181825
  • --surface-2: #313244
  • --syn-comment: #8a8fa8
  • --syn-function: #89b4fa
  • --syn-key: #74c7ec
  • --syn-keyword: #cba6f7
  • --syn-number: #fab387
  • --syn-punct: #9399b2
  • --syn-string: #a6e3a1
  • --syn-type: #f9e2af
  • --text: #cdd6f4
  • --text-muted: #a6adc8
  • --warning: #f9e2af
  • --radius-lg: 16px
  • --radius-md: 12px
  • --radius-pill: 999px
  • --radius-sm: 8px
  • --radius-xl: 24px
  • --space-1: 4px
  • --space-12: 48px
  • --space-16: 64px
  • --space-2: 8px
  • --space-3: 12px
  • --space-4: 16px
  • --space-6: 24px
  • --space-8: 32px
  • --target-row: 40px
  • --target-touch: 44px
  • --text-2xl: 32px
  • --text-lg: 20px
  • --text-md: 16px
  • --text-sm: 14px
  • --text-xl: 24px
  • --text-xs: 12px
  • --width-phone: 390px
  • --width-right-card: 420px
  • --width-sidebar: 240px
  • Modes: Dark, Light

3. Structured Layout Hierarchy

  • Explorer / Large vault (#60, frame): size=1440x900 (h:fixed, v:fixed, in-flow) | flex=row gap=8px pad=[8,8,8,8] | fill=var(--canvas)
    • Sidebar (#61, frame): size=296x884 (h:fixed, v:fill, in-flow) | flex=column gap=8px pad=[16,12,16,12] | fill=var(--bg)
      • Vault Header (#62, frame): size=272x19.36 (h:fill, v:hug, in-flow) | flex=row gap=8px pad=[0,4,0,4]
        • Vault Switcher (#63, frame): size=240x19.36 (h:fill, v:hug, in-flow) | flex=row gap=8px pad=[0,0,0,0]
          • Vault Name (#64, text): size=71.05x19.36 (h:fixed, v:fixed, in-flow) | fill=var(--text) | text="big-vault"
          • Icon / lucide:chevrons-up-down (#65, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#66, vector): size=6.67x3.33 (h:fixed, v:fixed, absolute)
            • Path (#67, vector): size=6.67x3.33 (h:fixed, v:fixed, absolute)
        • Icon / lucide:settings (#68, frame): size=16x16 (h:fixed, v:fixed, in-flow)
          • Path (#69, vector): size=11.87x13.31 (h:fixed, v:fixed, absolute)
          • Path (#70, vector): size=4x4 (h:fixed, v:fixed, absolute)
      • Search (#71, frame): size=272x36 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[8,12,8,12] | fill=var(--surface-2)
        • Icon / lucide:search (#72, frame): size=16x16 (h:fixed, v:fixed, in-flow)
          • Path (#73, vector): size=2.89x2.89 (h:fixed, v:fixed, absolute)
          • Path (#74, vector): size=10.67x10.67 (h:fixed, v:fixed, absolute)
        • Placeholder (#75, text): size=177.94x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text-muted) | text="Search notes"
        • Hint (#76, text): size=38.06x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="Cmd K"
      • Explorer Toolbar (#77, frame): size=272x32 (h:fill, v:hug, in-flow) | flex=row gap=4px pad=[0,0,0,0]
        • Filter (#78, frame): size=164x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[4,8,4,8]
          • Icon / lucide:list-filter (#79, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#80, vector): size=13.33x0 (h:fixed, v:fixed, absolute)
            • Path (#81, vector): size=8x0 (h:fixed, v:fixed, absolute)
            • Path (#82, vector): size=4x0 (h:fixed, v:fixed, absolute)
          • Placeholder (#83, text): size=64.51x16.94 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="Filter files"
        • Action / Collapse all (#84, frame): size=32x32 (h:fixed, v:fixed, in-flow) | flex=row gap=0px pad=[0,0,0,0]
          • Icon / lucide:chevrons-down-up (#85, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#86, vector): size=6.67x3.33 (h:fixed, v:fixed, absolute)
            • Path (#87, vector): size=6.67x3.33 (h:fixed, v:fixed, absolute)
        • Action / Reveal active (on) (#88, frame): size=32x32 (h:fixed, v:fixed, in-flow) | flex=row gap=0px pad=[0,0,0,0] | fill=var(--surface-2)
          • Icon / lucide:locate-fixed (#89, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#90, vector): size=2x0 (h:fixed, v:fixed, absolute)
            • Path (#91, vector): size=2x0 (h:fixed, v:fixed, absolute)
            • Path (#92, vector): size=0x2 (h:fixed, v:fixed, absolute)
            • Path (#93, vector): size=0x2 (h:fixed, v:fixed, absolute)
            • Path (#94, vector): size=9.33x9.33 (h:fixed, v:fixed, absolute)
            • Path (#95, vector): size=4x4 (h:fixed, v:fixed, absolute)
        • Action / Pinned (#96, frame): size=32x32 (h:fixed, v:fixed, in-flow) | flex=row gap=0px pad=[0,0,0,0]
          • Icon / lucide:pin (#97, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#98, vector): size=0x3.33 (h:fixed, v:fixed, absolute)
            • Path (#99, vector): size=9.33x10 (h:fixed, v:fixed, absolute)
      • Pinned Folders (#100, frame): size=272x94.52 (h:fill, v:hug, in-flow) | flex=column gap=4px pad=[8,8,8,8] | fill=var(--surface)
        • Section Label (#101, text): size=256x14.52 (h:fill, v:fixed, in-flow) | fill=var(--text-muted) | text="PINNED"
        • Pinned / f12 (#102, frame): size=256x28 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,0,0,0]
          • Icon / lucide:folder (#103, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#104, vector): size=13.33x11.33 (h:fixed, v:fixed, absolute)
          • f12 / sub3 (#105, text): size=232x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="f12 / sub3"
        • Pinned / f3 (#106, frame): size=256x28 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,0,0,0]
          • Icon / lucide:folder (#107, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#108, vector): size=13.33x11.33 (h:fixed, v:fixed, absolute)
          • f3 (#109, text): size=232x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="f3"
      • Sticky Breadcrumb (#110, frame): size=272x28 (h:fill, v:fixed, in-flow) | flex=row gap=4px pad=[4,8,4,8] | fill=var(--surface-2)
        • Icon / lucide:corner-down-right (#111, frame): size=16x16 (h:fixed, v:fixed, in-flow)
          • Path (#112, vector): size=3.33x6.67 (h:fixed, v:fixed, absolute)
          • Path (#113, vector): size=10.67x7.33 (h:fixed, v:fixed, absolute)
        • f12 (#114, text): size=17.51x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="f12"
        • Icon / lucide:chevron-right (#115, frame): size=16x16 (h:fixed, v:fixed, in-flow)
          • Path (#116, vector): size=4x8 (h:fixed, v:fixed, absolute)
        • sub3 (#117, text): size=29.5x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text) | text="sub3"
      • Tree Viewport (#118, frame): size=272x504.14 (h:fill, v:fill, in-flow) | flex=row gap=4px pad=[0,0,0,0]
        • Rows (#119, frame): size=260x504.14 (h:fill, v:fill, in-flow) | flex=column gap=0px pad=[0,0,0,0]
          • Row / Folder f12 (#120, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,8]
            • Icon / lucide:chevron-down (#121, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#122, vector): size=8x4 (h:fixed, v:fixed, absolute)
            • Icon / lucide:folder-open (#123, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#124, vector): size=13.31x11.33 (h:fixed, v:fixed, absolute)
            • f12 (#125, text): size=165.54x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="f12"
            • Count Badge (#126, text): size=22.46x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="200"
          • Row / Folder sub3 (#127, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,32]
            • Icon / lucide:chevron-down (#128, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#129, vector): size=8x4 (h:fixed, v:fixed, absolute)
            • Icon / lucide:folder-open (#130, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#131, vector): size=13.31x11.33 (h:fixed, v:fixed, absolute)
            • sub3 (#132, text): size=148.68x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="sub3"
            • Count Badge (#133, text): size=15.32x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="40"
          • Row / Note a (#134, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,68]
            • Icon / lucide:file-text (#135, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#136, vector): size=10.67x13.33 (h:fixed, v:fixed, absolute)
              • Path (#137, vector): size=4x4 (h:fixed, v:fixed, absolute)
              • Path (#138, vector): size=1.33x0 (h:fixed, v:fixed, absolute)
              • Path (#139, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
              • Path (#140, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
            • note-2381 (#141, text): size=67.39x16.94 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="note-2381"
          • Row / Note current (#142, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,68] | fill=var(--surface-2)
            • Icon / lucide:file-text (#143, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#144, vector): size=10.67x13.33 (h:fixed, v:fixed, absolute)
              • Path (#145, vector): size=4x4 (h:fixed, v:fixed, absolute)
              • Path (#146, vector): size=1.33x0 (h:fixed, v:fixed, absolute)
              • Path (#147, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
              • Path (#148, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
            • note-2382 (#149, text): size=73.1x16.94 (h:fixed, v:fixed, in-flow) | fill=var(--text) | text="note-2382"
          • Row / Note b (#150, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,68]
            • Icon / lucide:file-text (#151, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#152, vector): size=10.67x13.33 (h:fixed, v:fixed, absolute)
              • Path (#153, vector): size=4x4 (h:fixed, v:fixed, absolute)
              • Path (#154, vector): size=1.33x0 (h:fixed, v:fixed, absolute)
              • Path (#155, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
              • Path (#156, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
            • note-2383 (#157, text): size=70.34x16.94 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="note-2383"
          • Row / Note c (#158, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,68]
            • Icon / lucide:file-text (#159, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#160, vector): size=10.67x13.33 (h:fixed, v:fixed, absolute)
              • Path (#161, vector): size=4x4 (h:fixed, v:fixed, absolute)
              • Path (#162, vector): size=1.33x0 (h:fixed, v:fixed, absolute)
              • Path (#163, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
              • Path (#164, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
            • note-2384 (#165, text): size=70.74x16.94 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="note-2384"
          • Row / Folder sub4 (collapsed) (#166, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,32]
            • Icon / lucide:chevron-right (#167, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#168, vector): size=4x8 (h:fixed, v:fixed, absolute)
            • Icon / lucide:folder (#169, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#170, vector): size=13.33x11.33 (h:fixed, v:fixed, absolute)
            • sub4 (#171, text): size=148.68x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="sub4"
            • Count Badge (#172, text): size=15.32x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="40"
          • Row / Folder sub5 (collapsed) (#173, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,32]
            • Icon / lucide:chevron-right (#174, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#175, vector): size=4x8 (h:fixed, v:fixed, absolute)
            • Icon / lucide:folder (#176, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#177, vector): size=13.33x11.33 (h:fixed, v:fixed, absolute)
            • sub5 (#178, text): size=148.68x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="sub5"
            • Count Badge (#179, text): size=15.32x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="40"
          • Row / Folder f13 (collapsed) (#180, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,8]
            • Icon / lucide:chevron-right (#181, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#182, vector): size=4x8 (h:fixed, v:fixed, absolute)
            • Icon / lucide:folder (#183, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#184, vector): size=13.33x11.33 (h:fixed, v:fixed, absolute)
            • f13 (#185, text): size=165.54x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="f13"
            • Count Badge (#186, text): size=22.46x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="200"
          • Row / Folder f14 (collapsed) (#187, frame): size=260x32 (h:fill, v:fixed, in-flow) | flex=row gap=8px pad=[0,8,0,8]
            • Icon / lucide:chevron-right (#188, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#189, vector): size=4x8 (h:fixed, v:fixed, absolute)
            • Icon / lucide:folder (#190, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#191, vector): size=13.33x11.33 (h:fixed, v:fixed, absolute)
            • f14 (#192, text): size=165.54x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="f14"
            • Count Badge (#193, text): size=22.46x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="200"
        • Scrollbar Track (#194, frame): size=8x504.14 (h:fixed, v:fill, in-flow) | flex=column gap=0px pad=[0,0,0,0] | fill=var(--surface)
          • Scrollbar Thumb (#195, frame): size=8x48 (h:fixed, v:fixed, in-flow) | flex=column gap=0px pad=[0,0,0,0] | fill=var(--surface-2)
      • Index Status (#196, frame): size=272x89.98 (h:fill, v:hug, in-flow) | flex=column gap=8px pad=[12,12,12,12] | fill=var(--surface)
        • Index Status Header (#197, frame): size=248x16.94 (h:fill, v:hug, in-flow) | flex=row gap=8px pad=[0,0,0,0]
          • Icon / lucide:loader (#198, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#199, vector): size=0x2.67 (h:fixed, v:fixed, absolute)
            • Path (#200, vector): size=1.93x1.93 (h:fixed, v:fixed, absolute)
            • Path (#201, vector): size=2.67x0 (h:fixed, v:fixed, absolute)
            • Path (#202, vector): size=1.93x1.93 (h:fixed, v:fixed, absolute)
            • Path (#203, vector): size=0x2.67 (h:fixed, v:fixed, absolute)
            • Path (#204, vector): size=1.93x1.93 (h:fixed, v:fixed, absolute)
            • Path (#205, vector): size=2.67x0 (h:fixed, v:fixed, absolute)
            • Path (#206, vector): size=1.93x1.93 (h:fixed, v:fixed, absolute)
          • Indexing 1,240 / 5,000 (#207, text): size=200x16.94 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="Indexing 1,240 / 5,000"
          • Icon / lucide:pause (#208, frame): size=16x16 (h:fixed, v:fixed, in-flow)
            • Path (#209, vector): size=3.33x12 (h:fixed, v:fixed, absolute)
            • Path (#210, vector): size=3.33x12 (h:fixed, v:fixed, absolute)
        • Progress Track (#211, frame): size=248x4 (h:fill, v:fixed, in-flow) | flex=row gap=0px pad=[0,0,0,0] | fill=var(--surface-2)
          • Progress Fill (#212, frame): size=72x4 (h:fixed, v:fixed, in-flow) | flex=column gap=0px pad=[0,0,0,0] | fill=var(--accent)
        • Search and file names work now (#213, text): size=248x29.04 (h:fill, v:fixed, in-flow) | fill=var(--text-muted) | text="Search and file names work now. Backlinks fill in as notes are read."
    • Workspace (#214, frame): size=1120x884 (h:fill, v:fill, in-flow) | flex=row gap=8px pad=[0,0,0,0]
      • Note Card (#215, frame): size=792x884 (h:fill, v:fill, in-flow) | flex=column gap=24px pad=[24,32,24,32] | fill=var(--bg)
        • Tab Bar (#216, frame): size=728x36 (h:fill, v:hug, in-flow) | flex=row gap=8px pad=[0,0,0,0]
          • Item / Open note (#217, frame): size=118.23x36 (h:hug, v:fixed, in-flow) | flex=row gap=8px pad=[8,12,8,12] | fill=var(--surface-2)
            • Icon / lucide:file-text (#218, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#219, vector): size=10.67x13.33 (h:fixed, v:fixed, absolute)
              • Path (#220, vector): size=4x4 (h:fixed, v:fixed, absolute)
              • Path (#221, vector): size=1.33x0 (h:fixed, v:fixed, absolute)
              • Path (#222, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
              • Path (#223, vector): size=5.33x0 (h:fixed, v:fixed, absolute)
            • note-2382 (#224, text): size=70.23x16.94 (h:fixed, v:fixed, in-flow) | fill=var(--text) | text="note-2382"
          • Indexing Chip (#225, frame): size=116.87x24 (h:hug, v:fixed, in-flow) | flex=row gap=4px pad=[4,8,4,8] | fill=var(--surface)
            • Icon / lucide:loader (#226, frame): size=16x16 (h:fixed, v:fixed, in-flow)
              • Path (#227, vector): size=0x2.67 (h:fixed, v:fixed, absolute)
              • Path (#228, vector): size=1.93x1.93 (h:fixed, v:fixed, absolute)
              • Path (#229, vector): size=2.67x0 (h:fixed, v:fixed, absolute)
              • Path (#230, vector): size=1.93x1.93 (h:fixed, v:fixed, absolute)
              • Path (#231, vector): size=0x2.67 (h:fixed, v:fixed, absolute)
              • Path (#232, vector): size=1.93x1.93 (h:fixed, v:fixed, absolute)
              • Path (#233, vector): size=2.67x0 (h:fixed, v:fixed, absolute)
              • Path (#234, vector): size=1.93x1.93 (h:fixed, v:fixed, absolute)
            • Indexing 25% (#235, text): size=80.87x14.52 (h:fixed, v:fixed, in-flow) | fill=var(--text-muted) | text="Indexing 25%"
        • Title (#236, text): size=728x38.72 (h:fill, v:fixed, in-flow) | fill=var(--text) | text="note-2382"
        • Body (#237, text): size=560x48 (h:fixed, v:fixed, in-flow) | fill=var(--text) | text="Opened instantly: this note was read first because it is the one on screen. The rest of the vault is read in the background, newest notes first."
      • Right Card (#238, frame): size=320x884 (h:fixed, v:fill, in-flow) | flex=column gap=16px pad=[16,16,16,16] | fill=var(--bg)
        • Section Label (#239, text): size=288x14.52 (h:fill, v:fixed, in-flow) | fill=var(--text-muted) | text="BACKLINKS"
        • Skeleton / Row 1 (#240, frame): size=288x36 (h:fill, v:hug, in-flow) | flex=column gap=8px pad=[0,0,0,0]
          • Frame (#241, frame): size=200x16 (h:fixed, v:fixed, in-flow) | flex=column gap=0px pad=[0,0,0,0] | fill=var(--surface-2)
          • Frame (#242, frame): size=260x12 (h:fixed, v:fixed, in-flow) | flex=column gap=0px pad=[0,0,0,0] | fill=var(--surface)
        • Skeleton / Row 2 (#243, frame): size=288x36 (h:fill, v:hug, in-flow) | flex=column gap=8px pad=[0,0,0,0]
          • Frame (#244, frame): size=160x16 (h:fixed, v:fixed, in-flow) | flex=column gap=0px pad=[0,0,0,0] | fill=var(--surface-2)
          • Frame (#245, frame): size=240x12 (h:fixed, v:fixed, in-flow) | flex=column gap=0px pad=[0,0,0,0] | fill=var(--surface)
        • Skeleton Note (#246, text): size=288x29.04 (h:fill, v:fixed, in-flow) | fill=var(--text-muted) | text="Still reading 3,760 notes. This list updates by itself."

4. Reference Implementation (egui)

pub mod tokens {
    pub const ACCENT: egui::Color32 = egui::Color32::from_rgba_unmultiplied(203, 166, 247, 255);
    pub const BG: egui::Color32 = egui::Color32::from_rgba_unmultiplied(30, 30, 46, 255);
    pub const BORDER: egui::Color32 = egui::Color32::from_rgba_unmultiplied(69, 71, 90, 255);
    pub const CALLOUT_ABSTRACT: egui::Color32 = egui::Color32::from_rgba_unmultiplied(148, 226, 213, 255);
    pub const CALLOUT_BUG: egui::Color32 = egui::Color32::from_rgba_unmultiplied(243, 139, 168, 255);
    pub const CALLOUT_DANGER: egui::Color32 = egui::Color32::from_rgba_unmultiplied(243, 139, 168, 255);
    pub const CALLOUT_EXAMPLE: egui::Color32 = egui::Color32::from_rgba_unmultiplied(203, 166, 247, 255);
    pub const CALLOUT_FAILURE: egui::Color32 = egui::Color32::from_rgba_unmultiplied(243, 139, 168, 255);
    pub const CALLOUT_INFO: egui::Color32 = egui::Color32::from_rgba_unmultiplied(116, 199, 236, 255);
    pub const CALLOUT_NOTE: egui::Color32 = egui::Color32::from_rgba_unmultiplied(137, 180, 250, 255);
    pub const CALLOUT_QUESTION: egui::Color32 = egui::Color32::from_rgba_unmultiplied(249, 226, 175, 255);
    pub const CALLOUT_QUOTE: egui::Color32 = egui::Color32::from_rgba_unmultiplied(166, 173, 200, 255);
    pub const CALLOUT_SUCCESS: egui::Color32 = egui::Color32::from_rgba_unmultiplied(166, 227, 161, 255);
    pub const CALLOUT_TIP: egui::Color32 = egui::Color32::from_rgba_unmultiplied(148, 226, 213, 255);
    pub const CALLOUT_TODO: egui::Color32 = egui::Color32::from_rgba_unmultiplied(137, 180, 250, 255);
    pub const CALLOUT_WARNING: egui::Color32 = egui::Color32::from_rgba_unmultiplied(250, 179, 135, 255);
    pub const CANVAS: egui::Color32 = egui::Color32::from_rgba_unmultiplied(17, 17, 27, 255);
    pub const DANGER: egui::Color32 = egui::Color32::from_rgba_unmultiplied(243, 139, 168, 255);
    pub const HEAT_1: egui::Color32 = egui::Color32::from_rgba_unmultiplied(35, 35, 54, 255);
    pub const HEAT_2: egui::Color32 = egui::Color32::from_rgba_unmultiplied(45, 45, 71, 255);
    pub const HEAT_3: egui::Color32 = egui::Color32::from_rgba_unmultiplied(61, 61, 99, 255);
    pub const HIGHLIGHT: egui::Color32 = egui::Color32::from_rgba_unmultiplied(74, 74, 69, 255);
    pub const LINK: egui::Color32 = egui::Color32::from_rgba_unmultiplied(137, 180, 250, 255);
    pub const LINK_UNRESOLVED: egui::Color32 = egui::Color32::from_rgba_unmultiplied(243, 139, 168, 255);
    pub const ON_ACCENT: egui::Color32 = egui::Color32::from_rgba_unmultiplied(17, 17, 27, 255);
    pub const SUCCESS: egui::Color32 = egui::Color32::from_rgba_unmultiplied(166, 227, 161, 255);
    pub const SURFACE: egui::Color32 = egui::Color32::from_rgba_unmultiplied(24, 24, 37, 255);
    pub const SURFACE_2: egui::Color32 = egui::Color32::from_rgba_unmultiplied(49, 50, 68, 255);
    pub const SYN_COMMENT: egui::Color32 = egui::Color32::from_rgba_unmultiplied(138, 143, 168, 255);
    pub const SYN_FUNCTION: egui::Color32 = egui::Color32::from_rgba_unmultiplied(137, 180, 250, 255);
    pub const SYN_KEY: egui::Color32 = egui::Color32::from_rgba_unmultiplied(116, 199, 236, 255);
    pub const SYN_KEYWORD: egui::Color32 = egui::Color32::from_rgba_unmultiplied(203, 166, 247, 255);
    pub const SYN_NUMBER: egui::Color32 = egui::Color32::from_rgba_unmultiplied(250, 179, 135, 255);
    pub const SYN_PUNCT: egui::Color32 = egui::Color32::from_rgba_unmultiplied(147, 153, 178, 255);
    pub const SYN_STRING: egui::Color32 = egui::Color32::from_rgba_unmultiplied(166, 227, 161, 255);
    pub const SYN_TYPE: egui::Color32 = egui::Color32::from_rgba_unmultiplied(249, 226, 175, 255);
    pub const TEXT: egui::Color32 = egui::Color32::from_rgba_unmultiplied(205, 214, 244, 255);
    pub const TEXT_MUTED: egui::Color32 = egui::Color32::from_rgba_unmultiplied(166, 173, 200, 255);
    pub const WARNING: egui::Color32 = egui::Color32::from_rgba_unmultiplied(249, 226, 175, 255);
    pub const RADIUS_LG: f32 = 16.0;
    pub const RADIUS_MD: f32 = 12.0;
    pub const RADIUS_PILL: f32 = 999.0;
    pub const RADIUS_SM: f32 = 8.0;
    pub const RADIUS_XL: f32 = 24.0;
    pub const SPACE_1: f32 = 4.0;
    pub const SPACE_12: f32 = 48.0;
    pub const SPACE_16: f32 = 64.0;
    pub const SPACE_2: f32 = 8.0;
    pub const SPACE_3: f32 = 12.0;
    pub const SPACE_4: f32 = 16.0;
    pub const SPACE_6: f32 = 24.0;
    pub const SPACE_8: f32 = 32.0;
    pub const TARGET_ROW: f32 = 40.0;
    pub const TARGET_TOUCH: f32 = 44.0;
    pub const TEXT_2XL: f32 = 32.0;
    pub const TEXT_LG: f32 = 20.0;
    pub const TEXT_MD: f32 = 16.0;
    pub const TEXT_SM: f32 = 14.0;
    pub const TEXT_XL: f32 = 24.0;
    pub const TEXT_XS: f32 = 12.0;
    pub const WIDTH_PHONE: f32 = 390.0;
    pub const WIDTH_RIGHT_CARD: f32 = 420.0;
    pub const WIDTH_SIDEBAR: f32 = 240.0;
}

pub fn render(ui: &mut egui::Ui) {
    egui::Frame::new().fill(tokens::CANVAS).inner_margin(egui::Margin { top: 8, right: 8, bottom: 8, left: 8 }).show(ui, |ui| {
        ui.set_min_width(1440.0 as f32);
        ui.set_min_height(900.0 as f32);
        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
        ui.horizontal(|ui| {
            egui::Frame::new().fill(tokens::BG).corner_radius(16.0 as f32).inner_margin(egui::Margin { top: 16, right: 12, bottom: 16, left: 12 }).show(ui, |ui| {
                ui.set_min_width(296.0 as f32);
                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                ui.vertical(|ui| {
                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 4, bottom: 0, left: 4 }).show(ui, |ui| {
                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                        ui.horizontal(|ui| {
                            egui::Frame::new().show(ui, |ui| {
                                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                ui.horizontal(|ui| {
                                    ui.label(egui::RichText::new("big-vault").size(16.0 as f32).color(tokens::TEXT).strong());
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(6.67 as f32, 3.33 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(6.67 as f32, 3.33 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                });
                            });
                            egui::Frame::new().show(ui, |ui| {
                                ui.set_min_width(16.0 as f32);
                                ui.set_min_height(16.0 as f32);
                                let (rect, _) = ui.allocate_exact_size(egui::vec2(11.87 as f32, 13.31 as f32), egui::Sense::hover());
                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 4.0 as f32), egui::Sense::hover());
                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                            });
                        });
                    });
                    egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(8.0 as f32).inner_margin(egui::Margin { top: 8, right: 12, bottom: 8, left: 12 }).show(ui, |ui| {
                        ui.set_min_height(36.0 as f32);
                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                        ui.horizontal(|ui| {
                            egui::Frame::new().show(ui, |ui| {
                                ui.set_min_width(16.0 as f32);
                                ui.set_min_height(16.0 as f32);
                                let (rect, _) = ui.allocate_exact_size(egui::vec2(2.89 as f32, 2.89 as f32), egui::Sense::hover());
                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                let (rect, _) = ui.allocate_exact_size(egui::vec2(10.67 as f32, 10.67 as f32), egui::Sense::hover());
                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                            });
                            ui.label(egui::RichText::new("Search notes").size(14.0 as f32).color(tokens::TEXT_MUTED));
                            ui.label(egui::RichText::new("Cmd K").size(12.0 as f32).color(tokens::TEXT_MUTED));
                        });
                    });
                    egui::Frame::new().show(ui, |ui| {
                        ui.spacing_mut().item_spacing = egui::vec2(4.0 as f32, 4.0 as f32);
                        ui.horizontal(|ui| {
                            egui::Frame::new().corner_radius(8.0 as f32).stroke(egui::Stroke::new(1.0 as f32, egui::Color32::from_rgba_unmultiplied(69, 71, 90, 255))).inner_margin(egui::Margin { top: 4, right: 8, bottom: 4, left: 8 }).show(ui, |ui| {
                                ui.set_min_height(32.0 as f32);
                                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(13.33 as f32, 0.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(8.0 as f32, 0.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 0.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                    ui.label(egui::RichText::new("Filter files").size(14.0 as f32).color(tokens::TEXT_MUTED));
                                });
                            });
                            egui::Frame::new().corner_radius(8.0 as f32).show(ui, |ui| {
                                ui.set_min_width(32.0 as f32);
                                ui.set_min_height(32.0 as f32);
                                ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(6.67 as f32, 3.33 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(6.67 as f32, 3.33 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                });
                            });
                            egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(8.0 as f32).show(ui, |ui| {
                                ui.set_min_width(32.0 as f32);
                                ui.set_min_height(32.0 as f32);
                                ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(2.0 as f32, 0.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(2.0 as f32, 0.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(0.0 as f32, 2.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(0.0 as f32, 2.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(9.33 as f32, 9.33 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 4.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                });
                            });
                            egui::Frame::new().corner_radius(8.0 as f32).show(ui, |ui| {
                                ui.set_min_width(32.0 as f32);
                                ui.set_min_height(32.0 as f32);
                                ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(0.0 as f32, 3.33 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(9.33 as f32, 10.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                });
                            });
                        });
                    });
                    egui::Frame::new().fill(tokens::SURFACE).corner_radius(8.0 as f32).inner_margin(egui::Margin { top: 8, right: 8, bottom: 8, left: 8 }).show(ui, |ui| {
                        ui.spacing_mut().item_spacing = egui::vec2(4.0 as f32, 4.0 as f32);
                        ui.vertical(|ui| {
                            ui.label(egui::RichText::new("PINNED").size(12.0 as f32).color(tokens::TEXT_MUTED).strong());
                            egui::Frame::new().show(ui, |ui| {
                                ui.set_min_height(28.0 as f32);
                                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(13.33 as f32, 11.33 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                    ui.label(egui::RichText::new("f12 / sub3").size(14.0 as f32).color(tokens::TEXT));
                                });
                            });
                            egui::Frame::new().show(ui, |ui| {
                                ui.set_min_height(28.0 as f32);
                                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(13.33 as f32, 11.33 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                    ui.label(egui::RichText::new("f3").size(14.0 as f32).color(tokens::TEXT));
                                });
                            });
                        });
                    });
                    egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(8.0 as f32).inner_margin(egui::Margin { top: 4, right: 8, bottom: 4, left: 8 }).show(ui, |ui| {
                        ui.set_min_height(28.0 as f32);
                        ui.spacing_mut().item_spacing = egui::vec2(4.0 as f32, 4.0 as f32);
                        ui.horizontal(|ui| {
                            egui::Frame::new().show(ui, |ui| {
                                ui.set_min_width(16.0 as f32);
                                ui.set_min_height(16.0 as f32);
                                let (rect, _) = ui.allocate_exact_size(egui::vec2(3.33 as f32, 6.67 as f32), egui::Sense::hover());
                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                let (rect, _) = ui.allocate_exact_size(egui::vec2(10.67 as f32, 7.33 as f32), egui::Sense::hover());
                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                            });
                            ui.label(egui::RichText::new("f12").size(12.0 as f32).color(tokens::TEXT_MUTED).strong());
                            egui::Frame::new().show(ui, |ui| {
                                ui.set_min_width(16.0 as f32);
                                ui.set_min_height(16.0 as f32);
                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 8.0 as f32), egui::Sense::hover());
                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                            });
                            ui.label(egui::RichText::new("sub3").size(12.0 as f32).color(tokens::TEXT).strong());
                        });
                    });
                    egui::Frame::new().show(ui, |ui| {
                        ui.spacing_mut().item_spacing = egui::vec2(4.0 as f32, 4.0 as f32);
                        ui.horizontal(|ui| {
                            egui::Frame::new().show(ui, |ui| {
                                ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                ui.vertical(|ui| {
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 8 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(8.0 as f32, 4.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(13.31 as f32, 11.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("f12").size(14.0 as f32).color(tokens::TEXT));
                                            ui.label(egui::RichText::new("200").size(12.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 32 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(8.0 as f32, 4.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(13.31 as f32, 11.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("sub3").size(14.0 as f32).color(tokens::TEXT));
                                            ui.label(egui::RichText::new("40").size(12.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 68 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(10.67 as f32, 13.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 4.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("note-2381").size(14.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                    egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(8.0 as f32).inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 68 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(10.67 as f32, 13.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 4.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("note-2382").size(14.0 as f32).color(tokens::TEXT).strong());
                                        });
                                    });
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 68 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(10.67 as f32, 13.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 4.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("note-2383").size(14.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 68 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(10.67 as f32, 13.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 4.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("note-2384").size(14.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 32 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 8.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(13.33 as f32, 11.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("sub4").size(14.0 as f32).color(tokens::TEXT));
                                            ui.label(egui::RichText::new("40").size(12.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 32 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 8.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(13.33 as f32, 11.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("sub5").size(14.0 as f32).color(tokens::TEXT));
                                            ui.label(egui::RichText::new("40").size(12.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 8 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 8.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(13.33 as f32, 11.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("f13").size(14.0 as f32).color(tokens::TEXT));
                                            ui.label(egui::RichText::new("200").size(12.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                    egui::Frame::new().inner_margin(egui::Margin { top: 0, right: 8, bottom: 0, left: 8 }).show(ui, |ui| {
                                        ui.set_min_height(32.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 8.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(13.33 as f32, 11.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("f14").size(14.0 as f32).color(tokens::TEXT));
                                            ui.label(egui::RichText::new("200").size(12.0 as f32).color(tokens::TEXT_MUTED));
                                        });
                                    });
                                });
                            });
                            egui::Frame::new().fill(tokens::SURFACE).corner_radius(999.0 as f32).show(ui, |ui| {
                                ui.set_min_width(8.0 as f32);
                                ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                ui.vertical(|ui| {
                                    egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(999.0 as f32).show(ui, |ui| {
                                        ui.set_min_width(8.0 as f32);
                                        ui.set_min_height(48.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                        ui.vertical(|ui| {
                                        });
                                    });
                                });
                            });
                        });
                    });
                    egui::Frame::new().fill(tokens::SURFACE).corner_radius(12.0 as f32).inner_margin(egui::Margin { top: 12, right: 12, bottom: 12, left: 12 }).show(ui, |ui| {
                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                        ui.vertical(|ui| {
                            egui::Frame::new().show(ui, |ui| {
                                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(0.0 as f32, 2.67 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(1.93 as f32, 1.93 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(2.67 as f32, 0.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(1.93 as f32, 1.93 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(0.0 as f32, 2.67 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(1.93 as f32, 1.93 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(2.67 as f32, 0.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(1.93 as f32, 1.93 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                    ui.label(egui::RichText::new("Indexing 1,240 / 5,000").size(14.0 as f32).color(tokens::TEXT).strong());
                                    egui::Frame::new().show(ui, |ui| {
                                        ui.set_min_width(16.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(3.33 as f32, 12.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                        let (rect, _) = ui.allocate_exact_size(egui::vec2(3.33 as f32, 12.0 as f32), egui::Sense::hover());
                                        ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                    });
                                });
                            });
                            egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(999.0 as f32).show(ui, |ui| {
                                ui.set_min_height(4.0 as f32);
                                ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().fill(tokens::ACCENT).corner_radius(999.0 as f32).show(ui, |ui| {
                                        ui.set_min_width(72.0 as f32);
                                        ui.set_min_height(4.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                        ui.vertical(|ui| {
                                        });
                                    });
                                });
                            });
                            ui.label(egui::RichText::new("Search and file names work now. Backlinks fill in as notes are read.").size(12.0 as f32).color(tokens::TEXT_MUTED));
                        });
                    });
                });
            });
            egui::Frame::new().show(ui, |ui| {
                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                ui.horizontal(|ui| {
                    egui::Frame::new().fill(tokens::BG).corner_radius(16.0 as f32).inner_margin(egui::Margin { top: 24, right: 32, bottom: 24, left: 32 }).show(ui, |ui| {
                        ui.spacing_mut().item_spacing = egui::vec2(24.0 as f32, 24.0 as f32);
                        ui.vertical(|ui| {
                            egui::Frame::new().show(ui, |ui| {
                                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                ui.horizontal(|ui| {
                                    egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(8.0 as f32).inner_margin(egui::Margin { top: 8, right: 12, bottom: 8, left: 12 }).show(ui, |ui| {
                                        ui.set_min_height(36.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(10.67 as f32, 13.33 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(4.0 as f32, 4.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(5.33 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("note-2382").size(14.0 as f32).color(tokens::TEXT));
                                        });
                                    });
                                    egui::Frame::new().fill(tokens::SURFACE).corner_radius(999.0 as f32).inner_margin(egui::Margin { top: 4, right: 8, bottom: 4, left: 8 }).show(ui, |ui| {
                                        ui.set_min_height(24.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(4.0 as f32, 4.0 as f32);
                                        ui.horizontal(|ui| {
                                            egui::Frame::new().show(ui, |ui| {
                                                ui.set_min_width(16.0 as f32);
                                                ui.set_min_height(16.0 as f32);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(0.0 as f32, 2.67 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.93 as f32, 1.93 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(2.67 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.93 as f32, 1.93 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(0.0 as f32, 2.67 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.93 as f32, 1.93 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(2.67 as f32, 0.0 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                                let (rect, _) = ui.allocate_exact_size(egui::vec2(1.93 as f32, 1.93 as f32), egui::Sense::hover());
                                                ui.painter().rect_filled(rect, 0.0 as f32, egui::Color32::TRANSPARENT);
                                            });
                                            ui.label(egui::RichText::new("Indexing 25%").size(12.0 as f32).color(tokens::TEXT_MUTED).strong());
                                        });
                                    });
                                });
                            });
                            ui.label(egui::RichText::new("note-2382").size(32.0 as f32).color(tokens::TEXT).strong());
                            ui.label(egui::RichText::new("Opened instantly: this note was read first because it is the one on screen. The rest of the vault is read in the background, newest notes first.").size(16.0 as f32).color(tokens::TEXT));
                        });
                    });
                    egui::Frame::new().fill(tokens::BG).corner_radius(16.0 as f32).inner_margin(egui::Margin { top: 16, right: 16, bottom: 16, left: 16 }).show(ui, |ui| {
                        ui.set_min_width(320.0 as f32);
                        ui.spacing_mut().item_spacing = egui::vec2(16.0 as f32, 16.0 as f32);
                        ui.vertical(|ui| {
                            ui.label(egui::RichText::new("BACKLINKS").size(12.0 as f32).color(tokens::TEXT_MUTED).strong());
                            egui::Frame::new().show(ui, |ui| {
                                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                ui.vertical(|ui| {
                                    egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(4.0 as f32).show(ui, |ui| {
                                        ui.set_min_width(200.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                        ui.vertical(|ui| {
                                        });
                                    });
                                    egui::Frame::new().fill(tokens::SURFACE).corner_radius(4.0 as f32).show(ui, |ui| {
                                        ui.set_min_width(260.0 as f32);
                                        ui.set_min_height(12.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                        ui.vertical(|ui| {
                                        });
                                    });
                                });
                            });
                            egui::Frame::new().show(ui, |ui| {
                                ui.spacing_mut().item_spacing = egui::vec2(8.0 as f32, 8.0 as f32);
                                ui.vertical(|ui| {
                                    egui::Frame::new().fill(tokens::SURFACE_2).corner_radius(4.0 as f32).show(ui, |ui| {
                                        ui.set_min_width(160.0 as f32);
                                        ui.set_min_height(16.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                        ui.vertical(|ui| {
                                        });
                                    });
                                    egui::Frame::new().fill(tokens::SURFACE).corner_radius(4.0 as f32).show(ui, |ui| {
                                        ui.set_min_width(240.0 as f32);
                                        ui.set_min_height(12.0 as f32);
                                        ui.spacing_mut().item_spacing = egui::vec2(0.0 as f32, 0.0 as f32);
                                        ui.vertical(|ui| {
                                        });
                                    });
                                });
                            });
                            ui.label(egui::RichText::new("Still reading 3,760 notes. This list updates by itself.").size(12.0 as f32).color(tokens::TEXT_MUTED));
                        });
                    });
                });
            });
        });
    });
}