summaryrefslogtreecommitdiff
path: root/pages/_app.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-26 19:46:25 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-26 19:46:25 +0200
commit671afb4dc4214e7d916479d6a55e74c5c05ef618 (patch)
treeae154e3beebb58f48b62bdba923f0e45158994c7 /pages/_app.tsx
parentc707b3af917af40a9a06639d217937bfecef9ecd (diff)
fixed most typeerrors
Diffstat (limited to 'pages/_app.tsx')
-rw-r--r--pages/_app.tsx5
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 (