Skip to main content

Function: walkThemeScopeDeclarations()

walkThemeScopeDeclarations(container: Readonly<AtRule_ | Rule_>, onDeclaration: (declaration: Readonly<Declaration>) => void): void

Defined in: _internal/docusaurus-theme-scope.ts:311

Walk only declarations that belong to the same logical theme scope, allowing nested at-rules but intentionally skipping nested rules.

Parametersโ€‹

containerโ€‹

Readonly<AtRule_ | Rule_>

onDeclarationโ€‹

(declaration: Readonly<Declaration>) => void

Returnsโ€‹

void