Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #4

Open
10 tasks done
silkstudio opened this issue Dec 14, 2021 · 0 comments
Open
10 tasks done

Roadmap #4

silkstudio opened this issue Dec 14, 2021 · 0 comments

Comments

@silkstudio
Copy link
Collaborator

silkstudio commented Dec 14, 2021

Here's the roadmap for how the library is planning to progress. This issue will act as a rolling thread to keep track of where things are at.

 

Phase 1 - Initial MVP

  • Create basic working product which allows for use of the librarys functions to pass style props, which are type-checked against css-type.

Phase 2

  • Add a scale prop to the styleParser function that can be used as the first-port-of-call for emit suggestions.
  • Create a more strictly typed theme based on whether a property can have an object, array or both assigned to it
  • Make a descision on rules for how to parse different types of style values
  • Implement a unitless function to add units to plain numbers (but only in certain circumstances based on the above)
  • Implement a test suite to check everything is working

Phase 3

  • Add intellisense through ts to enable suggestions for props based on theme and scale
  • Add transformers to select props to allow 'power-user' syntax (e.g. gridRow, gridCol, margin, padding, width, height)
  • Add aliases (with type support) to common props allowing cleaner syntax

 

Longer term

  • Create compose function for improved performance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants