Your fancy white electronic brick of consumer electronics started off white, but after some time it yellowed and became brittle. This shouldn’t have happened; plastic is supposed to last forever. It turns out that plastic enclosures are vulnerable to the same things as skin, and the effects are similar. When they are stared at by the sun, the damage is done even though it might not be visible to you for quite some time.
Read the full article at Hackaday: Yellowing: The Plastic Equivalent of a Sunburn