Skip to content

The open alternative to Salesforce, designed for AI.

1.6 KB
Raw Blame
{/*
 * _____                    _
 *|_   _|_      _____ _ __ | |_ _   _
 *  | | \ \ /\ / / _ \ '_ \| __| | | | Auto-generated file
 *  | |  \ V  V /  __/ | | | |_| |_| | DO NOT EDIT - changes will be overwritten
 *  |_|   \_/\_/ \___|_| |_|\__|\__, | Generated by: npx nx generate:ui twenty-docs
 *                              |___/
 *
 * This file is generated from the documentation data in packages/twenty-ui/generated.
 * To update it, edit the component prop types or design tokens in twenty-ui and run:
 *   npx nx generate:ui twenty-docs
 */}

<ParamField body="applyToRoot" type="boolean" default="true">
  Applies the color-scheme class to the document root. Set false for a scoped wrapper.
</ParamField>

<ParamField body="children" type="ReactNode" required>
  Components that share this theme.
</ParamField>

<ParamField body="className" type="string">
  Class applied to a scoped wrapper; no wrapper is created for className alone.
</ParamField>

<ParamField body="colorScheme" type="&quot;dark&quot; | &quot;light&quot;" required>
  Explicit light or dark palette; load its stylesheet before rendering.
</ParamField>

<ParamField body="overrides" type="ThemeOverrides">
  CSS custom-property overrides. Supplying them creates a scoped wrapper.
</ParamField>

<ParamField body="scale" type="number">
  Root interface scale stored in --t-scale-user. Ignored for scoped providers; application CSS must consume the variable.
</ParamField>

<ParamField body="theme" type="ThemeType | typeof THEME_LIGHT">
  Explicit resolved theme values, bypassing computed-style token resolution.
</ParamField>