Skip to content

Commit

Permalink
Merge pull request #487 from open-craft/braden/fix-extra-scss
Browse files Browse the repository at this point in the history
fix: don't accidentally bundle paragon CSS x2
  • Loading branch information
arbrandes authored Aug 1, 2024
2 parents 3dfc579 + 28c7b32 commit 5825dd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import "@openedx/paragon/scss/core/core";
// do NOT @import "@openedx/paragon/scss/core/core"; in any files in this repo, or it will add 400 kB of extra CSS
// to the MFE each time you do so. The following are OK because they are only defining variables like $grey-500:
@import "@edx/brand/paragon/variables";
@import "@openedx/paragon/scss/core/_variables";

.total-label {
border: 1px solid $gray-500;
Expand Down
5 changes: 4 additions & 1 deletion src/editors/containers/VideoUploadEditor/index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@import "@openedx/paragon/scss/core/core";
// do NOT @import "@openedx/paragon/scss/core/core"; in any files in this repo, or it will add 400 kB of extra CSS
// to the MFE each time you do so. The following are OK because they are only defining variables like $grey-500:
@import "@edx/brand/paragon/variables";
@import "@openedx/paragon/scss/core/_variables";

.dropzone-middle {
border: 2px dashed #ccc;
Expand Down

0 comments on commit 5825dd3

Please sign in to comment.