The relative color function where you can take in a hex code and Out the other end that's I was just talking about too It doesn't work with variables, which is the bummer. The caveats really make it like unfortunately pretty useless. You can transform this but if you use a variable within the the relative color the whole thing breaks And I get why because it needs to do it statically But yeah, it's like well That's kind of the whole point of that syntax is to be able to Write things that change a thingThat change a thing.
In this Hasty Treat, Scott and Wes talk about what Lightning CSS is, how it works, and why you should consider using it in your projects.
Show Notes
Tweet us your tasty treats