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

Cascading T-Shirt Sizes (DX) #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on May 3, 2022

  1. Cascading T-Shirt Sizes

    Hi George!
    
    My name is justgu.us and I'm an indie dev that loves to create systematical naming conventions that spark the narrative of code in a more semantical way.
    
    I implemented my model for cascading t-shirt sizes on your spaceSteps and spacePairs naming convention, that used to be -2xl etc. It might look fresh at first, but you will soon spot the cascading pattern of the sizing I use; XX, XS, SS, SM, MM, ML, LL, LD, DD, ZZ
    
    It's a way to make fluid scales have a better relationship to each other as tokens. I believe that will improve the user experience of end-users to create their own customPairs like I did, plus it makes for a programmatical pattern to step up or down the scales & sizes if you wish to take it further.
    
    As a bonus, it cleans up the tokens quite nicely and makes them all stick to using the same amount of characters per token.
    
    I added one step that was missing in the current spacePairs; the use of 3XL (-ZZ) as a pair at the end.
    
    Thanks for reviewing and take care!
    alolalo committed May 3, 2022
    Configuration menu
    Copy the full SHA
    375918b View commit details
    Browse the repository at this point in the history