Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions workspaces/theme/.changeset/big-stingrays-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@red-hat-developer-hub/backstage-plugin-theme': patch
---

Scope TechDocs subheader toolbar to use `background.paper`, fixing the gray strip under the page header. Adds a `MuiCssBaseline` rule targeting `[class*="BackstageHeader-header-"] + [class*="MuiToolbar-root"]` so other toolbars remain unaffected.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ export const createComponents = (themeConfig: ThemeConfig): Components => {
'pre, code': {
fontFamily: redHatFonts.monospace,
},
"[class*='BackstagePage-root-'] > [class*='MuiToolbar-root']": {
backgroundColor: theme.palette.background.paper,
},
};
},
};
Expand Down