diff --git a/generator/konfig-next-app/src/pages/[org]/[portal]/docs/[[...doc]].tsx b/generator/konfig-next-app/src/pages/[org]/[portal]/docs/[[...doc]].tsx index 5bf8ddfa7..8b1d81e76 100644 --- a/generator/konfig-next-app/src/pages/[org]/[portal]/docs/[[...doc]].tsx +++ b/generator/konfig-next-app/src/pages/[org]/[portal]/docs/[[...doc]].tsx @@ -37,6 +37,7 @@ import { proseContainerWidthStyles } from '@/utils/prose-container-width-styles' import { FlexCenter } from '@/components/FlexCenter' import { asideOffsetBreakpoint } from '@/utils/aside-offset-breakpoint' import { navbarOffsetBreakpoint } from '@/utils/navbar-offset-breakpoint' +import { linkColor } from '@/utils/link-color' export const getStaticPaths: GetStaticPaths = async () => { return { @@ -96,7 +97,7 @@ const DocumentationPage = observer( faviconLink, logo, }: InferGetServerSidePropsType) => { - const { colors } = useMantineTheme() + const theme = useMantineTheme() const { colorScheme } = useMantineColorScheme() const [opened, setOpened] = useState(false) @@ -148,7 +149,7 @@ const DocumentationPage = observer( colorScheme, ...generateMantineThemeColors({ primaryColor: konfigYaml.portal?.primaryColor, - colors, + colors: theme.colors, }), primaryColor: 'brand', }} @@ -156,7 +157,8 @@ const DocumentationPage = observer( {section.label}