Appearance settings via GitLab Rails Console

Is it possible to configure the appearance settings via GitLab Rails Console? I do not see corresponding settings in ApplicationSetting.last.

Is the Appearance API the only way to configure the appearance settings programmatically?