jantimon / next-yak

a streamlined CSS-in-JS solution tailor-made for Next.js, seamlessly combining the expressive power of styled-components syntax with efficient build-time extraction and minimal runtime footprint, ensuring optimal performance and easy integration with existing atomic CSS frameworks like Tailwind CSS
https://yak.js.org
118 stars 4 forks source link

Feature/better mixins #149

Closed Mad-Kat closed 1 month ago

Mad-Kat commented 2 months ago

Closes #146

shot-KENUsk9L@2x

jantimon commented 2 months ago

we should probably make sure that top level css mixing (e.g. const foo = css`..`;

are only defined in const statements and/or think about object definitions like

const typography = {
  h1: css`..`
}
codspeed-hq[bot] commented 2 months ago

CodSpeed Performance Report

Merging #149 will not alter performance

Comparing feature/better-mixins (3c5f2d7) with main (4a7ff24)

Summary

✅ 2 untouched benchmarks