Merge pull request #24119 from TanZng/fix/open-api-dark-mode
fix: OpenAPI table in dark mode
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user