You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phase 4.3: Migrate remaining study guides components to plain CSS
Migrate Filters.tsx and StudyGuides.tsx from styled-components to plain CSS
following the hybrid approach documented in PLAIN_CSS_MIGRATION_GUIDE.md.
Changes:
- Filters.tsx: Migrated StyledColorFilter and RightButtonsWrapper to CSS classes
- Created Filters.css with study-guides-color-filter and study-guides-right-buttons classes
- Removed styled-components, replaced with className props
- StudyGuides.tsx: Migrated nested component styling to CSS descendant selectors
- Created StudyGuides.css targeting HighlightsChapterWrapper, HighlightSection, HighlightWrapper
- Used :has() selectors to target styled-components by their data-testid attributes
- Bound theme.color.neutral.darkest as CSS variable for print styles
- Preserved mobile breakpoint and print styles
Note: StudyGuidesPopUp.tsx and StudyGuidesToasts.tsx do not require migration as they
only use shared components with no study-guides-specific styling.
Related to CORE-1830
Snaps/lint css
0 commit comments