Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow grabbing theme values with a decimal (#815)
This PR contains a fix for spacing theme values containing a decimal, like this: ```js tw`pl-[calc(20px + theme(spacing.2.5))]` // β β β β β β ({ "paddingLeft": "calc(20px + 0.625rem)" }); ``` Previously values like this would return an incorrect value. This made square brackets required to select these type of values: ```js tw`pl-[calc(20px + theme(spacing[2.5]))]` ``` Related #814
- Loading branch information