aesthetic-suite / framework

🎨 Aesthetic is an end-to-end multi-platform styling framework that offers a strict design system, robust atomic CSS-in-JS engine, a structural style sheet specification (SSS), a low-runtime solution, and much more!
https://aestheticsuite.dev
MIT License
203 stars 5 forks source link

internal: Rewrite entire style rendering package. #129

Closed milesj closed 3 years ago

milesj commented 4 years ago

Summary

The performance was far less than I expected. I believe the assume is the amount of iterations and object creations happening, and the class usage/inheritance.

This new approach is purely functions and instead of creating many objects, it builds CSS styles using string concatenation.

Screenshots

Checklist