aimementoring / blueprint

This project defines some standards for all AIME platforms.
5 stars 0 forks source link

Cleaning Titles CSS & utilising composes #218

Closed lulen11 closed 4 years ago

lulen11 commented 4 years ago

Hey @rin and @kbardi I've just slightly updated the styles on the Titles component to make use of composes and remove the extra CSS we no longer need for the realigned types.

I also removed the extra type propTypes that I don't think we're using now that we're using the align propType instead.

AND set the default h1Title to be aligned left by default. I think that makes more sense as that's the default behaviour we would expect when adding in the regular title.