summaryrefslogtreecommitdiff
path: root/pages/_app.tsx
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-24 01:00:26 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-24 01:00:26 +0200
commit3c95ce8690c8b44b14e742ec68290ca05971e68b (patch)
treeb6913f2ee90939e231a323d3a58a6e7fb175db31 /pages/_app.tsx
parente69515e108a64ea82a3ab3030de8e7ab366591d9 (diff)
ANIMATION
Diffstat (limited to 'pages/_app.tsx')
-rw-r--r--pages/_app.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 68ac321..b6abb5a 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -3,6 +3,7 @@ import type { AppProps } from 'next/app'
import { ChakraProvider } from '@chakra-ui/react'
import { useEffect, useState, useMemo } from 'react'
import { extendTheme } from '@chakra-ui/react'
+import * as d3int from 'd3-interpolate'
//import hexRgb from 'hex-rgb'
function MyApp({ Component, pageProps }: AppProps) {
@@ -79,6 +80,7 @@ function MyApp({ Component, pageProps }: AppProps) {
},
purple: {
500: emacsTheme.violet,
+ inter: d3int.interpolate(emacsTheme.base4, emacsTheme.violet),
},
pink: {
500: emacsTheme.magenta,