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. |
Adrià Vilanova Martínez | c78c3ad | 2024-05-18 00:35:51 +0200 | [diff] [blame] | 5 | import '../features/workflows/core/communityConsole/components/index.js'; |
Adrià Vilanova Martínez | 2d9be8d | 2022-12-28 00:50:14 +0100 | [diff] [blame] | 6 | import '../contentScripts/communityConsole/threadToolbar/components/index.js'; |
Adrià Vilanova Martínez | 3c13a76 | 2024-11-09 23:03:32 +0100 | [diff] [blame] | 7 | import '../features/flattenThreads/core/components/index.js'; |
Adrià Vilanova Martínez | 5f5b3e0 | 2023-07-23 00:08:17 +0200 | [diff] [blame] | 8 | import '../contentScripts/communityConsole/updateHandler/banner/components/index.js'; |
Adrià Vilanova Martínez | 2d9be8d | 2022-12-28 00:50:14 +0100 | [diff] [blame] | 9 | |
Adrià Vilanova Martínez | d7951b2 | 2024-05-25 22:13:32 +0200 | [diff] [blame] | 10 | import {injectStylesheet} from '../common/contentScriptsUtils'; |
Adrià Vilanova Martínez | 2d9be8d | 2022-12-28 00:50:14 +0100 | [diff] [blame] | 11 | |
Renovate bot | aa5fb8e | 2024-02-25 18:10:09 +0000 | [diff] [blame] | 12 | // Also, we import Material Symbols Outlined since the Community Console uses |
| 13 | // "Google Material Icons" instead. This is necessary for the MD3 components. |
| 14 | injectStylesheet('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0..1'); |