Skip to content

Commit

Permalink
feat: adds support for loading external theme CSS for MFEs (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoa authored Mar 3, 2025
1 parent 4e72a7b commit 98a878d
Show file tree
Hide file tree
Showing 27 changed files with 3,403 additions and 142 deletions.
3 changes: 2 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ FAVICON_URL=https://edx-cdn.org/v3/default/favicon.ico
IGNORED_ERROR_REGEX=
MFE_CONFIG_API_URL=
APP_ID=
SUPPORT_URL=https://support.edx.org
SUPPORT_URL=https://support.edx.org
PARAGON_THEME_URLS={}
1 change: 1 addition & 0 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ IGNORED_ERROR_REGEX=
MFE_CONFIG_API_URL=
APP_ID=
SUPPORT_URL=https://support.edx.org
PARAGON_THEME_URLS={}
Binary file added docs/how_tos/assets/paragon-theme-loader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
261 changes: 261 additions & 0 deletions docs/how_tos/theming.md

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions example/index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
@import "@edx/brand/paragon/fonts";
@import "@edx/brand/paragon/variables";
@import "@openedx/paragon/scss/core/core";
@import "@edx/brand/paragon/overrides";
@use "@openedx/paragon/styles/css/core/custom-media-breakpoints.css" as paragonCustomMediaBreakpoints;
Loading

0 comments on commit 98a878d

Please sign in to comment.