Merge pull request #24119 from TanZng/fix/open-api-dark-mode

fix: OpenAPI table in dark mode
This commit is contained in:
Ben Lambert
2024-05-06 15:30:11 +02:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-api-docs': patch
---
Fix dark mode text color inside tables in `description:` from OpenAPI definitions
@@ -34,7 +34,9 @@ const useStyles = makeStyles(theme => ({
[`& .opblock-tag,
.opblock-tag small,
table thead tr td,
table thead tr th`]: {
table thead tr th,
table tbody tr td,
table tbody tr th`]: {
fontFamily: theme.typography.fontFamily,
color: theme.palette.text.primary,
borderColor: theme.palette.divider,