diff options
Diffstat (limited to 'pages/_app.tsx')
-rw-r--r-- | pages/_app.tsx | 2 |
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, |