Skip to content

Migrate styles from styled-components to emotion #190245

Open

Description

Summary

There is a plan to migrate from styled-components to emotion, and this ticket focuses on styled-components usages for obs-ux-management related plugins and related information for this migration. This migration helps to avoid issues related to sharing components with platform plugins, as they have already started this migration. (Avoiding issues such as #186969)

Here is a comment from EUI team about this migration.

Here are hooks that can be used instead of styled-components ThemeContext: (comment)

Plugin Number of imports from styled-components
Observability 7
SLO 8
Investigate 0
Investigate-app 0
Synthetics 16
Uptime 29

Here are some PRs that tried to migrate some components :

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Team:obs-ux-managementObservability Management User Experience Team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions