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

fix: removed data from config and add in data #75

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aayush105
Copy link
Collaborator

@aayush105 aayush105 commented Oct 11, 2024

This PR resolves #74
All the tailwind color are moved to the data/tailwind-colors.yml file and also updated all the html files respectively with the value from site.bg-colors -> site.data.tailwind-colors.bg-colors .

Copy link

netlify bot commented Oct 11, 2024

Deploy Preview for dainty-scone-61e301 ready!

Name Link
🔨 Latest commit 8855010
🔍 Latest deploy log https://app.netlify.com/sites/dainty-scone-61e301/deploys/6709068dc296be00092c2504
😎 Deploy Preview https://deploy-preview-75--dainty-scone-61e301.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@rpandox rpandox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good To Me

Copy link
Contributor

@prabhavpokharel prabhavpokharel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Copy link
Contributor

@BISHALTWR BISHALTWR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ... must have been a tedious task

Copy link
Contributor

@gaurovgiri gaurovgiri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we merge this PR later? Also I have some suggestions:

  • rename tailwind-colors to colors
  • after that, rather than using {{ site.data.colors.bg-colors.___ }}, we can assign a variable eg. {% assign bg-colors = site.data.colors.bg-colors %} then just use {{ bg-colors.orange }}. This variable will be assigned in header.html which ensures consistency across layouts.

@rpandox
Copy link
Collaborator

rpandox commented Oct 25, 2024

@aayush105
there are some conflicts in this PR can you check it

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.

Keeping data in _config.yml is haunting me
5 participants