Merge pull request #30861 from benjidotsh/api-docs/improve-styling-dark-mode

style(api-docs): improve styling for dark mode
This commit is contained in:
Fredrik Adelöw
2025-08-19 08:59:08 +02:00
committed by GitHub
2 changed files with 9 additions and 1 deletions
@@ -125,9 +125,12 @@ const useStyles = makeStyles(theme => ({
},
'& .prose': {
color: theme.palette.text.secondary,
'& h3': {
'& h3, code': {
color: theme.palette.text.primary,
},
'& a': {
color: theme.palette.link,
},
},
'& .bg-gray-100, .bg-gray-200': {
backgroundColor: theme.palette.background.default,