diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-12-15 04:33:08 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-12-15 04:33:08 +0800 |
commit | b07892bb48475e461e07926315a2e43ea5cfb46f (patch) | |
tree | 9b9aa3836c542b86468b86ead0dad2d62346aea0 /packages/website/ts/@next/components/siteWrap.tsx | |
parent | f0581285d0580062b29af3e0d5bc3af9d9e57d0d (diff) | |
download | dexon-sol-tools-b07892bb48475e461e07926315a2e43ea5cfb46f.tar dexon-sol-tools-b07892bb48475e461e07926315a2e43ea5cfb46f.tar.gz dexon-sol-tools-b07892bb48475e461e07926315a2e43ea5cfb46f.tar.bz2 dexon-sol-tools-b07892bb48475e461e07926315a2e43ea5cfb46f.tar.lz dexon-sol-tools-b07892bb48475e461e07926315a2e43ea5cfb46f.tar.xz dexon-sol-tools-b07892bb48475e461e07926315a2e43ea5cfb46f.tar.zst dexon-sol-tools-b07892bb48475e461e07926315a2e43ea5cfb46f.zip |
Type fixes
Diffstat (limited to 'packages/website/ts/@next/components/siteWrap.tsx')
-rw-r--r-- | packages/website/ts/@next/components/siteWrap.tsx | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/packages/website/ts/@next/components/siteWrap.tsx b/packages/website/ts/@next/components/siteWrap.tsx index 686ad8f2c..c1513c647 100644 --- a/packages/website/ts/@next/components/siteWrap.tsx +++ b/packages/website/ts/@next/components/siteWrap.tsx @@ -20,25 +20,27 @@ interface MainProps { isNavToggled: boolean; } +export interface ThemeValuesInterface { + bgColor: string; + darkBgColor?: string; + lightBgColor: string; + textColor: string; + paragraphColor: string; + linkColor: string; + mobileNavBgUpper: string; + mobileNavBgLower: string; + mobileNavColor: string; + dropdownBg: string; + dropdownButtonBg: string; + dropdownBorderColor?: string; + dropdownColor: string; + headerButtonBg: string; + footerBg: string; + footerColor: string; +} + export interface ThemeInterface { - [key: string]: { - bgColor: string; - darkBgColor?: string; - lightBgColor: string; - textColor: string; - paragraphColor: string; - linkColor: string; - mobileNavBgUpper: string; - mobileNavBgLower: string; - mobileNavColor: string; - dropdownBg: string; - dropdownButtonBg: string; - dropdownBorderColor?: string; - dropdownColor: string; - headerButtonBg: string; - footerBg: string; - footerColor: string; - }; + [key: string]: ThemeValuesInterface; } const GLOBAL_THEMES: ThemeInterface = { |