chrisrhymes / bulma-clean-theme

A clean and modern Jekyll theme based on Bulma
http://www.csrhymes.com/bulma-clean-theme/
MIT License
388 stars 492 forks source link

Color for the current page number link on the pagination page don't reflect changes in $primary #124

Closed ebjornset closed 2 years ago

ebjornset commented 2 years ago

I changed the colors by changing $primary as described in Setting the Primary Colour. Everything looks fine, except the current page number link on the pagination page. From my limited testing it looks like this link's color is controlled by the $link variable. I tried to change this to follow $primary, but that made all links inside the normal text very hard to see. Would it make more sense to style this like the "Read more" link inside the post? Another thing to consider is if this link should be disabled, since it's not navigating anywhere from the users perspective?

image

chrisrhymes commented 2 years ago

Hi @ebjornset, bulma has its own pagination variables that you can override. Maybe start with the $pagination-active-color and then see what else you need to override.

https://bulma.io/documentation/components/pagination/#variables

ebjornset commented 2 years ago

Hi @chrisrhymes, thanks for the quick reply. Using $pagination-current-background-color, e.g. $pagination-current-background-color : hsl(0, 0%, 21%); did the trick. Issue solved!

image