Adrià Vilanova MartÃnez | a2f7951 | 2022-07-10 15:32:32 +0200 | [diff] [blame] | 1 | import {injectStylesheet} from '../common/contentScriptsUtils.js'; |
2 | import {isOptionEnabled} from '../common/optionsUtils.js'; | ||||
3 | |||||
4 | isOptionEnabled('uispacing').then(isUiSpacingEnabled => { | ||||
5 | if (!isUiSpacingEnabled) return; | ||||
6 | |||||
7 | injectStylesheet(chrome.runtime.getURL('css/ui_spacing/shared.css')); | ||||
8 | injectStylesheet(chrome.runtime.getURL('css/ui_spacing/twbasic.css')); | ||||
9 | }); |