@@ -98,3 +98,32 @@ body {
9898::-webkit-scrollbar-thumb : hover {
9999 background-color : var (--foreground );
100100}
101+
102+ /* Typography Overrides to match theme */
103+ .prose {
104+ --tw-prose-body : var (--foreground );
105+ --tw-prose-headings : var (--foreground );
106+ --tw-prose-lead : var (--muted-foreground );
107+ --tw-prose-links : var (--primary );
108+ --tw-prose-bold : var (--foreground );
109+ --tw-prose-counters : var (--muted-foreground );
110+ --tw-prose-bullets : var (--muted-foreground );
111+ --tw-prose-hr : var (--border );
112+ --tw-prose-quotes : var (--foreground );
113+ --tw-prose-quote-borders : var (--border );
114+ --tw-prose-captions : var (--muted-foreground );
115+ --tw-prose-code : var (--foreground );
116+ --tw-prose-pre-code : var (--card-foreground );
117+ --tw-prose-pre-bg : var (--secondary );
118+ --tw-prose-th-borders : var (--border );
119+ --tw-prose-td-borders : var (--border );
120+
121+ /* Invert (Dark Mode) overrides - mapped to same variables because our variables already switch values in dark mode!
122+ BUT prose-invert switches to use --tw-prose-invert-*, so we need to set those too if we use prose-invert.
123+ HOWEVER, since our variables (like --foreground) ALREADY switch based on .dark class,
124+ we actually DON'T want prose-invert to flip them again (which usually flips light gray to dark gray).
125+
126+ If we use our dynamic variables, we might not even need 'dark:prose-invert' if we just let the variables handle it.
127+ Let's try removing 'dark:prose-invert' from the component and rely on these variables.
128+ */
129+ }
0 commit comments