generated from openedx/frontend-template-application
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[APER-2969] This PR removes a piece of custom CSS we wrote to invert colors of icons under certain circumstances. This was originally added to resolve a problem with Paragon that has since been resolved (and is now the source of the icon color problem).
- Loading branch information
1 parent
da7f2fd
commit db7c493
Showing
2 changed files
with
46 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module.exports = { | ||
/* | ||
Modules you want to use from local source code. Adding a module here means that when this app | ||
runs its build, it'll resolve the source from peer directories of this app. | ||
|
||
moduleName: the name you use to import code from the module. | ||
dir: The relative path to the module's source code. | ||
dist: The sub-directory of the source code where it puts its build artifact. Often "dist". | ||
|
||
To use a module config: | ||
|
||
1. Copy module.config.js.example and remove the '.example' extension | ||
2. Uncomment modules below in the localModules array to load them from local source code. | ||
3. Remember to re-build the production builds of those local modules if they have one. | ||
See note below. | ||
*/ | ||
localModules: [ | ||
/********************************************************************************************* | ||
IMPORTANT NOTE: If any of the below packages (like paragon or frontend-platform) have a build | ||
step that populates their 'dist' directories, you must manually run that step. For paragon | ||
and frontend-platform, for instance, you need to run `npm run build` in the repo before | ||
module.config.js will work. | ||
**********************************************************************************************/ | ||
|
||
// { moduleName: '@edx/brand', dir: '../brand-openedx' }, // replace with your brand checkout | ||
// { moduleName: '@edx/paragon/scss/core', dir: '../paragon', dist: 'scss/core' }, | ||
// { moduleName: '@edx/paragon/icons', dir: '../paragon', dist: 'icons' }, | ||
// { moduleName: '@edx/paragon', dir: '../paragon', dist: 'dist' }, | ||
// { moduleName: '@edx/frontend-platform', dir: '../frontend-platform', dist: 'dist' }, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters