jbcima / chakra-ui-design-tokens

1 stars 2 forks source link

Feature/dimension tokens #2

Open keeganedwin opened 1 year ago

keeganedwin commented 1 year ago

What is this change?

  1. Sizing token group has been added within the dimension type. The value of the tokens are referencing the base token value '2', using it as the multiplier across the sizing scale.
  2. Spacing token group has been added within the dimension type. The naming convention of the group follows the Chakra UI Docs for spacing. The value of the tokens are referencing the base token '2', using it as the multiplier across the scale.

What does it fix? The dimension type allows for central control over spacing and sizing tokens respectively; also allowing for more flexibility across the system.

Is this a bug fix or a feature? Does it break any existing functionality or force me to update to a new version? This is a feature, and does no break any existing functionality, nor requires an update to a new version.

How has it been tested? Have applied the different dimensions on frames.