Skip to content

Commit 98a878d

Browse files
authored
feat: adds support for loading external theme CSS for MFEs (#689)
1 parent 4e72a7b commit 98a878d

27 files changed

+3403
-142
lines changed

.env.development

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico
2727
IGNORED_ERROR_REGEX=
2828
MFE_CONFIG_API_URL=
2929
APP_ID=
30-
SUPPORT_URL=https://support.edx.org
30+
SUPPORT_URL=https://support.edx.org
31+
PARAGON_THEME_URLS={}

.env.test

+1
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ IGNORED_ERROR_REGEX=
2828
MFE_CONFIG_API_URL=
2929
APP_ID=
3030
SUPPORT_URL=https://support.edx.org
31+
PARAGON_THEME_URLS={}
1.47 MB
Loading

docs/how_tos/theming.md

+261
Large diffs are not rendered by default.

example/index.scss

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
@import "@edx/brand/paragon/fonts";
2-
@import "@edx/brand/paragon/variables";
3-
@import "@openedx/paragon/scss/core/core";
4-
@import "@edx/brand/paragon/overrides";
1+
@use "@openedx/paragon/styles/css/core/custom-media-breakpoints.css" as paragonCustomMediaBreakpoints;

0 commit comments

Comments
 (0)