@dovenv/theme-banda - API documentation β
Functions β
bandaTheme() β
ts
function bandaTheme(opts?: Config): ConfigBanda 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[])[]): ConfigMerges 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: Config;
examples: Config;
lint: Config;
repo: Parameters<typeof default>[0];
templates: Config;
todo: Config;
workspace: Config;
};Type declaration β
References β
default β
Renames and re-exports bandaTheme
