-
thorsolutions
Hi there.
The design tokens are a very welcomed addition to GenerateBlocks, great work!It would be amazing if there was a way to import the variables from theme.json, which are already “tokens”, to GenerateBlocks tokens. Maybe into a custom category, reserved for theme.json, as read-only tokens.
Is there a way to do this? If not, are you planning on adding such functionality or something similar in the near future?
Thanks!!
-
Alvind
Hi there,
Glad to hear you like the design tokens!
There isn’t a way to import
theme.jsonpresets as tokens at the moment, and there’s no read-only token type either. Could you post it as a feature request at https://feedback.generatepress.com/ so our team can consider it?For colors, the
theme.jsonpalette is already available in the GenerateBlocks color picker under the “Theme” group, so you can use those without creating tokens. -
thorsolutions
Hi there, and thanks for the quick reply!
It would be great if spacings and font sizes behave like the colors.
I’ll add a feature request.
-
Alvind
Sure, no problem! 🙂
- You must be logged in to reply to this topic.