Skip to content

Commit

Permalink
fix(theme): 🐛 Change luminance for dark and light text to fit theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Nudelsuppe42 committed Jul 19, 2024
1 parent 874e8df commit 79fd26f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ import '@mantine/tiptap/styles.css';
import '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css';
import 'mapbox-gl/dist/mapbox-gl.css';

import type { AppProps } from 'next/app';
import CookieBanner from '@/components/CookieBanner';
import { RouterTransition } from '@/components/RouterTransition';
import SWRSetup from '@/components/SWRSetup';
import { DefaultSeo } from 'next-seo';
import { Inter } from 'next/font/google';
import { MantineProvider } from '@mantine/core';
import { useLocalStorage } from '@mantine/hooks';
import { ModalsProvider } from '@mantine/modals';
import { Notifications } from '@mantine/notifications';
import { RouterTransition } from '@/components/RouterTransition';
import SWRSetup from '@/components/SWRSetup';
import { SessionProvider } from 'next-auth/react';
import { appWithTranslation } from 'next-i18next';
import { DefaultSeo } from 'next-seo';
import defaultSeo from 'next-seo.config';
import type { AppProps } from 'next/app';
import { Inter } from 'next/font/google';
import localFont from 'next/font/local';
import { useEffect } from 'react';
import { useLocalStorage } from '@mantine/hooks';

export const interFont = Inter({
subsets: ['latin'],
Expand Down Expand Up @@ -95,7 +95,7 @@ function MyApp({ Component, pageProps }: AppProps) {
],
},
autoContrast: true,
luminanceThreshold: 0.3,
luminanceThreshold: 0.33,
}}
>
<ModalsProvider>
Expand Down

0 comments on commit 79fd26f

Please sign in to comment.