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

87 lines
1.8 KiB

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