Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extracted all the colours to colour palette css #148

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

uderbashi
Copy link

What is in this PR?

In this Pull Request, I have extracted all the colours in the theme as variables in the assets/fresh/partials/_colors.scss file. I have also created a assets/fresh/partials/_colorpalette.scss file to house the old definitions of the colours.

Also, assets/fresh/partials/_*.scss files got their colours redefined as the new variables.

I also was annoyed that the main colour (orange) was called secondary, so I swapped the values of primary and secondary. I hope you don't mind.

Finally, I think I fixed a small HTML bug I found while working on the scss.

Why is this useful?

I wanted to customise the theme's colours fully. And I found the old definitions to be limiting. I know this does not address #89 fully as I don't know how to make the colours accessible from the config file, but this is the closest I can get to a proper customisation.

What can be done ideally?

If any of the maintainers or an interested contributor with Hugo experience exist, they can take the starting point I made and improve upon it, till it addresses #89 completely. If not, this can be merged directly, since I tried my best to stay faithful to the great design you made.

@StefMa StefMa force-pushed the master branch 11 times, most recently from 7c769b3 to 1907474 Compare February 28, 2023 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant