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