# createThemeCss (@salmonui/core/server)

> The createThemeCss function of @salmonui/core/server: Deterministic CSS text for one theme scope (both schemes and prefers-contrast overrides).

Canonical: https://salmonui.dev/docs/reference/core/server/createThemeCss

```ts
import { createThemeCss } from '@salmonui/core/server';
```

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

## Reference

Kind: function

```ts
function createThemeCss(theme?: SalmonThemeInput): string;
```

Deterministic CSS text for one theme scope (both schemes and `prefers-contrast` overrides).
