mirror of https://github.com/keeweb/keeweb.git
fix #132: theme color for mobile chrome
This commit is contained in:
parent
29677458a7
commit
3599c72db4
|
@ -5,10 +5,11 @@
|
|||
<title>KeeWeb</title>
|
||||
<meta name="signature" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="theme-color" content="#6386EC">
|
||||
<link rel="shortcut icon" href="favicon.png?__inline=true" />
|
||||
<link rel="apple-touch-icon" sizes="192x192" href="touchicon.png?__inline=true">
|
||||
<link rel="stylesheet" href="css/main.css?__inline=true" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<script src="js/vendor.js?__inline=true"></script>
|
||||
<script src="js/app.js?__inline=true"></script>
|
||||
</head>
|
||||
|
|
|
@ -8,6 +8,10 @@ var ThemeChanger = {
|
|||
}
|
||||
});
|
||||
document.body.classList.add('th-' + theme);
|
||||
var metaThemeColor = document.head.querySelector('meta[name=theme-color]');
|
||||
if (metaThemeColor) {
|
||||
metaThemeColor.content = window.getComputedStyle(document.body).backgroundColor;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ Storage providers, one-time passwords, usability improvements
|
|||
`+` show error details on open
|
||||
`+` select dropbox folder
|
||||
`+` building deb
|
||||
`+` theme color for mobile chrome
|
||||
`-` fix capslock indicator
|
||||
`-` fix file settings input behavior
|
||||
`-` fix favicon download
|
||||
|
|
Loading…
Reference in New Issue