Closed tstephen closed 2 years ago
Thanks, @tstephen I think this is fine. I've asked @regisphilibert to have a quick look.
Hi @tstephen and thank you for this.
The purpose of the post_content_classes
parameter is to customize the content of a post. By content we mean the body, not the title or the time. This current implementation applies the given classes to all those elements.
In the future we'll think of a better way to customize various fonts of the site, but I feel like this is not the right approach.
Now as for the introduction of secondary_text_color
, I feel like we should discuss this on a ticket first in order poll the need for a second color and spec some directions for it.
I have replaced hard-coded fonts and colors with existing params and in one case introduced a
secondary_text_color
to allow things likeRECENT POSTS
to be differentiated from main headings.Hope you find this acceptable.