---
title: noteStylesheets
description: >-
  Stylesheet URLs for a host note route. Call it in the route's server `load`
  (`+page.server.ts`): it prepares the vault itself, and `hostStylesheets` is
  empty in the browser, so serialized server data must carry the SSR list.
updated_at: '2026-11-12T12:14:58+01:00'
created_at: '2026-10-14T20:56:15+02:00'
symbol:
  kind: function
  name: noteStylesheets
  signatures:
    - 'noteStylesheets(pathname: string): Promise<string[]>'
  parameters:
    - name: pathname
      type: string
  returns:
    type: 'Promise<string[]>'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/ui/src/lib/runtime/note-stylesheets.ts#L8
---

# noteStylesheets
