Graupl / graupl

The Graupl mono-repo.
1 stars 0 forks source link

Feat: Use @property declarations instead of custom prop fallbacks #78

Open NickDJM opened 1 month ago

NickDJM commented 1 month ago

Summary

Property declarations for all custom props would make following the trail of variables used way easier.

The only hold up is Firefox doesn't support the @property CSS syntax. Once it does, we should swap.

Solution

https://developer.mozilla.org/en-US/docs/Web/CSS/@property

Additional context

Requires Firefox support before implementation.