Skip to content

Roadmap #4

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions