update readme
This commit is contained in:
parent
4a2d1c7e0f
commit
e7b3f058ea
@ -6,10 +6,7 @@ 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.
|
||||
|
||||

|
||||
|
||||
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
|
Binary file not shown.
Before Width: | Height: | Size: 4.4 MiB |
Loading…
x
Reference in New Issue
Block a user