Skip to content

searchcraft-theme

Overview

This web component adds Searchcraft's built-in css theme to your page's tag. It does not render anything visible, its only function is to manage the css styles on the page.

Usage

<!-- index.html -->
<searchcraft-theme theme="light" custom-theme="{}" />

Properties

Property Attribute Description Type Default
customTheme custom-theme The custom theme configuration object. string | undefined undefined
theme theme The name of the theme. string | undefined undefined

Built with StencilJS