@dovenv/theme-banda
- API documentation
Functions
bandaTheme()
ts
function bandaTheme(opts?: Config): Config
Banda theme configuration for dovenv
.
This function takes an optional object with keys matching the plugin names and values that are the respective plugin's configuration objects.
Parameters
Parameter | Type | Description |
---|---|---|
opts ? | Config | Optional configuration options. |
Returns
Config
The dovenv
configuration object.
Example
ts
import { bandaTheme } from '@dovenv/theme-banda'
export default bandaTheme( {
lint: { commitlint: { gitmoji: true } },
docs: {
input: 'README.md',
output: 'build/README.md',
},
} )
mergeConfig()
ts
function mergeConfig(...config: (Config | Config[])[]): Config
Merges multiple banda-theme
configuration objects into a single configuration.
Parameters
Parameter | Type |
---|---|
...config | (Config | Config [])[] |
Returns
Type Aliases
Config
ts
type Config: {
convert: Config;
docs: DocsPluginConfig;
examples: Config;
lint: Config;
repo: Parameters<typeof default>[0];
templates: Config;
todo: Config;
workspace: Config;
};
Type declaration
References
default
Renames and re-exports bandaTheme