Personal-Website/readme.md
2022-07-10 17:24:25 -07:00

788 B

chuckdries.com

Build Status

My personal website. Built with

  • gatsby
  • tailwind
  • node-vibrant
  • react-helmet

and a totally from-scratch masonry gallery component that I will write a blog post about some day.

screenshot of website

I use node-vibrant in the gatsby OnCreateNode hook to pull colors from the images and store them in the gatsby node structure. I query them in the client, then assign CSS custom properties with react-helmet. In my tailwind config, I define custom colors that use those properties. This gets me classes like text-vibrant-light that change colors to vibe with the selected image