The Shabbat lights do not have to be candles, but they certainly should be whenever possible. Using an electric light as shabbat candles should only be done where an open flame is not possible, such as when in the hospital.