jekyll-theme-chirpy icon indicating copy to clipboard operation
jekyll-theme-chirpy copied to clipboard

Add primary color to variables_hook.scss

Open nukdokplex opened this issue 1 year ago • 5 comments

Checklist

Is your feature request related to a problem? Please describe

I can't easily change primary color of my website without overwriting files in colors folder.

Describe the solution you'd like

I think people would like it if they could just specify the primary color (links, buttons, etc) in variables_hook.scss and it would apply to light and dark themes. I think that using formulas one can calculate the shade of this color that will best suit a light or dark theme. I saw this in Bootstrap and other sass frameworks.

Describe alternatives you've considered

No response

Additional context

No response

nukdokplex avatar Nov 01 '23 05:11 nukdokplex

Sounds interesting. I don't have a succinct implementation at the moment, so if you have a solution, please share it.

I think that using formulas one can calculate the shade of this color that will best suit a light or dark theme.

What is the technique of calculating color by formula, looking for an explanation.

cotes2020 avatar Nov 05 '23 19:11 cotes2020

@cotes2020

What is the technique of calculating color by formula, looking for an explanation.

Here you can see examples how does it works.

nukdokplex avatar Nov 05 '23 19:11 nukdokplex

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 06 '23 00:12 github-actions[bot]

I think that I can try add this feature to project in my free time.

nukdokplex avatar Jan 30 '24 06:01 nukdokplex

This conversation has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 06 '24 00:07 github-actions[bot]