From 671afb4dc4214e7d916479d6a55e74c5c05ef618 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Mon, 26 Jul 2021 19:46:25 +0200 Subject: fixed most typeerrors --- pages/_app.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pages/_app.tsx') diff --git a/pages/_app.tsx b/pages/_app.tsx index e6332de..c9dc93f 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -44,7 +44,7 @@ function MyApp({ Component, pageProps }: AppProps) { const theme = useMemo(() => { const borderColor = emacsTheme.violet + 'aa' const bgfgInterpolate = d3int.interpolate(emacsTheme.bg, emacsTheme.fg) - return extendTheme({ + const themeColors = { colors: { white: emacsTheme.bg, black: emacsTheme.fg, @@ -98,7 +98,8 @@ function MyApp({ Component, pageProps }: AppProps) { shadows: { outline: '0 0 0 3px ' + borderColor, }, - }) + } + return extendTheme(themeColors) }, [JSON.stringify(emacsTheme)]) return ( -- cgit v1.2.3