@ApplePieGiraffe
Posted
Hey, again, Anna (Leigh)! π
This one's looking great, as well (and as usual)! π
I'm not sure what to do with this design for extra-large desktop screens, either. What you did for this solution seems pretty reasonable to me. π
I think passing a prop to determine the color of the underlined link component is straightforward and easy. Only thing is you probably don't need the CSS variables inside those classes since the color value is only used for one CSS property, but it doesn't really matter, really. π
It's been a while since I've dabbled in Svelte, so I'm afraid I can't offer too much help with disabling those transitions off of the top of my head (I'm also a little short on time, at the moment). π
But I'll say everything's looking good! π
Keep coding (and happy coding, too)! π
Marked as helpful
@brasspetals
Posted
@ApplePieGiraffe I agree the prop + local variable is a bit overkill. Could just use a simple class to assign property. I just really wanted to have a reactive CSS variable, and that's the closest I could get. π
Oh no! π± What am I going to do without my Svelte guru?! Does that mean...I'm becoming the Svelte guru? π€
Thanks for carving out some time to look at my solution! Greatly appreciated, as always. You keep happy coding too! π