Skip to content

Commit

Permalink
fix: don't accidentally bundle paragon CSS x2
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Jun 20, 2024
1 parent c84e322 commit 28c7b32
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 28c7b32

Please sign in to comment.