style(api-docs): improve styling for dark mode
Signed-off-by: Benjamin Janssens <benji.janssens@gmail.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user