---
title: folderTheme
description: >-
  The theme that lists a folder's page: the folder note's `theme:`, then its
  ancestors' (`folderNotes`, nearest first), then the primary theme.
updated_at: '2026-10-27T19:43:15+01:00'
created_at: '2026-10-27T19:43:15+01:00'
symbol:
  kind: function
  name: folderTheme
  signatures:
    - >-
      folderTheme(composition:
      [[reference/api/theme-minimal/runtime/Composition|Composition]],
      folderNotes: readonly Page[]):
      [[reference/api/theme-minimal/runtime/ThemeExtension|ThemeExtension]]
  parameters:
    - name: composition
      type: '[[reference/api/theme-minimal/runtime/Composition|Composition]]'
    - name: folderNotes
      type: 'readonly Page[]'
  returns:
    type: '[[reference/api/theme-minimal/runtime/ThemeExtension|ThemeExtension]]'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/themes/minimal/src/lib/select.ts#L76
---

# folderTheme
