0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Removed hardcoded accent color fallbacks (#1875)

refs TryGhost/Team#536

From 4.0, we ensure and require that accent colour is always set. This change removes hardcoded accent color fallbacks to avoid confusion as well as cause accidental fallback that is undesired.
This commit is contained in:
Rishabh Garg 2021-03-24 18:26:09 +05:30 committed by GitHub
parent 83d0ee89c6
commit 4148db6fd6

View file

@ -36,7 +36,7 @@ export default Controller.extend(ValidationEngine, {
signin: alias('model'),
accentColor: computed('config.accent_color', function () {
let color = this.get('config.accent_color') || '#15171A';
let color = this.get('config.accent_color');
return color;
}),