Design Tokens #385
Replies: 8 comments 10 replies
-
A discussion about the upcoming Design Tokens page on ux.redhat.com.
https://xd.adobe.com/view/96c3f58e-cd03-46af-861f-225224554ecc-c390/
I like the overall look and layout though
|————————| |
Beta Was this translation helpful? Give feedback.
-
Since this was opened, Red Hat Design Tokens first release is out. You can view them at https://red-hat-design-tokens.netlify.app/ |
Beta Was this translation helpful? Give feedback.
-
Should we be using
|
Beta Was this translation helpful? Give feedback.
-
How much nesting do you think will actually happen in components? Dev eXp at that point is probably the least of our worries, I think it's probably the small price for the A11y win. I think the other con (for dev exp anyways) might be that if you are using This ensures design but could result in a mobile view at larger screen sizes for people with adjusted font sizes larger than the default (16px). Sometimes this might not be ideal but in my naive opinion, not the worst, the mobile experience should be ideally as good as the desktop. But I wonder what @kelsS thinks about this as well. Do we have any user testing on this? |
Beta Was this translation helpful? Give feedback.
-
@bennypowers @heyMP Moving our discussion to here. Below is the unified footer demo with the new design token for font size. I am guessing the font size is rendering smaller in the demo vs. my XD spec because of the conversation above. Did you all settle on a fix for this weirdness yet? |
Beta Was this translation helpful? Give feedback.
-
@coreyvickery @marionnegp @bennypowers @ryanaltvater @zhawkins We are working toward building an updated library of utility classes for two use cases: The library will be used by Studio Developers to build the custom designs Studio Designers bring to the table, which, quoting Aaron Williamson, “definitely find use cases where off-standard sizing is necessary. We should generally lean on the standards but part of the purpose of the studio team is to break—or suggest necessary enhancement to—standards.” This is an update to what we’ve done for the last X years with webdms. The library will also be used in our enhancements to Layout Builder for FTS:Next Generation, where users can choose options for padding-top, padding-bottom, bg colors, etc, as well as build both standard and flexible (flexbox-based) layouts. Our interest is in having consistency in both use cases, as well as making sure that this library starts from the ground up being in sync with the design system by incorporating design tokens to help determine values. However, we are finding some issues for values that fit “in between” spacer as they’re currently defined. An example would be if a design called for a 40px spacer, there isn’t a token for that value, though it is an increment of the 8px base. Some additional feedback is that the naming convention for spacers as they’re currently defined requires some “cognitive overhead,” so to speak. Where a 4x value equal to 32px is simple mental math, the values as they’re currently mapped require memorization of the t-shirt sizes. Our hope is for consistency that accounts for the guardrails of the design system and the flexibility needed by Studio designers & others, without having to create code that diverges from rhds/tokens while they are still in their early stages. |
Beta Was this translation helpful? Give feedback.
-
@markcaron Do we need to create a separate meeting about this? |
Beta Was this translation helpful? Give feedback.
-
@bennypowers Seems like we might need to re-evaluate how we name some tokens? Perhaps a meeting is necessary to get everyone on the same page. |
Beta Was this translation helpful? Give feedback.
-
Use this discussion to chat about Design Tokens.
Beta Was this translation helpful? Give feedback.
All reactions