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

PropertyAttributeDescriptionTypeDefault
customThemecustom-themeThe custom theme configuration object.string | undefinedundefined
themethemeThe name of the theme.string | undefinedundefined

Built with StencilJS