-
Notifications
You must be signed in to change notification settings - Fork 361
[CSS] Migrate Explanation styling to CSS Modules #3163
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
[CSS] Migrate Explanation styling to CSS Modules #3163
Conversation
…styling to CSS Modules, keeping legacy styling until LEMS-3815 is completed.
…ngeset): [CSS] Migrate Explanation styling to CSS Modules
🗄️ Schema Change: No Changes ✅ |
🛠️ Item Splitting: No Changes ✅ |
|
Size Change: +100 B (+0.02%) Total Size: 499 kB
ℹ️ View Unchanged
|
npm Snapshot: PublishedGood news!! We've packaged up the latest commit from this PR (c9c4297) and published it to npm. You Example: pnpm add @khanacademy/perseus@PR3163If you are working in Khan Academy's frontend, you can run the below command. ./dev/tools/bump_perseus_version.ts -t PR3163If you are working in Khan Academy's webapp, you can run the below command. ./dev/tools/bump_perseus_version.js -t PR3163 |
…check for "prefers reduced motion" in CSS and restore it in legacy styling. Adjust unit tests and snapshots accordingly.
anakaren-rojas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…anch 'main' into LEMS-3818-migrate-aphrodite-to-css-modules-for-explanation
Summary:
This PR converts the Aphrodite styling into standard CSS. However, since this widget uses a Wonder Blocks component and overrides its styling, the legacy Aphrodite code is kept in a separate file to be deleted later (once Wonder Blocks has migrated to CSS Modules).
Issue: LEMS-3818
Test plan:
Regression tests pass