====================================
 How to LOCK Light Theme in Firefox
====================================

The method involves locking down the about:config setting using AutoConfig, to prevent the browser automatically switching back to using a Dark theme. This otherwise happens if opening a new window, where the setting reverts back to default.

See my video for a visual overview of how this works:
https://youtu.be/NungW2RfWAg

Official info on AutoConfig:
https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig


=======
 SETUP
=======

1) Close Firefox completely.


2) Copy autoconfig.js into:
   C:\Program Files\Mozilla Firefox\defaults\pref\

This file is needed to tell the browser to load the custom configuration.


3) Copy firefox.cfg into:
   C:\Program Files\Mozilla Firefox

Inside this file it contains the rules to lock down the following two settings:

browser.theme.content-theme = 1
browser.theme.toolbar-theme = 1


4) Open Firefox again.


5) Observe that the Light theme for UI panels is now used.


Tested on Firefox 96.0.3
January 2022

-CB
