diff --git a/docs/components/CustomTheme.tsx b/docs/components/CustomTheme.tsx index 251771eb..b614c1c2 100644 --- a/docs/components/CustomTheme.tsx +++ b/docs/components/CustomTheme.tsx @@ -10,7 +10,7 @@ import type { Theme, ThemeColorObj } from '../../src'; declare module '../../src/index' { // in external projects, the module is @zextras/carbonio-design-system - export interface Palette { + interface Palette { additional: ThemeColorObj; green: ThemeColorObj; } diff --git a/docs/theme/theming.mdx b/docs/theme/theming.mdx index 5a68158e..e9387647 100644 --- a/docs/theme/theming.mdx +++ b/docs/theme/theming.mdx @@ -28,10 +28,10 @@ declare the module '@zextras/carbonio-design-system', extending the appropriate import type { ThemeColorObj } from '@zextras/carbonio-design-system'; declare module '@zextras/carbonio-design-system' { - export interface Theme { + interface Theme { additionalThemeProperty: unknown; // give the proper type } - export interface Palette { + interface Palette { additionalColor: ThemeColorObj; } }