View as Markdown

API reference: @salmonui/core/server

ThemeStylePropsinterface

import type { ThemeStyleProps } from '@salmonui/core/server';
interface ThemeStyleProps {
    theme?: SalmonThemeInput;
    nonce?: string;
}
ThemeStyleProps members (2)
NameSignatureDescription
themeoptionaltheme?: SalmonThemeInput;
nonceoptionalnonce?: string;

CSP nonce forwarded to the <style> element.