diff options
Diffstat (limited to 'pages/_app.tsx')
-rw-r--r-- | pages/_app.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
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 ( |