:description="t('theming', 'Theming makes it possible to easily customize the look and feel of your instance and supported clients. This will be visible for all users.')"
<em>{{t('theming','Install the ImageMagick PHP extension with support for SVG images to automatically generate favicons based on the uploaded logo and color.')}}</em>
defaultValue:t('theming','a safe home for all your data'),
type:'text',
displayName:t('theming','Slogan'),
placeholder:t('theming','Slogan'),
maxlength:500,
},
]
constcolorPickerField={
name:'color',
value:color,
defaultValue:'#0082c9',
displayName:t('theming','Color'),
}
constfileInputFields=[
{
name:'logo',
mimeName:'logoMime',
mimeValue:logoMime,
defaultMimeValue:'',
displayName:t('theming','Logo'),
ariaLabel:t('theming','Upload new logo'),
},
{
name:'background',
mimeName:'backgroundMime',
mimeValue:backgroundMime,
defaultMimeValue:'',
displayName:t('theming','Background and login image'),
ariaLabel:t('theming','Upload new background and login image'),
},
]
constadvancedTextFields=[
{
name:'imprintUrl',
value:legalNoticeUrl,
defaultValue:'',
type:'url',
displayName:t('theming','Legal notice link'),
placeholder:'https://…',
maxlength:500,
},
{
name:'privacyUrl',
value:privacyPolicyUrl,
defaultValue:'',
type:'url',
displayName:t('theming','Privacy policy link'),
placeholder:'https://…',
maxlength:500,
},
]
constadvancedFileInputFields=[
{
name:'logoheader',
mimeName:'logoheaderMime',
mimeValue:logoheaderMime,
defaultMimeValue:'',
displayName:t('theming','Header logo'),
ariaLabel:t('theming','Upload new header logo'),
},
{
name:'favicon',
mimeName:'faviconMime',
mimeValue:faviconMime,
defaultMimeValue:'',
displayName:t('theming','Favicon'),
ariaLabel:t('theming','Upload new favicon'),
},
]
constuserThemingField={
name:'disable-user-theming',
value:userThemingDisabled,
defaultValue:false,
displayName:t('theming','User settings'),
label:t('theming','Disable user theming'),
description:t('theming','Although you can select and customize your instance, users can change their background and colors. If you want to enforce your customization, you can toggle this on.'),