style(api-docs): improve styling for dark mode

Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
This commit is contained in:
Benjamin Janssens
2025-08-11 16:17:30 +02:00
parent c118dcda83
commit 633327cba2
2 changed files with 9 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-api-docs': patch
---
Improved styling for dark mode
@@ -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,