fix os windows top border color

This commit is contained in:
Kyle Spearrin 2018-05-30 15:39:20 -04:00
parent 829d0f22cc
commit f20838c17e
2 changed files with 9 additions and 10 deletions

View File

@ -119,10 +119,11 @@ export function initFactory(): Function {
const htmlEl = window.document.documentElement;
htmlEl.classList.add('os_' + platformUtilsService.getDeviceString());
htmlEl.classList.add('locale_' + i18nService.translationLocale);
const theme = await storageService.get<string>(ConstantsService.themeKey);
if (theme != null) {
htmlEl.classList.add('theme_' + theme);
let theme = await storageService.get<string>(ConstantsService.themeKey);
if (theme == null) {
theme = 'light';
}
htmlEl.classList.add('theme_' + theme);
stateService.save(ConstantsService.disableFaviconKey,
await storageService.get<boolean>(ConstantsService.disableFaviconKey));

View File

@ -1,11 +1,9 @@
@import "variables.scss";
html.os_windows {
html.os_windows {
body {
border-top: 1px solid #000000;
border-top: 1px solid #dddddd;
}
@include themify($themes) {
border-top-color: themed('borderColorDark');
}
&.theme_dark body {
border-top-color: #000000;
}
}