---
title: "Try your theme"
description: "Adjust a few CSS tokens in a custom Svelte page."
---

> Documentation Index
> Fetch the complete documentation index at: https://svedocs.pwp.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Try your theme

This page renders a Svelte component registered through `pageComponents` in the Vite plugin. The component reads the current locale and site configuration with `useSvedocsTheme()`.

Color and radius controls update a local preview. Copy the resulting values into `theme.palette.accent` and `theme.radius` in your config.

See [theme customization](/docs/configuration/theme) for the registration code.

Source: https://svedocs.pwp.sh/theme-preview
