Thunderstorms swept across Sydney, lighting up the sky in luminous shades of purple, as the Bureau of Meteorology issued a severe storm warning for the Sydney Basin.