mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 05:29:44 +02:00
parent
51954dcf7e
commit
e338b57860
|
|
@ -5,11 +5,6 @@ import { themes } from 'storybook/theming';
|
|||
|
||||
import { applyN8nTheme } from './applyN8nTheme';
|
||||
|
||||
/**
|
||||
* Docs pages are React (addon-docs) and stay on the light emotion theme unless
|
||||
* this container passes the dark theme. CSS cannot replace that — emotion sets
|
||||
* heading/body/code colors on the elements themselves.
|
||||
*/
|
||||
export function ThemedDocsContainer(props: ComponentProps<typeof DocsContainer>) {
|
||||
const isDark = useDarkMode();
|
||||
applyN8nTheme(isDark);
|
||||
|
|
|
|||
|
|
@ -35,8 +35,6 @@ const config: StorybookConfig = {
|
|||
framework: {
|
||||
name: getAbsolutePath('@storybook/vue3-vite'),
|
||||
options: {
|
||||
// 10.5 defaults to vue-component-meta; keep the previous engine so
|
||||
// autodocs tables stay consistent with existing stories.
|
||||
docgen: 'vue-docgen-api',
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user