bowman2001 / perplex

A Hugo theme to publish technical content (docs, news, blog, articles)
https://perplex.desider.at
Apache License 2.0
27 stars 11 forks source link

Make blog and news title gradient selectable #143

Closed danielfdickinson closed 8 months ago

danielfdickinson commented 8 months ago

When using custom colour schemes one might not want the default gradients for the news and blog titles, so make these each a param (site first, then page, then current default)

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

bowman2001 commented 8 months ago

Now that we can add a custom color scheme, it should also affect the gradients behind some titles.

To override or replace these title modifier classes with other hard-coded gradients, as you proposed, would be one way.

But because these changes clearly belong to the color scheme, I would like to add them there and change the CSS structure a little. The gradients will become CSS variables, which are also defined in the color scheme. This will take a little time.

danielfdickinson commented 8 months ago

Makes sense to me. Thank you for working on it.