Skip to content

Commit

Permalink
fix: colors in whats news
Browse files Browse the repository at this point in the history
  • Loading branch information
asabotovich committed Apr 15, 2024
1 parent 7c27d29 commit 052ea79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/WhatsNewLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { MDXProvider } from '@mdx-js/react';
import Head from 'next/head';
import { Md, TextStyle, nullable } from '@taskany/bricks';
import { useTheme } from 'next-themes';

Expand All @@ -17,6 +18,9 @@ export const WhatsNewLayout: React.FC<WhatsNewLayoutProps> = ({ children }) => {

return (
<MDXProvider components={components}>
<Head>
<link rel="stylesheet" id="themeVariables" href={`/theme/${resolvedTheme}.css`} />
</Head>
<TextStyle />

{nullable(resolvedTheme as PageContext['theme'], (t) => (
Expand Down

0 comments on commit 052ea79

Please sign in to comment.