The Enlightment inspired a philosophical renewal thanks to which the ideals of liberty and equality triumphed to a certain extent.
Enlightment implies the end of darkness, the darkness, according to Enlightment philosophers, was embodied by the Middle Ages. Instead of praising Medieval ideas, they took their inspiration from ancient times, mostly from ancient Rome and ancient Greece.
John Locke was the inspirator of the English Revolution and the American Revolution. Diderot, Montesquieu, Voltaire and Rousseau were the main inspirators of the French Revolution.
The common point between all the Enlightment thinkers wa their resentment towards the Absolute Monarchy, they defended a different type of regime. Some advocated egalitarianism like Rousseau, ohers like Locke and Voltaire favored private property.
Their rejection of tyranny is what fuelled the ideological dimension of those revolutions.