Skip to content

🐛 sentry: Always in light mode with Backstage UI #6537

@timo-reymann

Description

@timo-reymann

Workspace

sentry

📜 Description

The components for the sentry plugin are always displayed in light theme, no matter the set up theme.

👍 Expected behavior

Should be in dark theme

👎 Actual Behavior with Screenshots

Components are always displayed in light theme

Image Image

👟 Reproduction steps

  1. Embed the sentry content element
  2. Switch to dark mode

📃 Provide the context for the Bug.

Using Backstage 1.46, new frontend UI with explicit registration.

Following CSS workaround seems to do the trick (partially):

/*
Workaround for Sentry
 */
.MuiPaper-root,
.MuiGrid-root{
    color: inherit !important;
    background: inherit !important;
}
Image

Other plugins seem to work fine using the same underlying Backstage components.

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

No, but I'm happy to collaborate on a PR with someone else

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions