Skip to content

components/ThemeThumb

import { … } from 'zidane-ui'ui/src/components/ThemeThumb.tsx

Components#

ThemeThumbComponent#

Renders a theme's palette as a miniature window.

TypeScript
function ThemeThumb(props: ThemeThumbProps): Element
Parameters
NameTypeDescription
propsThemeThumbProps

Component props.

Element
ThemeThumb props
NameTypeDescription
className?string

Extra classes on the thumbnail.

paletteResolvedPalette

The theme's resolved palette (derivePalette).

style?CSSProperties

Inline styles on the root element, merged after the component's own.

ui/src/components/ThemeThumb.tsx:25

Interfaces#

ThemeThumbPropsInterface#

Props for ThemeThumb.

TypeScript
interface ThemeThumbProps
ThemeThumbProps properties
NameTypeDescription
className?string

Extra classes on the thumbnail.

paletteResolvedPalette

The theme's resolved palette (derivePalette).

style?CSSProperties

Inline styles on the root element, merged after the component's own.

ui/src/components/ThemeThumb.tsx:11