A theory for viral capsid assembly around electrostatic cores.