Skip to content

Commit f805d0f

Browse files
guguclaude
andcommitted
Fix primaryPalette fallback color to charcoal (#212121) in connections service
The runtime updateColors calls were overriding primaryPalette with blue (#2563eb) instead of the intended charcoal (#212121). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4d6f3e3 commit f805d0f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/src/app/services/connections.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,13 @@ export class ConnectionsService {
163163
});
164164
} else {
165165
this.isCustomAccentedColor = false;
166-
this._themeService.updateColors({ palettes: { primaryPalette: '#2563eb', accentedPalette: '#2563eb' } });
166+
this._themeService.updateColors({ palettes: { primaryPalette: '#212121', accentedPalette: '#2563eb' } });
167167
}
168168
});
169169
} else {
170170
this.connection = { ...this.connectionInitialState };
171171
this.isCustomAccentedColor = false;
172-
this._themeService.updateColors({ palettes: { primaryPalette: '#2563eb', accentedPalette: '#2563eb' } });
172+
this._themeService.updateColors({ palettes: { primaryPalette: '#212121', accentedPalette: '#2563eb' } });
173173
}
174174

175175
console.log('this.defaultDisplayTable');
@@ -275,7 +275,7 @@ export class ConnectionsService {
275275
});
276276
} else {
277277
this.defaultDisplayTable = null;
278-
this._themeService.updateColors({ palettes: { primaryPalette: '#2563eb', accentedPalette: '#2563eb' } });
278+
this._themeService.updateColors({ palettes: { primaryPalette: '#212121', accentedPalette: '#2563eb' } });
279279
}
280280
return { ...res, connection };
281281
}),

0 commit comments

Comments
 (0)