# SalmonThemeInput (@salmonui/core/theme)

> The SalmonThemeInput interface of @salmonui/core/theme.

Canonical: https://salmonui.dev/docs/reference/core/theme/SalmonThemeInput

```ts
import type { SalmonThemeInput } from '@salmonui/core/theme';
```

Also exported from `@salmonui/core/server`.

Entry index: https://salmonui.dev/docs/reference/core/theme (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/core/theme.md).

## Reference

Kind: interface

```ts
interface SalmonThemeInput {
    colors?: {
        primary?: SalmonHexColor;
        success?: SalmonHexColor;
        warning?: SalmonHexColor;
        danger?: SalmonHexColor;
        info?: SalmonHexColor;
    };
    colorScheme?: SalmonColorScheme | 'inherit';
    density?: SalmonDensity;
    fontFamily?: string;
    neutral?: {
        hue?: number;
        chroma?: number;
    };
    surfaces?: {
        sidebar?: SalmonSurfaceColor;
        appBar?: SalmonSurfaceColor;
        tableHeader?: SalmonSurfaceColor;
    };
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `colors` | `colors?: {     primary?: SalmonHexColor;     success?: SalmonHexColor;     warning?: SalmonHexColor;     danger?: SalmonHexColor;     info?: SalmonHexColor; };` | optional |  |
| `colorScheme` | `colorScheme?: SalmonColorScheme \| 'inherit';` | optional | `inherit` follows a `data-salmon-color-scheme` attribute set by the host on an ancestor. |
| `density` | `density?: SalmonDensity;` | optional | Control and row metrics. Unset: inherited from the enclosing scope (`'default'` at the root). |
| `fontFamily` | `fontFamily?: string;` | optional | CSS `font-family` list for `--salmon-font-sans`. Unset: inherited (the system stack at the root). |
| `neutral` | `neutral?: {     hue?: number;     chroma?: number; };` | optional | Tint of the neutral ramp: OKLCH hue in degrees (default: the primary hue) and chroma (clamped to [0, 0.04]). |
| `surfaces` | `surfaces?: {     sidebar?: SalmonSurfaceColor;     appBar?: SalmonSurfaceColor;     tableHeader?: SalmonSurfaceColor; };` | optional | Region surfaces (`[data-salmon-surface]`). Unset: inherited from the enclosing scope. |
