build: Decouple XModule styles from LMS/Studio styles (#32018)

This basically changes how the xmodule static files are
generated and consumed in order to separate the Xblock
styles from general style files. Includes:

* build: decople XModule style assets by using a custom webpack loader
* build: move scss imports to its specific file

Addressing the issue https://github.com/openedx/edx-platform/issues/31624
This commit is contained in:
Andrey Cañon
2023-05-04 07:21:09 -05:00
committed by GitHub
parent b77504804a
commit 471ba9121b
18 changed files with 166 additions and 14 deletions

View File

@@ -4,6 +4,10 @@
* that the LMS did, so the quick fix was to localize the LMS variables not shared by the CMS.
* -Abarrett and Vshnayder
*/
@import 'bourbon/bourbon';
@import 'lms/theme/variables';
@import 'lms/theme/variables-v1';
$annotatable--border-color: $gray-l3;
$annotatable--body-font-size: em(14);