Merge pull request #487 from open-craft/braden/fix-extra-scss

fix: don't accidentally bundle paragon CSS x2
This commit is contained in:
Adolfo R. Brandes
2024-08-01 09:55:35 -03:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;