mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
fix os windows top border color
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user