From f452fc5bc799934954f726b74e30d3a9642c289d Mon Sep 17 00:00:00 2001 From: Ezekiel Aquino Date: Fri, 14 Dec 2018 11:49:32 +0100 Subject: Resolves some sitewrap warnings [TO DO] --- packages/website/ts/@next/components/siteWrap.tsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/website/ts/@next/components/siteWrap.tsx b/packages/website/ts/@next/components/siteWrap.tsx index 57fdcae43..e0956c582 100644 --- a/packages/website/ts/@next/components/siteWrap.tsx +++ b/packages/website/ts/@next/components/siteWrap.tsx @@ -18,6 +18,10 @@ interface State { isMobileNavOpen: boolean; } +interface MainProps { + isNavToggled: boolean; +} + // we proabbly want to put this somewhere else (themes) export interface ThemeInterface { [key: string]: { @@ -32,6 +36,7 @@ export interface ThemeInterface { mobileNavColor: string; dropdownBg: string; dropdownButtonBg: string; + dropdownBorderColor?: string; dropdownColor: string; headerButtonBg: string; footerBg: string; @@ -78,6 +83,9 @@ const GLOBAL_THEMES: ThemeInterface = { textColor: '#000000', paragraphColor: '#777777', linkColor: colors.brandDark, + mobileNavBgUpper: '#FFFFFF', + mobileNavBgLower: '#F3F6F4', + mobileNavColor: '#000000', dropdownBg: '#FFFFFF', dropdownButtonBg: '#F3F6F4', dropdownColor: '#003831', @@ -114,10 +122,16 @@ export class SiteWrap extends React.Component { <> -
+ +
+
{children}
+