1. Packages
  2. @twind/with-sveltekit

Packages

@twind/with-sveltekit

MIT License Latest Release Github

Seamless integration of Twind in a SvelteKit project

Functions

default

default<Theme>(config, isProduction?): Twind<Theme & BaseTheme>

Type parameters

NameType
Themeextends BaseTheme = BaseTheme

Parameters

NameType
configTwindConfig<Theme>
isProduction?boolean

Returns

Twind<Theme & BaseTheme>

Defined in

packages/with-sveltekit/src/index.ts:14

default<Theme, Presets>(config, isProduction?): Twind<BaseTheme & ExtractThemes<Theme, Presets>>

Type parameters

NameType
ThemeBaseTheme
Presetsextends Preset<any>[] = Preset<BaseTheme>[]

Parameters

NameType
configTwindUserConfig<Theme, Presets>
isProduction?boolean

Returns

Twind<BaseTheme & ExtractThemes<Theme, Presets>>

Defined in

packages/with-sveltekit/src/index.ts:19