mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-09 10:28:32 +00:00
Register custom themes after the monaco theme init (#1257)
Signed-off-by: Akos Kitta <a.kitta@arduino.cc> Co-authored-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
committed by
GitHub
parent
124738d810
commit
59b8a2d6bb
@@ -17,4 +17,10 @@ config.module.rules.push({
|
||||
loader: require.resolve('@theia/application-manager/lib/expose-loader')
|
||||
}); */
|
||||
|
||||
|
||||
// Load the patched `index.js` that sets the desired theme in IDE2 based on the OS' theme.
|
||||
// The `patch/frontend/index.js` will require the original, generated `index.js`.
|
||||
// See: https://github.com/arduino/arduino-ide/pull/1160.
|
||||
config.entry.bundle = require('path').resolve(__dirname, 'patch/frontend/index.js');
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user