-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Hallo everyone. I'm fairly new here and it goes without saying that I haven't read everything, so please bear with me.
Noticing the change not to allow basic JSON types in the spec anymore, I read up on the topic.
There were mentions that some types might not have obvious applications in UI design. Working on a design system currently, I just wanted to check in with a few thoughts - and I hope that opening an issue for that is ok. I'm not arguing to reopen that "JSON types"-discussion, I'm just wondering if there could be possibilities, like DTCG-specific types, for those appllications in the future.
Boolean:
I do think there are applications in UI design for a boolean type. E.g. the visibility of an element when defining the appearance of responsive components. Seeing what Figma is doing with modes, this becomes especially apparent.
String:
Same goes for string. It could be used to centrally define certain default captions or labels, placeholder texts, identifiers for modes, prefixes or other strings.
Number:
I know it's already been included for several good reasons, and here's one more: We use it to define the number of columns in our grid definitions.
I guess I'm wondering if boolean and string could still be included, maybe as a spec-specific type. I think these two are too important and basic to relegate them to proprietary extensions, especially since Figma now uses them too.
Also, P.S.: Since text-alignment was brought up, I was wondering about text-decoration and text-decoration-thickness.
Thank you all for the great work you're doing here - so many familiar names too. :)