(head)
| 75 | } |
| 76 | |
| 77 | export function importAssets(head) { |
| 78 | api.storage.injectCssResource( |
| 79 | '', |
| 80 | head, |
| 81 | ` |
| 82 | /* fallback */ |
| 83 | @font-face { |
| 84 | font-family: 'Material Icons'; |
| 85 | font-style: normal; |
| 86 | font-weight: 400; |
| 87 | src: url(${GM_getResourceURL('materialFont.woff2')}) format('woff2'); |
| 88 | } |
| 89 | |
| 90 | .material-icons { |
| 91 | font-family: 'Material Icons'; |
| 92 | font-weight: normal; |
| 93 | font-style: normal; |
| 94 | font-size: 24px; |
| 95 | line-height: 1; |
| 96 | letter-spacing: normal; |
| 97 | text-transform: none; |
| 98 | display: inline-block; |
| 99 | white-space: nowrap; |
| 100 | word-wrap: normal; |
| 101 | direction: ltr; |
| 102 | -webkit-font-feature-settings: 'liga'; |
| 103 | -webkit-font-smoothing: antialiased; |
| 104 | } |
| 105 | `, |
| 106 | ); |
| 107 | api.storage.injectCssResource('montserrat.css', head); |
| 108 | } |
no test coverage detected