@@ -374,3 +374,62 @@ section table {
374374 scrollbar-width : thin;
375375 scrollbar-color : # 2b3244 # 181b26 ;
376376}
377+
378+ /* Docs theme overrides to align docs with site UI */
379+ .docs-theme {
380+ color : var (--foreground );
381+ }
382+ /* Neutralize bright background utilities inside docs to use app cards */
383+ .docs-theme .border ,
384+ .docs-theme [class *= "border-" ] {
385+ border-color : # 3a4152 !important ;
386+ }
387+ .docs-theme [class *= "bg-gradient-to-" ],
388+ .docs-theme .bg-white ,
389+ .docs-theme .bg-gray-50 ,
390+ .docs-theme .bg-gray-100 ,
391+ .docs-theme .bg-blue-50 ,
392+ .docs-theme .bg-green-50 ,
393+ .docs-theme .bg-purple-50 ,
394+ .docs-theme .bg-emerald-100 ,
395+ .docs-theme .bg-yellow-50 {
396+ background : var (--card-background ) !important ;
397+ }
398+ .docs-theme .text-gray-900 ,
399+ .docs-theme .text-gray-800 ,
400+ .docs-theme .text-gray-700 ,
401+ .docs-theme .text-gray-600 ,
402+ .docs-theme .text-gray-500 ,
403+ .docs-theme .text-gray-400 ,
404+ .docs-theme .text-blue-900 ,
405+ .docs-theme .text-blue-800 ,
406+ .docs-theme .text-green-900 ,
407+ .docs-theme .text-green-800 ,
408+ .docs-theme .text-purple-900 ,
409+ .docs-theme .text-purple-800 {
410+ color : var (--foreground ) !important ;
411+ }
412+ .docs-theme .prose {
413+ max-width : 100% ;
414+ }
415+ .docs-theme pre {
416+ background : # 23283a !important ;
417+ color : # e0e6f0 ;
418+ border : 1px solid # 3a4152 ;
419+ }
420+ .docs-theme pre code {
421+ background : transparent !important ;
422+ color : inherit;
423+ }
424+ .docs-theme code {
425+ background : # 23283a ;
426+ color : # e0e6f0 ;
427+ }
428+
429+ /* Ensure links in docs retain themed link colors over utility overrides */
430+ .docs-theme a {
431+ color : var (--text-link-color ) !important ;
432+ }
433+ .docs-theme a : hover {
434+ color : var (--text-link-hover-color ) !important ;
435+ }
0 commit comments