Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated Grafana SCSS styles #947

Open
ashharrison90 opened this issue Jul 9, 2024 · 0 comments
Open

Replace deprecated Grafana SCSS styles #947

ashharrison90 opened this issue Jul 9, 2024 · 0 comments

Comments

@ashharrison90
Copy link

Hi from the Grafana team 👋

In Grafana 12, we'll be removing Angular support. As part of that, we'll also be removing a lot of legacy CSS classes.
It looks like this plugin relies on one of these classes:

  • grafana-info-box

The CSS class names that Grafana provides can change at any time and should not be relied on as a stable external API. The recommendation would be to either:

  • Use an existing component from the component library at @grafana/ui
    • in this case, you could use the <Alert severity="info" /> component directly
  • Use the theme object with emotion to style your components. The theme object is a stable API that is maintained according to SemVer.
  • Apply these styles yourself within this repo. You can find the existing styles here as a reference.

Thanks again for your contributions and support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants