View as Markdown

API reference

@salmonui/core/server

9 exported symbols: 1 component, 2 functions, 2 interfaces and 4 types. Each name links its page with the signature, docs and members. Names re-exported from another entry point are listed there, linked below.

import { … } from '@salmonui/core/server';

Components

  • ThemeStyleServer-safe theme stylesheet: no hooks, effects, or browser globals. Renders one React 19 hoistable <style> (data-href="salmonui-theme-<hash>"), which React de…

Functions

  • createThemeCssDeterministic CSS text for one theme scope (both schemes and prefers-contrast overrides).
  • getThemeHashThe data-salmon-theme hash of a theme; equal seeds always produce the same hash.

Interfaces

Re-exported entry points