Adrià Vilanova Martínez | 2d9be8d | 2022-12-28 00:50:14 +0100 | [diff] [blame] | 1 | // This file imports necessary web components used for several features which |
| 2 | // use LitElement (and thus custom web elements). This is done by injecting this |
| 3 | // javascript file instead of placing this code directly in the content script |
| 4 | // because `window.customElements` doesn't exist in content scripts. |
| 5 | import '../contentScripts/communityConsole/workflows/components/index.js'; |
| 6 | import '../contentScripts/communityConsole/threadToolbar/components/index.js'; |
Adrià Vilanova Martínez | 115e3d8 | 2023-01-10 21:50:06 +0100 | [diff] [blame] | 7 | import '../contentScripts/communityConsole/flattenThreads/components/index.js'; |
Adrià Vilanova Martínez | 2d9be8d | 2022-12-28 00:50:14 +0100 | [diff] [blame] | 8 | |
| 9 | import {injectStylesheet} from '../common/contentScriptsUtils.js'; |
| 10 | |
| 11 | // Also, we import Material Icons since the Community Console uses "Google |
| 12 | // Material Icons" instead of "Material Icons". This is necessary for the MD3 |
| 13 | // components. |
| 14 | injectStylesheet('https://fonts.googleapis.com/icon?family=Material+Icons'); |