UNPKG

@kitconcept/volto-light-theme

Version:
104 lines (90 loc) 2.16 kB
import type { Brain, Image } from '@plone/types'; type hrefType = { '@id': string; title: string; } & Partial<Brain>; type headerAction = { '@id': string; title: string; href: Array<hrefType>; openInNewTab: boolean; }; export type Link = { '@id': string; title: string; href: Array<hrefType>; openInNewTab: boolean; }; export type Logo = { '@id': string; title: string; logo: Image; href: Array<hrefType>; openInNewTab: boolean; }; export type footerLogo = { '@id': string; title: string; logo: Image; href: Array<hrefType>; openInNewTab: boolean; }; export type iconLink = { '@id': string; title: string; icon: Image; href: Array<hrefType>; openInNewTab: boolean; }; export type SiteHeaderSettings = { logo: Image & { data?: string }; complementary_logo: Image & { data?: string }; intranet_flag: string; header_actions: Array<headerAction>; has_intranet_header: boolean; }; export type SiteThemeSettings = { primary_foreground_color: string; accent_foreground_color: string; accent_color: string; primary_color: string; secondary_foreground_color: string; secondary_color: string; }; export type SiteFooterSettings = { footer_logos: Array<footerLogo>; footer_logos_container_width: string; footer_logos_size: string; footer_address: string; footer_column_left_header: string; footer_column_left: Array<Link>; footer_column_middle_header: string; footer_column_middle: Array<Link>; footer_column_right_header: string; footer_column_right: Array<Link>; footer_logo: Image & { data?: string }; footer_links: Array<Link>; footer_colophon_text: string; }; export type StickyMenuSettings = { sticky_menu: Array<iconLink>; sticky_menu_color: string; sticky_menu_foreground_color: string; }; export type PloneGobrSocialMediaSettings = { social_links: Array<iconLink>; }; export type CustomInheritBehavior<T> = { data: T; from: { '@id': string; title: string; }; }; declare module '@plone/types' { export interface Content { footer_logos: Array<footerLogo>; sticky_menu: Array<stickyMenu>; footer_links: Array<Link>; } }