Skip to content

Instantly share code, notes, and snippets.

@leafac
Created May 14, 2024 15:14
Show Gist options
  • Save leafac/411549ae042c39615e95c30ba3136c6c to your computer and use it in GitHub Desktop.
Save leafac/411549ae042c39615e95c30ba3136c6c to your computer and use it in GitHub Desktop.
  • Interpolation
    • What I think of as interpolation many libraries call “dynamic” properties/styles/etc.
    • Astroturf
      • Allows two types of interpolation:
        • Values, using CSS variables.
        • Blocks, using extra classes.
          • Doesn’t seem to support nesting, because that requires you to parse the CSS & extract the classes nested inside.
    • vanilla-extract
      • Doesn’t seem to allow for interpolation.
    • Linaria
      • Only interpolation of values, using CSS variables.
    • Compiled
      • No interpolation at all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment