mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-08 11:48:26 -04:00
Make default theme light
Former-commit-id: 3fad8ed95e21d16d852a5937288ddea7b2afa498 [formerly 6d780227f0df20e87bf7039a0127afa6b9603a97] Former-commit-id: a60732cfc47d82675addf00c1a163b864fb98651
This commit is contained in:
parent
58ae3d4176
commit
2553826b55
@ -43,8 +43,8 @@ params['cssSource'] = getCookie('cssSource') || "auto"; //Set default to "auto",
|
||||
params['removePageMaxWidth'] = getCookie('removePageMaxWidth') != null ? getCookie('removePageMaxWidth') : "auto"; //Set default for removing max-width restriction on Wikimedia pages ("auto" = removed in desktop, not in mobile; true = always remove; false = never remove)
|
||||
params['openAllSections'] = getCookie('openAllSections') != null ? getCookie('openAllSections') : true; //Set default for opening all sections in ZIMs that have collapsible sections and headings ("auto" = let CSS decide according to screen width; true = always open until clicked by user; false = always closed until clicked by user)
|
||||
params['cssCache'] = getCookie('cssCache') != null ? getCookie('cssCache') : true; //Set default to true to use cached CSS, false to use Zim only
|
||||
params['cssTheme'] = getCookie('cssTheme') || 'auto'; //Set default to 'auto', 'light', 'dark' or 'invert' to use respective themes for articles
|
||||
params['cssUITheme'] = getCookie('cssUITheme') || 'auto'; //Set default to 'auto', 'light' or 'dark' to use respective themes for UI
|
||||
params['cssTheme'] = getCookie('cssTheme') || 'light'; //Set default to 'auto', 'light', 'dark' or 'invert' to use respective themes for articles
|
||||
params['cssUITheme'] = getCookie('cssUITheme') || 'light'; //Set default to 'auto', 'light' or 'dark' to use respective themes for UI
|
||||
params['imageDisplay'] = getCookie('imageDisplay') != null ? getCookie('imageDisplay') : true; //Set default to display images from Zim
|
||||
params['hideToolbar'] = getCookie('hideToolbar') != null ? getCookie('hideToolbar') : false; //Set default to hide the top toolbar on scroll
|
||||
params['rememberLastPage'] = getCookie('rememberLastPage') != null ? getCookie('rememberLastPage') : true; //Set default option to remember the last visited page between sessions
|
||||
|
Loading…
x
Reference in New Issue
Block a user