commit
4e395d6fc2
@ -1,12 +0,0 @@ |
||||
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" } } |
||||
RocketChat.models.Settings.update { "_id": "theme-color-tertiary-font-color", "value": "rgba(255, 255, 255, 0.6)" }, { $set: { "editor": "expression", "value": "@transparent-lightest" } } |
||||
@ -0,0 +1,87 @@ |
||||
RocketChat.Migrations.add({ |
||||
version: 69, |
||||
up: function() { |
||||
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' |
||||
} |
||||
}); |
||||
} |
||||
}); |
||||
|
||||
Loading…
Reference in new issue