Add conditional build USE_SYSTEM_FONTS
This commit is contained in:
parent
4e225a8ae3
commit
226a5bbcd8
4 changed files with 30 additions and 23 deletions
|
@ -92,9 +92,13 @@ function onGlobalizeInit() {
|
|||
if (browser.tv && !browser.android) {
|
||||
console.debug('using system fonts with explicit sizes');
|
||||
import('./styles/fonts.sized.scss');
|
||||
} else if (__USE_SYSTEM_FONTS__) { // eslint-disable-line no-undef
|
||||
console.debug('using system fonts');
|
||||
import('./styles/fonts.scss');
|
||||
} else {
|
||||
console.debug('using default fonts');
|
||||
import('./styles/fonts.scss');
|
||||
import('./styles/fonts.noto.scss');
|
||||
}
|
||||
|
||||
import('./styles/librarybrowser.scss');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue