Add setting to adjust background brightness

This commit is contained in:
edenbun
2020-08-29 15:03:31 +01:00
parent d7e0091136
commit 088008165d
5 changed files with 43 additions and 6 deletions

View File

@@ -55,7 +55,8 @@ export default class SettingsFunctions {
}
static saveStuff() {
localStorage.setItem('blur', document.getElementById('blurRange').value); // this is better than inline onChange for performance
localStorage.setItem('blur', document.getElementById('blurRange').value);
localStorage.setItem('brightness', document.getElementById('brightnessRange').value); // this is better than inline onChange for performance
localStorage.setItem('greetingName', document.getElementById('greetingName').value);
localStorage.setItem('customBackground', document.getElementById('customBackground').value);
if (!document.getElementById('searchEngineInput').enabled === 'false') {