datahub/site/config/siteConfig.ts

14 lines
315 B
TypeScript

import { defaultConfig } from "@portaljs/core";
import userConfig from "../content/config";
export const siteConfig: any = {
...defaultConfig,
...userConfig,
// prevent theme object overrides for
// values not provided in userConfig
theme: {
...defaultConfig.theme,
...userConfig?.theme,
},
};