The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Rocket.Chat/server/startup/migrations/v069.js

86 lines
1.8 KiB

RocketChat.Migrations.add({
version: 69,
up() {
RocketChat.models.Settings.update({
'_id': 'theme-color-custom-scrollbar-color',
'value': 'rgba(255, 255, 255, 0.05)'
}, {
$set: {
'editor': 'expression',
'value': '@transparent-darker'
}
});
RocketChat.models.Settings.update({
'_id': 'theme-color-info-font-color',
'value': '#aaaaaa'
}, {
$set: {
'editor': 'expression',
'value': '@secondary-font-color'
}
});
RocketChat.models.Settings.update({
'_id': 'theme-color-link-font-color',
'value': '#008ce3'
}, {
$set: {
'editor': 'expression',
'value': '@primary-action-color'
}
});
RocketChat.models.Settings.update({
'_id': 'theme-color-status-away',
'value': '#fcb316'
}, {
$set: {
'editor': 'expression',
'value': '@pending-color'
}
});
RocketChat.models.Settings.update({
'_id': 'theme-color-status-busy',
'value': '#d30230'
}, {
$set: {
'editor': 'expression',
'value': '@error-color'
}
});
RocketChat.models.Settings.update({
'_id': 'theme-color-status-offline',
'value': 'rgba(150, 150, 150, 0.50)'
}, {
$set: {
'editor': 'expression',
'value': '@transparent-darker'
}
});
RocketChat.models.Settings.update({
'_id': 'theme-color-status-online',
'value': '#35ac19'
}, {
$set: {
'editor': 'expression',
'value': '@success-color'
}
});
RocketChat.models.Settings.update({
'_id': 'theme-color-tertiary-background-color',
'value': '#eaeaea'
}, {
$set: {
'editor': 'expression',
'value': '@component-color'
}
});
return RocketChat.models.Settings.update({
'_id': 'theme-color-tertiary-font-color',
'value': 'rgba(255, 255, 255, 0.6)'
}, {
$set: {
'editor': 'expression',
'value': '@transparent-lightest'
}
});
}
});