ProjectEvergreen / www.greenwoodjs.dev

Documentation website for Greenwood
http://www.greenwoodjs.dev
2 stars 7 forks source link

Social Icons Tray component #63

Open thescientist13 opened 5 months ago

thescientist13 commented 5 months ago

Summary

Coming out of #27 / #60 , it seems like it would make sense to make a shared "social tray" icon that can accept a fill color and forward that the actual SVG icons underneath. With a default value, it should make it easy to reuse this component and all its links / styles in one place, ideally.

Screenshot 2024-06-24 at 1 15 13 PM Screenshot 2024-06-24 at 1 15 18 PM

Details

It would be nice to to have the fill color passed in a CSS variable, and I suppose the default fill color can be --color-secondary.

Using our styling guidelines, the social stray should only need to be a static Light DOM based component.

thescientist13 commented 3 weeks ago

After the latest changes in #124 , we should use the header styles as the source of truth.