diff --git a/apps/web/src/components/Markdown.tsx b/apps/web/src/components/Markdown.tsx index a6bc1cc..e77655d 100644 --- a/apps/web/src/components/Markdown.tsx +++ b/apps/web/src/components/Markdown.tsx @@ -16,28 +16,28 @@ interface MarkdownProps { /** * Markdown renderer component * Safely renders markdown content with GitHub Flavored Markdown support - * Styled to match npm.com's beautiful README rendering + * Styled with theme-aware semantic tokens for proper light/dark mode support */ export function Markdown({ content, className = '' }: MarkdownProps): React.ReactElement { return (
{ return ( -
+
{children}
); @@ -106,11 +106,8 @@ export function Markdown({ content, className = '' }: MarkdownProps): React.Reac // Better table styling with improved readability table: ({ children, ...props }) => { return ( -
- +
+
{children}
@@ -119,7 +116,7 @@ export function Markdown({ content, className = '' }: MarkdownProps): React.Reac // Table header with better styling thead: ({ children, ...props }) => { return ( - + {children} ); @@ -128,7 +125,7 @@ export function Markdown({ content, className = '' }: MarkdownProps): React.Reac th: ({ children, ...props }) => { return ( {children} @@ -138,7 +135,7 @@ export function Markdown({ content, className = '' }: MarkdownProps): React.Reac // Table data cells with better spacing td: ({ children, ...props }) => { return ( - + {children} ); @@ -147,7 +144,7 @@ export function Markdown({ content, className = '' }: MarkdownProps): React.Reac tr: ({ children, ...props }) => { return ( {children}