feat(theme): Nord-тема для Mermaid диаграмм в тёмном режиме
feat(theme): Nord mermaid только в тёмном режиме через swizzle fix(theme): useMemo для config mermaid — убрать бесконечный ре-рендер
This commit is contained in:
@@ -127,6 +127,12 @@ const config: Config = {
|
||||
theme: prismThemes.github,
|
||||
darkTheme: prismThemes.dracula,
|
||||
},
|
||||
mermaid: {
|
||||
theme: {
|
||||
light: 'default',
|
||||
dark: 'base',
|
||||
},
|
||||
},
|
||||
} satisfies Preset.ThemeConfig,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user