[styles] moving from classes to namedtuples for styles

--HG--
branch : immutable-styles