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 #41

Open
ashharrison90 opened this issue May 22, 2024 · 0 comments
Open

Replace deprecated Grafana SCSS styles #41

ashharrison90 opened this issue May 22, 2024 · 0 comments

Comments

@ashharrison90
Copy link

ashharrison90 commented May 22, 2024

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 a few of these classes:

  • graph-panel
  • datapoints-warning
  • grafana-tooltip
  • graph-tooltip and other associated graph-tooltip-* classes

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
  • 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant