Packages
Seamless integration of Twind in a SvelteKit project
- 📖 Study the documentation
- 🧭 Explore the examples
- 📜 Read the changelog
Subpath Exports
Runtime
default
▸ default<Theme>(config, isProduction?): Twind<Theme & BaseTheme>
Type parameters
| Name | Type |
|---|---|
Theme | extends BaseTheme = BaseTheme |
Parameters
| Name | Type |
|---|---|
config | TwindConfig<Theme> |
isProduction? | boolean |
Returns
Defined in
packages/core/src/install.ts:14
▸ default<Theme, Presets>(config, isProduction?): Twind<BaseTheme & ExtractThemes<Theme, Presets>>
Type parameters
| Name | Type |
|---|---|
Theme | BaseTheme |
Presets | extends Preset<any>[] = Preset<BaseTheme>[] |
Parameters
| Name | Type |
|---|---|
config | TwindUserConfig<Theme, Presets> |
isProduction? | boolean |
Returns
Twind<BaseTheme & ExtractThemes<Theme, Presets>>