Migrate styles from styled-components
to emotion
#190245
Labels
Team:obs-ux-management
Observability Management User Experience Team
styled-components
to emotion
#190245
Summary
There is a plan to migrate from
styled-components
toemotion,
and this ticket focuses onstyled-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.
Reference point for migration: #199715 (comment)
Here are hooks that can be used instead of styled-components ThemeContext: (comment)
[For inspiration] Here are some PRs that tried to migrate some components :
The text was updated successfully, but these errors were encountered: