Switch Themes
Open
config.json:Navigate to the resource folder for the Dynamic Theme Switcher.
Open the
config.jsonfile in a text editor.
Edit the Theme Setting:
Set the
"theme"value to either"light"or"dark"depending on your preference.
{ "theme": "light" // or "dark" }Save Changes:
Save the
config.jsonfile after making the changes.
Restart Your Server:
Restart your FiveM server to apply the new theme.
Verify the Theme:
Join your FiveM server and check the ESX Legacy context menu to ensure the theme has been updated according to your
config.jsonsettings.
This simple change in config.json allows you to switch between light and dark themes based on your needs.
Last updated