From 1a1d713b9742ee8fca5dfaef1a9635ff850fbb44 Mon Sep 17 00:00:00 2001 From: PKulkoRaccoonGang Date: Sun, 30 Jun 2024 19:21:29 +0300 Subject: [PATCH] feat: added inline CSS --- env.config.js | 25 ------------------------- src/index.scss | 2 ++ 2 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 env.config.js diff --git a/env.config.js b/env.config.js deleted file mode 100644 index 21a322793..000000000 --- a/env.config.js +++ /dev/null @@ -1,25 +0,0 @@ -module.exports = { - PARAGON_THEME_URLS: { - core: { - urls: { - default: 'https://cdn.jsdelivr.net/npm/@openedx/paragon@alpha/dist/core.min.css', - }, - }, - defaults: { - light: 'light', - dark: 'dark', - }, - variants: { - light: { - urls: { - default: 'https://cdn.jsdelivr.net/npm/@openedx/paragon@alpha/dist/light.min.css', - }, - }, - dark: { - urls: { - default: 'https://cdn.jsdelivr.net/npm/@edx/brand-edx.org@alpha/dist/light.min.css', - }, - }, - }, - }, -}; diff --git a/src/index.scss b/src/index.scss index a0e3ae728..6647aa5ee 100755 --- a/src/index.scss +++ b/src/index.scss @@ -1,3 +1,5 @@ +@use "@openedx/paragon/dist/core.min.css" as paragonCore; +@use "@openedx/paragon/dist/light.min.css" as paragonLight; @use "@openedx/paragon/styles/css/core/custom-media-breakpoints.css" as paragonCustomMediaBreakpoints; @import "~@edx/frontend-component-footer/dist/footer";