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

fix: add variable.scss file path of cms and remove account and profile MFE #90

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

hinakhadim
Copy link
Collaborator

This PR fixes the Undefined variable: "$color-hide-from-toc" and also removes the header, the footer of profile and account MFE

@hinakhadim hinakhadim requested a review from regisb June 11, 2024 13:15
@hinakhadim hinakhadim changed the base branch from master to nightly June 12, 2024 06:09
@@ -0,0 +1 @@
- [BugFix] Add variable.scss file path of edx-platform for CMS and remove header and footer of profile and account MFE (by @hinakhadim)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the changelog as we are no longer removing the header/footer in the PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current nightly branch has header and footer. We have to remove them in nightly

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, got it. I was remembering it when they were removed previously, I did not see they have been added back.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because master is merged into nightly.

Comment on lines -37 to -42

$uxpl-pink-base: rgb(194, 56, 125) !default; // wcag2a compliant
$uxpl-pink-hover-active: lighten($uxpl-pink-base, 7%) !default; // wcag2a compliant

$uxpl-grayscale-x-back: rgb(245, 245, 245) !default; // UXPL grayscale, x-back

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume all of these variables are now coming from cms/static/sass/partials/cms/theme/variables-v1?

Copy link

@DawoudSheraz DawoudSheraz Jun 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, add import cms/static/sass/partials/cms/theme/variables-v1 at the top. Only those variables exists that we've overrided.

@hinakhadim hinakhadim merged commit 1ce8de5 into overhangio:nightly Jun 12, 2024
@hinakhadim hinakhadim deleted the hina/fix-nightly branch October 11, 2024 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants