Using the API to update your web interface's color scheme can be done easily and without having to restart any services or have any downtime. Some of these customizations can be done through the web interface of Files Advanced.
Installing CURL
Note: Make sure to download a version that supports SSL!
Creating a custom color scheme
curl -X PUT -F customization_settings[color_scheme_administration_css_file]=@<path_to_file> -F customization_settings[color_scheme_client_scss_file]=@<path_to_file> -u <user>:<password> https://<your_site>/api/v1/settings/customization -v
Note: The filenames have to use a specific naming syntax! color_scheme_<name_of_scheme>.css for the Administration console and web_client_<name_of_scheme>.scss for the Web client console. <name_of_scheme> is the name of your new scheme which will be displayed in the Files Advanced interface and it must be the same for both files.
The above command will:
Note: If you only wish to change one part of a color scheme, when entering the above command, you must use the new .css scheme for the changed part and the existing .css scheme for the part you do not want to change.
curl -X PUT -F customization_settings[color_scheme_administration_css_file]=@D:\WebUI\color_scheme_NewColor.css -F customization_settings[color_scheme_client_scss_file]=@D:\WebUI\web_client_NewColor.scss -u administrator:123456 https://myCompany.com/api/v1/settings/customization
curl -X PUT -F customization_settings[color_scheme_administration_css_file]=@D:\WebUI\color_scheme_NewColor.css -F customization_settings[color_scheme_client_scss_file]=@D:\WebUI\web_client_NewColor.scss -F customization_settings[color_scheme]=NewColor -u administrator:123456 https://myCompany.com/api/v1/settings/customization -v
Troubleshooting
Make sure that file names follow the proper syntax of color_scheme_<name_of_scheme>.css and web_client_<name_of_scheme>.scss
Remove any single-quotes ('') surrounding your address. If you need to use quotes, use double-quotes ("") instead. e.g. "https://myCompany.com/api/v1/settings/customization"
If you are using self-signed certificates or are running the commands using an IP address, you will need to add the -k flag at the end of the command, to ignore certificate errors.