Extract statistics on used spaces / radii / shadows / borders / etc? #1849
Unanswered
sergeylukin
asked this question in
Q&A
Replies: 1 comment
-
I'd love to have a CLI for this, but right now I can offer a temporary solution. Import Alternatively, I’d try to hook into our |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm considering adding a space in the middle of my theme's spaces array (while my base space is 4 there is a jump between 16 and 32 which I initially thought would be OK however now I ended up needing 24 and 28), however in order to not break code that depends on >16 space token, I'd like to extract statistics on where it's used in order to refactor the code accordingly. Same would apply to any other theme tokens so my question is, how can I print a list of components (file/line number) that are using theme tokens like spaces / radii / shadows / etc?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions