AdvisorySG / ghost-advisory-theme

Custom-built Ghost theme for Advisory SG.
MIT License
6 stars 12 forks source link

Migrate pages to use `prose` class in Tailwind typography plugin #309

Open wei2912 opened 3 years ago

wei2912 commented 3 years ago

A couple of pages on the website have shifted to use the prose class from https://github.com/tailwindlabs/tailwindcss-typography; however, many of our pages are still styled directly, so the typography is inconsistent from page to page.

Ideally, we would shift all pages to the prose class in order to have consistent styling that can be easily modified by applying additional styles onto prose. However, historically this has caused a couple of conflicts with some pages, e.g. see discussions at https://github.com/AdvisorySG/ghost-advisory-theme/pull/249, https://github.com/AdvisorySG/ghost-advisory-theme/pull/294.

wei2912 commented 3 years ago

This issue is pretty open (since I'm not certain if doing this is an advisable move), will leave it to whoever's working on this to research and see if it's a good idea, and what sort of work needs to be done to carry this out.