Most of the important party members were former anti-slavery members of the Whig Party and the Democratic Party . The party leadership consisted of former anti-slavery members of the Whig Party and the Democratic Party .